strava-cli
CLI tool for interacting with the Strava API.
Install
uv pip install -e .
Setup
- Create a Strava API app at https://www.strava.com/settings/api
- Set callback URL to
http://localhost - Run
strava authand follow the prompts
Commands
| Command | Description |
|---|---|
strava auth |
OAuth2 setup flow |
strava profile |
Show athlete profile |
strava stats |
Athlete stats summary |
strava activities |
List recent activities |
strava activity <id> |
Detailed activity view |
strava export |
Bulk export activities |
Usage
# List last 10 activities
strava activities --limit 10
# Filter by type and date
strava activities --type Run --after 2024-01-01
# View a specific activity
strava activity 12345678
# Export activities to JSON
strava export --output ./export --format json --after 2024-01-01
Token Management
Tokens are stored in ~/.config/strava-cli/tokens.json and automatically refreshed when expired (every 6 hours).
Metadata
Release files for strava-client-cli 0.1.1
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 |
|---|---|---|---|---|
| strava_client_cli-0.1.1.tar.gz | 6.9 kB | Without provenance | Details for strava_client_cli-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| strava_client_cli-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for strava_client_cli-0.1.1-py3-none-any.whl |
Total release size: 15.6 kB
Release files / strava_client_cli-0.1.1.tar.gz
| Download URL | strava_client_cli-0.1.1.tar.gz |
|---|---|
| Size | 6.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9d33b6ab32364eeea48db860f8400d4d6828db583b3a191b021516b6ddf67a11
|
|
BLAKE2b-256 checksum How to use checksums |
7b39ecc6c4317d6ee3f78dfcc8cf554f7409ed236e6c426163d2bad7b7842023
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / strava_client_cli-0.1.1-py3-none-any.whl
| Download URL | strava_client_cli-0.1.1-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f8f9261eb69e243897b8f1eff3b99de287374663c34241b1cb510566265049d0
|
|
BLAKE2b-256 checksum How to use checksums |
423c632db6edd93da2b91a2a3cb32f181afd0f7fece27435701fa93fa672fd73
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for strava-client-cli 0.1.1
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.