VNAddressCorrector
Correct name of 3 level division: ward (Phường/Xã), district (Quận/Huyện), province(Tỉnh/Thành Phố) in Vietnam address.
Installation
pip install vnac
Usage
>>> from vnac.corrector import AddressCorrector
>>> # Address must be in string format "..., {ward}, {district}, {province}" (split by ',')
>>> address = "Số 36A Đường 29, Ấp Tân Tiến, Tân Thìng Hội, Củ Chí, HCM"
>>> corrector = AddressCorrector()
>>> corrected = corrector.correct(address)
>>> corrected
Address(country=None, province=Division(name='HCM', code=79), district=Division(name='Củ Chi', code=None), ward=Division(name='Tân Thông Hội', code=None), street=Division(name='Số 36A Đường 29, Ấp Tân Tiến', code=None))
>>>str(corrected)
"Số 36A Đường 29, Ấp Tân Tiến, Tân Thông Hội, Củ Chi, HCM"
Metadata
Release files for vnac 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vnac-0.1.2.tar.gz | 3.9 kB | Without provenance | Details for vnac-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vnac-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for vnac-0.1.2-py3-none-any.whl |
Total release size: 8.5 kB
Release files / vnac-0.1.2.tar.gz
| Download URL | vnac-0.1.2.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0dda49e5daf1cfb61b4dc958cc88798bf9c92fde9f9ba02a29f8fbf28deac418
|
|
BLAKE2b-256 checksum How to use checksums |
90837bcaa08c69d63800938cca1ebb9c2e783b2d436dbad93e0d719a5fc70c3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.8.16 Linux/5.19.0-50-generic
|
Release files / vnac-0.1.2-py3-none-any.whl
| Download URL | vnac-0.1.2-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e11ae934c70dd5d78876fd23b21f9a63b05e3a259cdc1ae5d6bba5d2c9957dd9
|
|
BLAKE2b-256 checksum How to use checksums |
c628bb05a7c6e02ab453eed36596a390c88487ce8dd287e97c540ab91d23041d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.8.16 Linux/5.19.0-50-generic
|
Security for vnac 0.1.2
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.