strava_map
Downloads strava activities and generates a heatmap for each activity type. View all your Strava activity data in one map, or just download and save your activity data to edit as you choose.
Installation
strava_map can be installed via pip using:
pip install strava-map
or run directly from a cloned repo
git clone https://github.com/tcramm0nd/strava_map.git
Example
from strava_map import Map
m = Map()
On the initial run you will be prompted for your Client ID and Client Secret. This is to authorize the App to retrieve activity data from Strava. All Strava keys are stored locally in a .credntials.json file.
You can find your Client ID and Client Secret by navigating to Settings > My API Application. If you have not set up Strava for API applications, you can find directions on how to do so here.
Once the Strava Client has been authorized it will proceed to retrieve activity data, stored in Map.activity_database.
Create a Heatmap of all activities
You can create a heatmap of all activiies by simply running
m.create_heatmap()
This will generate a map with different activity types coded as different colors.
Saving activity data
m.save_activities(path='path/to/directory/')
To Do
- add KML support
- add colorization options
- assign gradients to activities
Metadata
Release files for strava-map 0.1.0
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-map-0.1.0.tar.gz | 7.5 kB | Without provenance | Details for strava-map-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| strava_map-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for strava_map-0.1.0-py3-none-any.whl |
Total release size: 17.9 kB
Release files / strava-map-0.1.0.tar.gz
| Download URL | strava-map-0.1.0.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f6ae7609a14d62116c0ef577a49b4962d756dfe78649957da8085f7af72e5083
|
|
BLAKE2b-256 checksum How to use checksums |
7e2395e5b2dc740b752333e48b4a89a104c6776a3d591a0e2ff9d184e99fbd4d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.8.5
|
Release files / strava_map-0.1.0-py3-none-any.whl
| Download URL | strava_map-0.1.0-py3-none-any.whl |
|---|---|
| Size | 10.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
87700a09cfc7b6e71fd54a601e653d69cb8ee5a3cb343ff5f74ee5c8cc2a68ac
|
|
BLAKE2b-256 checksum How to use checksums |
789f8179df17d6e581394238da222068c8fca6624722f6c688d2c156a9e09713
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.8.5
|
Security for strava-map 0.1.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.
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.