cafein.sampledata
Sample datasets for cafein: up-to-date, openly licensed data for the Helsinki Metropolitan Area, downloaded on first access and cached locally.
import cafein.sampledata.helsinki as helsinki
helsinki.osm_pbf # OpenStreetMap extract, capital region
helsinki.gtfs # HSL GTFS feed
helsinki.dem # NLS 10 m elevation model
helsinki.population_grid # HSY 250 m population grid
helsinki.emission_factors # cafein's default GHG factors as a CSV
Each attribute is a pathlib.Path; the file downloads and verifies on
first use. A package release pins exact data snapshots — upgrade the
package to get newer data.
Data files are cached under the platform user-cache directory; set
CAFEIN_SAMPLEDATA_DIR to relocate the cache.
Data licenses
The package code is MIT. The datasets carry their own open licenses —
OpenStreetMap (ODbL 1.0), HSL GTFS (CC BY 4.0), National Land Survey
of Finland elevation model (CC BY 4.0), HSY population grid
(CC BY 4.0) — with attribution recorded per asset in
<region>.metadata.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cafein_sampledata-2026.8.0.tar.gz.
File metadata
- Download URL: cafein_sampledata-2026.8.0.tar.gz
- Upload date:
- Size: 55.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7af52bb1fd00c08e5bc9986085c6105458d988a05fdc0da84aa2d013eb5e8d4f
|
|
| MD5 |
e20c544cd31d27a5089d45e1557fc198
|
|
| BLAKE2b-256 |
4035eab257f1ba1f25592e8514752d5ea9617f4aede82e510c4783745efc2fe6
|
Provenance
The following attestation bundles were made for cafein_sampledata-2026.8.0.tar.gz:
Publisher:
release.yaml on cafein-py/cafein.sampledata
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cafein_sampledata-2026.8.0.tar.gz -
Subject digest:
7af52bb1fd00c08e5bc9986085c6105458d988a05fdc0da84aa2d013eb5e8d4f - Sigstore transparency entry: 2417076882
- Sigstore integration time:
-
Permalink:
cafein-py/cafein.sampledata@cdca80dea10a72a2554e1e8d6455573f7f8a1f12 -
Branch / Tag:
refs/tags/v2026.8.0 - Owner: https://github.com/cafein-py
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@cdca80dea10a72a2554e1e8d6455573f7f8a1f12 -
Trigger Event:
push
-
Statement type:
File details
Details for the file cafein_sampledata-2026.8.0-py3-none-any.whl.
File metadata
- Download URL: cafein_sampledata-2026.8.0-py3-none-any.whl
- Upload date:
- Size: 11.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
34a6d8953402fa4eac2e67712db6ad1e79a2ce85a1ad1328908e2676f47085b6
|
|
| MD5 |
aedc389cf34fad3c391bf8e9cf62906b
|
|
| BLAKE2b-256 |
19836dd765e17f83f3a14586016c21c931a38b8e7f9302f02c5f4730d7396d84
|
Provenance
The following attestation bundles were made for cafein_sampledata-2026.8.0-py3-none-any.whl:
Publisher:
release.yaml on cafein-py/cafein.sampledata
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cafein_sampledata-2026.8.0-py3-none-any.whl -
Subject digest:
34a6d8953402fa4eac2e67712db6ad1e79a2ce85a1ad1328908e2676f47085b6 - Sigstore transparency entry: 2417077141
- Sigstore integration time:
-
Permalink:
cafein-py/cafein.sampledata@cdca80dea10a72a2554e1e8d6455573f7f8a1f12 -
Branch / Tag:
refs/tags/v2026.8.0 - Owner: https://github.com/cafein-py
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@cdca80dea10a72a2554e1e8d6455573f7f8a1f12 -
Trigger Event:
push
-
Statement type: