Skip to main content

polkupy

pypi Latest tag Commits since last release Ruff Pixi Badge License

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)

Source distribution for polkupy 0.1.1
File Size Uploaded
polkupy-0.1.1.tar.gz 34.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for polkupy 0.1.1
File Interpreter ABI Platform
polkupy-0.1.1-py3-none-any.whl Python 3 none any Details

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 log

Release 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 log

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page