kenya-data (Python SDK)
from kenya_data import Kenya
kenya = Kenya() # loads the bundled data/kenya.db by default
kenya = Kenya(db_path="/path/to/kenya.db") # or point at a specific build
kenya.counties.list()
kenya.counties.get("Nakuru")
kenya.constituencies.in_county("Nakuru")
kenya.wards.in_constituency("Naivasha")
kenya.dataset.version
kenya.dataset.updated_at
Backed by the SQLite database built from database/schema/schema.sql —
see the repository root README and
docs/sdk-design.md.
Release files for kenya-data 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 | |
|---|---|---|---|
| kenya_data-0.1.1.tar.gz | 112.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kenya_data-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 226.5 kB
Release files / kenya_data-0.1.1.tar.gz
| Download URL | kenya_data-0.1.1.tar.gz |
|---|---|
| Size | 112.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d585b9f09ac20cf4d3f18893c2a108474579710b44a528b33d7e3584876aef5e
|
|
BLAKE2b-256 checksum How to use checksums |
95112848abb67d6a09c4d238e81ef6475a38b4bec11ed362ca58198e66820a81
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|
Release files / kenya_data-0.1.1-py3-none-any.whl
| Download URL | kenya_data-0.1.1-py3-none-any.whl |
|---|---|
| Size | 114.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ab57c80da3788b1211a7649286947caa9cdd6f63d5dd680c9acefaeebb0215a6
|
|
BLAKE2b-256 checksum How to use checksums |
9a85145037497dc8d05fb1112cf1f7f8fa14e6e401bb56cd942c8defee70c30c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|