Skip to main content

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


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.3.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hanhchinhvn-0.0.3-py3-none-any.whl (1.4 MB view details)

Uploaded Python 3

File details

Details for the file hanhchinhvn-0.0.3.tar.gz.

File metadata

  • Download URL: hanhchinhvn-0.0.3.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

Hashes for hanhchinhvn-0.0.3.tar.gz
Algorithm Hash digest
SHA256 a3514fd5420bc07dc8aca3577c6685a18c057fd2fa51e6e43f45f0852bee2e51
MD5 139d4971e1805841b5e3b77f946f797e
BLAKE2b-256 3e01acc4bef309c422438cda481daaa1b55f1b5002ec13d40ee50e863da53b7a

See more details on using hashes here.

File details

Details for the file hanhchinhvn-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: hanhchinhvn-0.0.3-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

Hashes for hanhchinhvn-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a5c3d88c64b1f7831f79cd978d9d58df05eb6245e6d726c118bd6c11dcf92f41
MD5 65c5a561d2c3f60cce682d2e4d086565
BLAKE2b-256 b8b898997f853940bc67aeeb3dd40340845d706d6fa2baf4a0f81112b3d1fc9f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page