Observed since 20 Oct, 18:38 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
null
Load running activities, output into a neat JSON format.
Install this library using pip:
pip install activity.py
Import Activity and use the load_fit and load_gpx function to load your activities.
You can access attributes on the activity at that point, or alternatively use as_json to dump your activity as a JSON object.
from activity_py import Activity
activity = Activity.load_fit('fitfile.fit')
print(activity.duration, activity.distance, activity.pace)
To contribute to this library, first checkout the code. Then create a new virtual environment:
cd activity.py
python -m venv venv
source venv/bin/activate
Now install the dependencies and test dependencies:
pip install -e '.[test]'
To run the tests:
pytest
Using pipenv, this looks like:
pipenv install .[test]
pipenv run pytest
Documentation TBC.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1b7 | 25 Nov 2024 | 4 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 18:38 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:eb1202c16d7d48ca794025e6b9bff8aa9bb229c6a268c2304678d05944ec33eb