Skip to main content

dz-geodata (Python)

Algeria's wilayas, daïras and communes with Arabic, French and English names, ONS codes and simplified boundaries, plus lookup helpers. There are no dependencies.

Install

pip install dz-geodata
import dz_geodata as dz

dz.wilaya(16)["name_ar"]            # 'الجزائر'
dz.commune("1601")["name_fr"]
dz.communes(wilaya_code=31)         # communes of Oran
dz.search("bejaia")[0]              # accent/diacritic-insensitive, ar/fr/en
dz.locate(3.0588, 36.7538)          # {'commune': ..., 'daira': ..., 'wilaya': ...}
dz.geojson("communes")              # full FeatureCollection (dict)
dz.data_path("algeria.topojson")    # path to the bundled file

Data © OpenStreetMap contributors, ODbL 1.0. Code MIT. See the project README for provenance and limitations.

Metadata

Release files for dz-geodata 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dz-geodata 0.1.0
File Size Uploaded
dz_geodata-0.1.0.tar.gz 3.4 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for dz-geodata 0.1.0
File Interpreter ABI Platform
dz_geodata-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.8 MB

Release files / dz_geodata-0.1.0.tar.gz

Download URL dz_geodata-0.1.0.tar.gz
Size 3.4 MB
Tags Source
SHA-256 checksum
How to use checksums
72d5ab0eec426ba6a75f5f571a161ab9e0f1cc549d479d4c502b6e1cd30f43bb
BLAKE2b-256 checksum
How to use checksums
5196851a2e98c668c440e0e85604c1ff68610218e2e37e4d664366dc8c466d30
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 Oct 18, 2026.

Transparency log

Release files / dz_geodata-0.1.0-py3-none-any.whl

Download URL dz_geodata-0.1.0-py3-none-any.whl
Size 3.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
046ba5e3ebd8e6cababcfd407e4d54fb793b69a8e23769921dde9a5e18156e5c
BLAKE2b-256 checksum
How to use checksums
d02d4ca1d4b24547da087663010c5478486e3bef65c816ec94f8d4f3447cb6ef
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 Oct 18, 2026.

Transparency log

Release history Release notifications | RSS feed

0.1.1

2 release files

This release

0.1.0 This release

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