Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

django-fitbit-healthkit

🗄️ ARCHIVED — the Fitbit Web API is no longer serving

As of the week of November 9, 2026, Google's retired Fitbit Web API no longer serves requests, so this package no longer works. The repository is archived (read-only) and will not receive further updates, including security fixes.

  • Existing PyPI releases are left in place for reference but should be considered deprecated.
  • v0.7.0 is the final release. It emits a FutureWarning on import, a log warning at startup, and a Django system check warning (fitbit.W001) on every manage.py command.
  • Do not adopt this package for new work. The successor is django-google-health.

django-fitbit-healthkit is a Django Fitbit App with HealthKit-friendly API. The goal is to provide a wrapper over fitbit authentication, token management, and web APIs that is similar to other high-level healthkit wrappers like react-native-healthkit. The HealthKit API from Apple is here for reference.

A sample app is included in the sample directory to showcase how to use the fitbit app.

Detailed documentation is in the "docs" directory.

Quick start

  1. Add "fitbit" to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [
    ...,
    "django_fitbit_healthkit",
]
  1. Include the fitbit URLconf in your project urls.py like this:
path("fitbit/", include("django_fitbit_healthkit.urls")),
  1. Run python manage.py migrate to create the models.

  2. Visit the /fitbit/login URL to sign in with Fitbit.

Running the sample app

Make sure to set environment variables for

FITBIT_CLIENT_ID=xxx
FITBIT_CLIENT_SECRET=xxx

which will be picked up by sample/settings.py. In your fitbit app settings, add http://localhost:8000/fitbit/success to the allowed callback URLs.

Set up dev environment. There is nothing complicated here, so vanilla venv on any platform is probably sufficient (no nix/devbox, dev container type setup is necessary).

python3 -m venv venv
source venv/bin/activate
pip3 install Django

Apply DB migrations with python3 manage.py migrate. You can run the app quite simply:

python3 manage.py runserver

This will allow you to register an account, sign in with fitbit, and view some of your data.

Release workflow

Develop on a branch. When it's ready, merge to main.

If this is not a release (no bumped version in setup.cfg), then TestPyPI may fail with a duplicate sdist upload (it has before).

If it's a new version, then the setup.cfg should have been bumped on the branch. When it's merged, we expect TestPyPI to succeed. Then the tag can be pushed to GH, which will trigger real PyPI release.

Metadata

Release files for django-fitbit-healthkit 0.7.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 django-fitbit-healthkit 0.7.0
File Size Uploaded Provenance Actions
django_fitbit_healthkit-0.7.0.tar.gz 11.8 kB With provenance Details for django_fitbit_healthkit-0.7.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-fitbit-healthkit 0.7.0
File Interpreter ABI Platform Actions
django_fitbit_healthkit-0.7.0-py3-none-any.whl Python 3 none any Details for django_fitbit_healthkit-0.7.0-py3-none-any.whl

Total release size: 25.6 kB

Release files / django_fitbit_healthkit-0.7.0.tar.gz

Download URL django_fitbit_healthkit-0.7.0.tar.gz
Size 11.8 kB
Tags Source
SHA-256 checksum
How to use checksums
90901ff02462b9814e091f9ec9c8bee18c5ff423841abccc787db0d9381dc18a
BLAKE2b-256 checksum
How to use checksums
04f7c1575a89db74761f9259f5447184e4a59b767f6ac26fbf0a48433cb62d0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

Release files / django_fitbit_healthkit-0.7.0-py3-none-any.whl

Download URL django_fitbit_healthkit-0.7.0-py3-none-any.whl
Size 13.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
91f43990f6ee8de75c59494cc4dd53442057541db7f2be125d7b7484b601d517
BLAKE2b-256 checksum
How to use checksums
04c06d9fbdefad44835874aac5af344c5f7b3c091964d955edbd859e64201357
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

Security for django-fitbit-healthkit 0.7.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for django_fitbit_healthkit-0.7.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

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.

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