pydexcom
Python API to interact with Dexcom Share API
Decision gist · record as of 2026-08-14
Yes, if you have an active Dexcom Share account and need real-time glucose readings in Python. The package is lightweight, has no complex dependencies, and works well for its narrow purpose. However, be aware that maintenance is aging (last release 201 days ago), so if the Dexcom Share API changes, updates may be slow. Not suitable if you use Dexcom Stelo or need retrospective data analysis—use the official Dexcom API for that.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python >=3.9 and an active Dexcom Share account with at least one follower configured in the Dexcom mobile app.
- Low install friction with a single runtime dependency (requests).
- Maintenance status is aging—last release was 201 days ago—so updates and bug fixes may be infrequent, though the package appears stable for its narrow use case.
License · maintenance · safety
MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions, making it suitable for personal projects and integrations.
last release 2026-01-25 (201 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 90,101 downloads/mo, #13,619 on PyPI
Alternatives
Verify before relying
pip install pydexcom
from pydexcom import Dexcom
dexcom = Dexcom(username="user@email.com", password="password")
glucose_reading = dexcom.get_current_glucose_reading()
print(glucose_reading.value) # e.g., 85- Whether the package continues to work reliably with the current Dexcom Share API, given the aging maintenance status and lack of recent commits.
- Support status for newer Dexcom devices beyond G7/G6/G5/G4.
- Whether regional endpoints (us, ous, jp) remain stable and functional.
What it is and what it does
pydexcom is a thin Python wrapper around the Dexcom Share service API that retrieves real-time continuous glucose monitor (CGM) readings from Dexcom G7, G6, G5, and G4 devices. It authenticates using your Dexcom account credentials and returns glucose values in mg/dL or mmol/L, trend direction, and reading timestamps. The package is primarily used in Home Assistant's Dexcom integration and community projects like Raspberry Pi glucose displays.
The package requires an active Dexcom Share account with at least one follower configured—a prerequisite of the Dexcom Share service itself. It supports regional API endpoints for the US, outside the US, and Japan. Authentication can use email, phone number, or account ID, and the API returns structured glucose reading objects with multiple properties (value, trend, trend_direction, trend_arrow, datetime, JSON representation).
Use it for
- Integrate real-time Dexcom readings into Home Assistant or other home automation systems for glucose monitoring dashboards.
- Build a personal glucose tracking display on a Raspberry Pi or other single-board computer using live sensor data.
- Fetch current glucose values programmatically for alerting or logging applications that need up-to-the-minute readings.
- Embed glucose data in terminal prompts or status bars for quick at-a-glance monitoring.
- Create custom integrations or bots that react to glucose trends and readings in real time.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you have an active Dexcom Share account and need real-time glucose readings in Python.
The package is lightweight, has no complex dependencies, and works well for its narrow purpose. However, be aware that maintenance is aging (last release 201 days ago), so if the Dexcom Share API changes, updates may be slow. Not suitable if you use Dexcom Stelo or need retrospective data analysis—use the official Dexcom API for that.
Install
pydexcom on PyPI
Before you install
Low install friction with a single runtime dependency (requests). Maintenance status is aging—last release was 201 days ago—so updates and bug fixes may be infrequent, though the package appears stable for its narrow use case.
Requires Python >=3.9 and an active Dexcom Share account with at least one follower configured in the Dexcom mobile app.
License in practice
MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions, making it suitable for personal projects and integrations.
Quickstart
pip install pydexcom
from pydexcom import Dexcom
dexcom = Dexcom(username="user@email.com", password="password")
glucose_reading = dexcom.get_current_glucose_reading()
print(glucose_reading.value) # e.g., 85
Verify before relying
- Whether the package continues to work reliably with the current Dexcom Share API, given the aging maintenance status and lack of recent commits.
- Support status for newer Dexcom devices beyond G7/G6/G5/G4.
- Whether regional endpoints (us, ous, jp) remain stable and functional.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagerequests |
| Maintenance | Aging 201 days since the last release |
| First released | |
| Downloads | 90,101 / month, #13,619 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: pydexcom-0.5.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “dexcom glucose readings api”
- pydexcomFetches real-time glucose readings from Dexcom CGM sensors via the…
- sparklinesSparklines renders compact Unicode bar charts (▃▁▄▁▅█▂▅) in your…
- lacrosse-viewRetrieves sensor data from La Crosse View-connected weather and…
Give your agent the search over MCP, or paste the wish link into any chat.
More Monitoring packages
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
Provides generated Python code for OpenTelemetry semantic conventions, enabling standardized attribute naming and constant definitions for instrumentation and telemetry collection.
Install it if you are using OpenTelemetry and want to follow semantic conventions correctly.
Provides the reference implementation of the OpenTelemetry API for collecting and exporting traces, metrics, and logs from Python applications.
Provides the abstract API and interfaces for OpenTelemetry instrumentation in Python, defining how to emit traces, metrics, and logs without tying code to a specific SDK implementation.
Exports OpenTelemetry observability data to an OpenTelemetry Collector using Protobuf-encoded messages over HTTP.
Install it if you are using OpenTelemetry in Python and need to send data to a Collector over HTTP.
Provides automatic instrumentation commands and programmatic APIs to inject distributed tracing into Python applications without code changes, detecting and instrumenting packages used by your program.
Install it if you need distributed tracing without code changes and have compatible instrumented packages in your environment.
See also nettigo-air-monitor · spgci · pyRFXtrx · ovoenergy · Scweet · sense-energy · pyobjc-framework-CoreMotion · pytrends · lacrosse-view · pyhaversion