Skip to content

Package FAQ

Is this uk_open_data.geo, and can we keep developing more subpackages?

Short answer: uk-open-data is the package installed from PyPI, and uk_open_data is the name it is imported by. It includes uk_open_data.geo, uk_open_data.ons, uk_open_data.postcodes, and uk_open_data.imd. Each subpackage has its own Python import path, but all share one package version and release.

uv init                       # if you are not in a uv project yet
uv add uk-open-data pandas    # or polars
from uk_open_data.geo import load_geodata
from uk_open_data.ons import load_ons

The package was called kindtech up to version 0.1. The kindtech project on PyPI stays at 0.1.0 and gets no new releases. To move to the new name, run uv remove kindtech, then uv add uk-open-data, and change imports from kindtech to uk_open_data.

New modules can be added under src/uk_open_data/<name>/ and included in future uk-open-data releases. Because they remain inside the same distribution, they do not need separate PyPI registrations. Add tests and API documentation alongside each new module, and include any bundled data in the package configuration.

Sources

Check the package configuration and tagged source tree when the package layout changes or a new release adds modules.

Created: 2026-09-20 · Updated: 2026-11-29 · Verified: 2026-11-29 · Scope/version: 0.2

Which projects on PyPI does a release publish?

Short answer: One. A version tag publishes uk-open-data. kindtech, the old name, stays at 0.1.0 and gets no new releases.

The release uses Trusted Publishing: the uk-open-data project on PyPI has a trusted publisher that names this repository, the workflow file release.yml and the environment pypi.

To release, set the version in pyproject.toml, complete the release checks, and push the matching v* tag when the release is approved. The workflow checks that the tag matches the version, then publishes uk-open-data.

Sources

Recheck the PyPI project and its trusted publisher before a release.

Created: 2026-09-20 · Updated: 2026-11-29 · Verified: 2026-11-29 (0.2.0a1 published) · Scope/version: 0.2