polkupy
Python package to analyse and visualise personal cycling activities. Loads
GPX and FIT tracks into chainable pandas-backed objects, with built-in
filtering, geography helpers, and rich Jupyter display.
Installation
For users, install from PyPI using:
pip install polkupy
To contribute to development, install with pixi using:
pixi install --all
pixi shell -e dev
Quick start
from polkupy import Ride, Trips
ride = Ride.from_gpx("path/to/ride.gpx")
ride # -> route map + metadata in Jupyter
trips = Trips.from_gpx("data") # one subfolder per bike
commutes = trips.between(start=(48.14, 11.56), end=(48.35, 11.79))
Structure
Ride/Trips wrap the underlying pandas DataFrame(s) in a chainable API.
src/polkupy/
├── __init__.py # public API: Ride, Trips
├── core/
│ ├── ride.py # Ride: one track
│ └── trips.py # Trips: a collection of rides
├── io/
│ └── gpx.py
├── algorithms/
│ └── filters.py
├── clock.py
└── geo.py
Development
pixi run -e dev test # pytest
pixi run -e dev check # mypy + pylint
pixi run -e dev docs-build # Sphinx HTML docs -> docs/_build/html
See CHANGELOG.md for release history.
Metadata
Release files for polkupy 0.1.1
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 |
|---|---|---|---|---|
| polkupy-0.1.1.tar.gz | 34.6 kB | With provenance | Details for polkupy-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| polkupy-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for polkupy-0.1.1-py3-none-any.whl |
Total release size: 67.6 kB
Release files / polkupy-0.1.1.tar.gz
| Download URL | polkupy-0.1.1.tar.gz |
|---|---|
| Size | 34.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
79c94fde7092453199d220e64c2ae2e6981f15ed6c6af31670f21b62ad599576
|
|
BLAKE2b-256 checksum How to use checksums |
68f57def5d7567284aa2ad0c61e45f37ab8f2e20d7ee73e9e5e94a8f22384c05
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.
Transparency logRelease files / polkupy-0.1.1-py3-none-any.whl
| Download URL | polkupy-0.1.1-py3-none-any.whl |
|---|---|
| Size | 33.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8da7eee7621ef34dcc18152735658bf0daabecaf62fb21ba8c4d401006b69ff0
|
|
BLAKE2b-256 checksum How to use checksums |
4553c9f87a1064ebd8aedcfbc8642abbb8f4951f5ce03d352f6e7ac2d6e68229
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.
Transparency logSecurity for polkupy 0.1.1
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for polkupy-0.1.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.
Transparency logA 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.