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.26.1.tar.gz (1.7 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.26.1-py3-none-any.whl (1.8 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: chironpy-0.26.1.tar.gz
  • Upload date:
  • Size: 1.7 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.26.1.tar.gz
Algorithm Hash digest
SHA256 4ae71b62c768ef3eabdd7806310328be7f7b8f719a19baac49cd8694df7d7149
MD5 334e93637e0a08454ebc28b61439b5b6
BLAKE2b-256 cda30753b52acfc3ef587f60b4a0ffb489ebb302be9c4ff7c2ed997c148c1bef

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chironpy-0.26.1-py3-none-any.whl
  • Upload date:
  • Size: 1.8 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.26.1-py3-none-any.whl
Algorithm Hash digest
SHA256 56cbeadb573cfe94ee56e7f6227d3f6b6b5b98647eeda6a35b6b860f4b22b220
MD5 1357bfc3b824eaaeafae4ea209811921
BLAKE2b-256 e82ab7399ab20b5f11b6d4874b63135f923d84a8be99507138de2b06669e5829

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