Skip to main content

PyPI PyPI - License Documentation Tests Run on Ubuntu Python Versions Tests Run on Macos Python Versions Tests Run on Windows Python Versions Github Repo

fitbit-downloader

Overview

A CLI and Python tool for downloading Fitbit data

Getting Started

Install fitbit-downloader:

pip install fitbit-downloader

A simple example:

import fitbit_downloader

# Do something with fitbit_downloader

See a more in-depth tutorial here.

Development Status

This project is currently in early-stage development. There may be breaking changes often. While the major version is 0, minor version upgrades will often have breaking changes.

Developing

First, you need a couple global dependencies installed, see their documentation for details:

Then clone the repo and run npm install and mvenv sync dev. Make your changes and then run just to run formatting, linting, and tests.

Develop documentation by running just docs to start up a dev server.

To run tests only, run just test. You can pass additional arguments to pytest, e.g. just test -k test_something.

Prior to committing, you can run just with no arguments to run all the checks.

Download Sample Responses

Run python -m fitbit_downloader.download_samples to output JSON files with the responses.

Generate Response Models

Note: There are currently some manual modifications to the generated files. They are all marked with TODO so that we can work them into the generation. If you re-run the generation, you will need to manually update the files to make the same changes.

Run python -m fitbit_downloader.gen_models to output response models in fitbit_downloader.models from the sample responses.

Author

Created by Nick DeRobertis. MIT License.

See the documentation here.

Metadata

Release files for fitbit-downloader 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fitbit-downloader 0.3.0
File Size Uploaded
fitbit-downloader-0.3.0.tar.gz 16.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fitbit-downloader 0.3.0
File Interpreter ABI Platform
fitbit_downloader-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 37.7 kB

Release files / fitbit-downloader-0.3.0.tar.gz

Download URL fitbit-downloader-0.3.0.tar.gz
Size 16.2 kB
Tags Source
SHA-256 checksum
How to use checksums
9672451a58473be48efad0abc59d1fa7124da3e11c72a215551f499be3e576b7
BLAKE2b-256 checksum
How to use checksums
754a3456a05ee3189664068f44756e5cfb763f956ebcaf2b4035ddfd9c54c637
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.10

Release files / fitbit_downloader-0.3.0-py3-none-any.whl

Download URL fitbit_downloader-0.3.0-py3-none-any.whl
Size 21.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
61a2d5440950f6a9ceb4f7be701b1ff212c009a96e164ae5d02d8d3f48400d5e
BLAKE2b-256 checksum
How to use checksums
5e8a02ae101f663937bcfa29954f17f51200bf17357eb11c9b6ab4d802ec3327
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page