Vietnam Administrative Divisions (Provinces, Districts, Wards) for Python
Project description
hanhchinhvn
A modern, professional Python library for accessing Vietnam's administrative divisions (Provinces, Districts, Wards).
Installation
pip install hanhchinhvn
Usage
from hanhchinhvn import Province, District, Ward
# Get all provinces
provinces = Province.all()
for p in provinces:
print(p.name)
# Get specific province by code
hanoi = Province.get("01")
print(hanoi.name)
# Get districts
districts = hanoi.districts
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hanhchinhvn-0.0.2.tar.gz
(1.1 MB
view details)
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 hanhchinhvn-0.0.2.tar.gz.
File metadata
- Download URL: hanhchinhvn-0.0.2.tar.gz
- Upload date:
- Size: 1.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4b59fe24310c476fe9b802f69e5f3b3d592130198e4b934577c3c06d5e397bd
|
|
| MD5 |
b066900b332e3a4990b6af76e502e57e
|
|
| BLAKE2b-256 |
de393e80fdfc87d6ff334ebba521d856106f0a9779e83af6745942403b7e6f9a
|
File details
Details for the file hanhchinhvn-0.0.2-py3-none-any.whl.
File metadata
- Download URL: hanhchinhvn-0.0.2-py3-none-any.whl
- Upload date:
- Size: 1.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5319c68cc73ebd475d053abf1eb3cff9e2bac15efb123244eb62beb50b94c6e8
|
|
| MD5 |
a9ed6cabe711bce58104bf03db6e2c8f
|
|
| BLAKE2b-256 |
b1369b7bdb8d307c14620954a0c13ebab47b93c248fda4e50854e9c408f9c293
|