- Python 100%
| pyfit | Fixed bug that prevented the user from adding weight readings. | |
| .gitignore | Initial commit | |
| LICENSE | Initial commit | |
| README.md | Updated README.md | |
PyFit
PyFit is an open-source fitness tracker prototype written in Python with a GTK interface, currently working on Linux on the GNOME desktop environment. The data can be either inputted by the user or imported from a database generated by the Gadgetbridge gadget companion app for Android (only Mi Bands are working so far).
Getting started
There is not a packaged version available yet. In order to try out the application you first have to install the necessary python packages: PyGObject and notify2.
For example, for Ubuntu users it should suffice to execute the following.
sudo apt install python3-gi python3-gi-cairo gir1.2-gtk-3.0
pip3 install notify2
Check the links below for installation instructions for other distributions.
- PyGObject - https://pygobject.readthedocs.io/en/latest/getting_started.html
- notify2 - https://pypi.org/project/notify2/
Once this is done, just clone the repository and run the app.
git clone https://codeberg.org/jdom/PyFit.git
cd PyFit/pyfit
python3 -m app
The application stores its data in the directory ~/.config/PyFit. A sqlite3 database is used for the fitness data and a json file for the settings. Make frequent backups of the database file ~/.config/PyFit/database.db if you intend to use this application.