$npx skillfedfor your agent

stravalib

A Python package that makes it easy to access and download data from the Strava V3 REST API.

Worth itPyPI LibrariesReleased Jun 2026164.7K downloads / moApache 2.0 LicensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — stravalib-2.5.0-py3-none-any.whl
v2.5.0 · released 2026-06-01 · Python >=3.11 · 4 runtime deps: pint, arrow, requests, pydantic

Yes. stravalib is a mature, actively maintained library (first release 2013, latest 2026-06-01) with no security vulnerabilities, low install friction, and permissive licensing. It's the standard Python client for Strava API access and is well-suited for anyone building tools that need to read or modify Strava data. Install it if you're working with Strava activity data.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.11 or later; you must obtain a Strava API access token from a registered Strava app before authenticating.
  • Low friction install with four lightweight runtime dependencies (pint, arrow, requests, pydantic).
  • Active maintenance with a recent release 74 days ago and continued repository activity; requires Python 3.11 or later.

License · maintenance · safety

Apache 2.0 License (permissive) — Apache 2.0 License (permissive) allows free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.

last release 2026-06-01 (74 days) · last repo commit 2026-08-01 · 995 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 164,715 downloads/mo, #10,540 on PyPI

Verify before relying

pip install stravalib

from stravalib.client import Client

client = Client(access_token='your_token')
athlete = client.get_athlete()
  • Whether token refresh is automatic or requires manual intervention beyond what the description states.
  • Rate limiting behavior and handling of Strava API quota constraints.
  • Whether the package supports all Strava V3 API endpoints or a subset.
Same gist for agents: .md · .json

What it is and what it does

stravalib is a Python wrapper around the Strava V3 REST API that handles OAuth authentication, token management, and data retrieval for activities, athletes, and clubs. It abstracts away the HTTP details of talking to Strava's servers, letting you work with Strava data through a `Client` class that returns structured objects. The package also integrates pint for unit conversion (e.g., converting distances between miles and kilometers) and arrow for working with timestamps, so you can work with Strava's temporal and measurement data in your preferred units.

The library is actively maintained, supports modern Python versions (3.11–3.14), and has no known security vulnerabilities. Its four runtime dependencies are all well-established packages, keeping the install footprint small. It's aimed at developers and researchers who want to build tools around Strava data—whether that's personal activity analysis, training dashboards, or research on athlete behavior.

Use it for

  • Build a personal dashboard that fetches your recent activities and displays them with custom metrics or visualizations.
  • Analyze your cycling or running performance over time by downloading historical activity data and computing statistics.
  • Integrate Strava data into a fitness tracking application that combines data from multiple sources.
  • Automate activity tagging or metadata updates on Strava by modifying activities through the API.
  • Export athlete profile and club membership data for research or reporting purposes.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

stravalib is a mature, actively maintained library (first release 2013, latest 2026-06-01) with no security vulnerabilities, low install friction, and permissive licensing. It's the standard Python client for Strava API access and is well-suited for anyone building tools that need to read or modify Strava data. Install it if you're working with Strava activity data.

Install

stravalib on PyPI

Before you install

Low friction install with four lightweight runtime dependencies (pint, arrow, requests, pydantic). Active maintenance with a recent release 74 days ago and continued repository activity; requires Python 3.11 or later.

Requires Python 3.11 or later; you must obtain a Strava API access token from a registered Strava app before authenticating.

License in practice

Apache 2.0 License (permissive) allows free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.

Quickstart

pip install stravalib

from stravalib.client import Client

client = Client(access_token='your_token')
athlete = client.get_athlete()

Verify before relying

  • Whether token refresh is automatic or requires manual intervention beyond what the description states.
  • Rate limiting behavior and handling of Strava API quota constraints.
  • Whether the package supports all Strava V3 API endpoints or a subset.

Package facts

LicenseApache 2.0 License permissive
Python supportSupports the current Python release >=3.11
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
pintarrowrequestspydantic
MaintenanceActively maintained 74 days since the last release
Last repo commit
First released
Downloads164,715 / month, #10,540 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: OSI Approved :: Apache Software LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Scientific/EngineeringTopic :: Software Development :: Libraries

Evidence: stravalib-2.5.0-py3-none-any.whl

Tags

Capabilities
strava api client pythondownload strava activitiesstrava data access librarystrava authentication pythoncycling running activity datastrava athlete profile apistrava rest api wrapper
Topics
strava-integrationrest-api-clientfitness-data
PyPI keywords
stravarunningcyclingathletes

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 › “strava api client python”

  • stravalibstravalib provides a Python client for authenticating with and…
  • twentyc.rpcA client library for consuming 20c's RESTful API, built on top of the…
  • codewords-clientA Python client library for the Codewords API with built-in FastAPI…

Give your agent the search over MCP, or paste the wish link into any chat.

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also garminconnect · stream-python · microsoft-teams-api · fit-tool · ha-garmin · python-keystoneclient · RachioPy · django-activity-stream · freebox-api · veracode-api-py