|
9 months ago | |
---|---|---|
pyfit | 9 months ago | |
.gitignore | 9 months ago | |
LICENSE | 9 months ago | |
README.md | 9 months ago |
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).
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.
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.