- Keep track of the training
- Fingerboard
- Plank
- Push up
- Pull up
- Progress reports
- per exercise
- per training plan
- how often
- Save a training plan
- Group plans to a training program
- Rate a training (per exercise)
- Do a training (timers)
- Reminder (calendar) -> web application
- sqlalchemy: core or orm, define tables in python -> use 2.0 syntax (introduced in v1.4.0)
- official tutorial
- table definitions separately from orm -> better separation
- table definitions within separately -> full object with all attributes
- alembic for db migrations
- pyqt
- tutorial designer tutorial sql
- sql module (try with sqlalchemy first, some tutorials say, qtsql integrates better with the ui)
- create the ui with the designer
- generate classes with
pyuic5
and resources withpyrcc5
pyuic5 -o ui/main_window_ui.py ui/main_window.ui
- application in main.py with all signals, etc.
# Resources
pyrcc5 -o ui/resources_rc.py ui/resources/resources.qrc
# Main window
pyuic5 --from-imports --output ui/main_window_ui.py ui/main_window.ui
# Dialogs
pyuic5 -o ui/training_program_ui.py ui/training_program.ui
pyuic5 -o ui/training_plan_ui.py ui/training_plan.ui
Configured int tox.ini
and run with tox
tox -e lint
runs only the linter environment.
Alternative: flake8 speck_weg
Maybe: Build with make?