Skip to main content

Workout analysis

Project description

chironpy

Endurance sports analysis library for Python

A fork of sweatpy

Downloads

:warning: This is a fork of the original sweatpy project, which no longer seems to be maintained.

Documentation for the original project can be found here.

Usage

Usage and examples can be found here.

Publishing

Build and publish using poetry.

TestPyPI

Test using TestPyPI. Create a project-scoped token in TestPyPI. Test publish manually:

poetry config repositories.testpypi https://test.pypi.org/legacy/
poetry publish --repository testpypi --username __token__ --password pypi-YOURTOKEN

Or use the Github Actions as configured in .github/workflows/publishtestpypi.yml. Ensure:

  • The GitHub repo is connected to the TestPyPI project in TestPyPI.
  • The TestPyPI token has been added to the Github repo nvironment secrets: Settings > Environments > testpypi > Envionment secrets > TESTPYPI_TOKEN
[testpypi]
  repository = https://test.pypi.org/legacy/
  username = __token__
  password = # either a user-scoped token or a project-scoped token you want to set as the default

Install from TestPyPI:

pip install chironpy --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/

Development

Validating Functionality with Scripts

The scripts/ directory contains utility scripts to help validate the functionality of the chironpy library during development. Below are some examples of how to use these scripts:

1. Load any activity

Use the load_files.py script to load and parse a .fit, .gpx, locally saved Strava .json file etc. Example files are provided in chironpy/examples/data.

Usage:

python scripts/load_fit_file.py path/to/your/file.fit

## Contributors

- [Clive Gross](https://github.com/clivegross)
- [Maksym Sladkov](https://github.com/sladkovm) - Original Author
- [Aart Goossens](https://github.com/AartGoossens) - Original Author

## License

See [LICENSE](LICENSE) file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chironpy-0.27.0.tar.gz (1.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chironpy-0.27.0-py3-none-any.whl (2.0 MB view details)

Uploaded Python 3

File details

Details for the file chironpy-0.27.0.tar.gz.

File metadata

  • Download URL: chironpy-0.27.0.tar.gz
  • Upload date:
  • Size: 1.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.11.12 Linux/6.11.0-1012-azure

File hashes

Hashes for chironpy-0.27.0.tar.gz
Algorithm Hash digest
SHA256 57219d82aa38a016dd92e3f3a04b0ccc695a7e8767916d1402d3040ab5144d49
MD5 1a4bae72d17d8978f95eda1156ef3a1d
BLAKE2b-256 161694b5e1082b3f2c641fa6108c5c00c4ce8056bd9e16c68cb30a9e9cfc0a0c

See more details on using hashes here.

File details

Details for the file chironpy-0.27.0-py3-none-any.whl.

File metadata

  • Download URL: chironpy-0.27.0-py3-none-any.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.11.12 Linux/6.11.0-1012-azure

File hashes

Hashes for chironpy-0.27.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8d8a29e2268adf7159fa0b62f68240a78c7086e5e280a5f5d8ace9cd5d1e6508
MD5 422cc26bbc2547fc48eb015e300d58df
BLAKE2b-256 bf68326e8ffddf1ad600f5392d9445b077baea1adcc21c15a233e5a6b88cb854

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page