Python client for Strava Flyby
Install
$ pip install strava-flyby
Usage
strava-flyby provides a convenience object wrapping of the Strava Labs Flyby API response. Next to providing a direct access to the unmodified content of the Flyby API response, the object will expose number of convenience attributes and methods to access the list of activity, ids, matches and athletes.
Jupyter notebook example with real data is here
Create a flyby object using the Strava activity ID with a help of the flyby() factory function:
from flyby import flyby
fb = flyby(activity_id=12345)
fb
>>> Flyby object with 17 matches.
Attributes: ids, activity, matches, athletes
Methods: matches_to_list(), matches_to_json(), get_ids()
Filter by distance in km and print all matched ids:
print(fb.get_ids(distance=(110, 130)))
Dump filtered by distance flattened matches into a list:
print(fb.matches_to_list(distance=120, tol=0.1))
Metadata
Release files for strava-flyby 0.0.6
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-flyby-0.0.6.tar.gz | 4.7 kB | Without provenance | Details for strava-flyby-0.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| strava_flyby-0.0.6-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for strava_flyby-0.0.6-py2.py3-none-any.whl |
Total release size: 9.4 kB
Release files / strava-flyby-0.0.6.tar.gz
| Download URL | strava-flyby-0.0.6.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4471ffefcf427923a20c4b145636b788c48f040859d888342a7a747241e5db3f
|
|
BLAKE2b-256 checksum How to use checksums |
34ec123ddb0c512a57b4fda835b57c513d8bcc7e5bad49754db67022e8d262ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.7
|
Release files / strava_flyby-0.0.6-py2.py3-none-any.whl
| Download URL | strava_flyby-0.0.6-py2.py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
8c7839a34e452ea5d584207de66cd4a991a7340b89e2f58df3bdde90f598913c
|
|
BLAKE2b-256 checksum How to use checksums |
9c190535eb5faf5bac25029cf532ff99cc92f126750bdb80fb6062e2af357d58
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.7
|
Security for strava-flyby 0.0.6
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.