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.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 dz-geodata 0.1.1
File Size Uploaded
dz_geodata-0.1.1.tar.gz 3.4 MB Details

Built distribution (wheel)

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

Total release size: 6.8 MB

Release files / dz_geodata-0.1.1.tar.gz

Download URL dz_geodata-0.1.1.tar.gz
Size 3.4 MB
Tags Source
SHA-256 checksum
How to use checksums
995f25f672edc0a99e53eed56ec9b6700993b79983f039ff5234aadde6e14da2
BLAKE2b-256 checksum
How to use checksums
83cecb995b0a6f3756addd832430e0da7dcb3ea344f40aa04aa7462f7cfbdc25
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.1-py3-none-any.whl

Download URL dz_geodata-0.1.1-py3-none-any.whl
Size 3.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
c9ce7baecf9c3d60294eeac304f45130eae1ff38ef5dc149e2243044ee4a40e4
BLAKE2b-256 checksum
How to use checksums
87ba100b24ec9f10dace51bc7a014a16f2cd656ad1ad1c3598298803f0c02ba7
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

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