Skip to content

hochstibe/fingertraining

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fingertraining

Goals

  • Keep track of the training
    • Fingerboard
    • Plank
    • Push up
    • Pull up
  • Progress reports
    • per exercise
    • per training plan
    • how often

Activities

  • Save a training plan
  • Group plans to a training program
  • Rate a training (per exercise)
  • Do a training (timers)
  • Reminder (calendar) -> web application

Libraries

  • 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 with pyrcc5 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

Lint / Test / Build

Configured int tox.ini and run with tox

Linter: flake8

tox -e lint runs only the linter environment. Alternative: flake8 speck_weg

Maybe: Build with make?

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published