syscli-algeria
The 69 wilayas and 1541 communes of Algeria, taken from the Journal officiel, with French and Arabic names, ONS codes, and search that understands the many ways a place name gets spelled. The Python twin of the npm package @syscli/algeria, with the same data and the same search.
pip install syscli-algeria
from syscli_algeria import wilaya, communes, commune, search, changes
wilaya(16).name_fr # "Alger"
len(communes(68)) # 23
commune("1601").wilaya_code # "16"
search("bou saada")[0].wilaya.code # "68"
search("Bains Romains")[0].commune.name_fr # "Hammamet", by its old official name
search("tamanghaset")[0].commune.name_fr # "Tamenghasset", despite the typo
len(changes(2026)) # 108 communes moved to another wilaya in 2026
Up to date with loi 26-06 of 4 April 2026 (58 to 69 wilayas) and decret presidentiel 26-206. Every wilaya and commune traces back to a text published in the Journal officiel; see https://github.com/syscli/algeria.
No dependencies. Python 3.9 or later.
License
MIT
Metadata
Release files for syscli-algeria 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| syscli_algeria-0.1.0.tar.gz | 39.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| syscli_algeria-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 78.7 kB
Release files / syscli_algeria-0.1.0.tar.gz
| Download URL | syscli_algeria-0.1.0.tar.gz |
|---|---|
| Size | 39.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d06abe2b899dc1ebc95f2be2a3127472317f0acec7d593fecd6b0c8124aad967
|
|
BLAKE2b-256 checksum How to use checksums |
211bb3a59eeaf34f18eb15994b819c5d54a0cd5d716c14303fa1009d7a6ff262
|
| 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 10, 2026.
Transparency logRelease files / syscli_algeria-0.1.0-py3-none-any.whl
| Download URL | syscli_algeria-0.1.0-py3-none-any.whl |
|---|---|
| Size | 39.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1f556137c704bf2b2fafb2be6015517e5612534d76eca9e5f751b8db7b35b522
|
|
BLAKE2b-256 checksum How to use checksums |
782c2904e3e7d8109541fbe02b7bcc837e25b7cde2fa6c956ea676823326d823
|
| 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 10, 2026.
Transparency log