myfitnesspal-to-sqlite
Save data from MyFitnessPal to a SQLite database.
Installation
Install this tool using pip:
$ pip install myfitnesspal-to-sqlite
Authentication
This tool relies on python-myfitnesspal, which allows authentication via the system keyring.
Install python-myfitnesspal using pip:
$ pip install myfitnesspal
Store your MyFitnessPal password in the system keyring:
$ myfitnesspal store_password my_user
Note that all commands assume that your password is stored in the system keyring.
Fetching diary entries
The diary command retrieves food, exercise, goal and measurement entries for a given user and date.
$ myfitnesspal-to-sqlite diary myfitnesspal.db my_user 2021-07-14
Development
To contribute to this tool, first checkout the code. Then create a new virtual environment:
cd myfitnesspal-to-sqlite
python -mvenv venv
source venv/bin/activate
Or if you are using pipenv:
pipenv shell
Now install the dependencies and tests:
pip install -e '.[test]'
To run the tests:
pytest
Metadata
Release files for myfitnesspal-to-sqlite 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| myfitnesspal-to-sqlite-0.2.2.tar.gz | 9.0 kB | Without provenance | Details for myfitnesspal-to-sqlite-0.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| myfitnesspal_to_sqlite-0.2.2-py3-none-any.whl | Python 3 | none | any | Details for myfitnesspal_to_sqlite-0.2.2-py3-none-any.whl |
Total release size: 18.8 kB
Release files / myfitnesspal-to-sqlite-0.2.2.tar.gz
| Download URL | myfitnesspal-to-sqlite-0.2.2.tar.gz |
|---|---|
| Size | 9.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8939b69271a041d1a544cf15c3e8cb96e5d226e2154ab444525fea45167af55d
|
|
BLAKE2b-256 checksum How to use checksums |
feff3e997f166b5cdb9a81e41c1701b0221b8a4e74284cdb47023025d9bc05cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6
|
Release files / myfitnesspal_to_sqlite-0.2.2-py3-none-any.whl
| Download URL | myfitnesspal_to_sqlite-0.2.2-py3-none-any.whl |
|---|---|
| Size | 9.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bd5fe723bd67764dd9b6f92be7e7e772734d4747a7ee30afd768d931e0d86d6a
|
|
BLAKE2b-256 checksum How to use checksums |
8926943fc4337a9f71521830f9ce30c1cdeaa8ccb6c8d2014d73f16d0eb3c3f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6
|
Security for myfitnesspal-to-sqlite 0.2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.