Geo API Vietnam 🇻🇳
Geo API Vietnam is a package that helps you find locations in Vietnam with strongly cleaned data.
Main fuction:
- Clean up and correct spelling for Province and District.
- Search location by keyword or coordinates.
Location object with properties:
address: The address has been formatted correctly.province: Province is spelled correctly.district: District is spelled correctly.ward: Ward is spelled correctly.latitude: Latitude of the location.longitude: Longitude of the location.source: Origin oforiginal_address, including Excel, SQLite, GeoPy, and Google Maps API.original_address: Address from the above sources.json_data: The location's data is in the form of a dictionary.
How it works
- Use Vietnam location data to clean up and correct typos.
- Use APIs from GeoPy and Google Maps (Google Geocoding) to search for locations online.
- Use Excel and SQLite to save data locally.
- Search location in smart order: Excel > SQLite > GeoPy > Google Maps.
How to install
Install with Pip
Install new package.
pip install geoapivietnam
Upgrade to the latest version.
pip install geoapivietnam --upgrade
Install with GitHub
Install new package.
pip install git+https://github.com/tranngocminhhieu/geo-api-vietnam.git
Upgrade to the latest version.
pip install git+https://github.com/tranngocminhhieu/geo-api-vietnam.git --upgrade
How to use
Import module and read Sample usage notebook to explore this module.
from geoapivietnam import Correct, GetLocation
Metadata
Release files for geoapivietnam 0.3.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| geoapivietnam-0.3.4-py3-none-any.whl | Python 3 | none | any | Details |
Release files / geoapivietnam-0.3.4-py3-none-any.whl
| Download URL | geoapivietnam-0.3.4-py3-none-any.whl |
|---|---|
| Size | 466.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9105a2f08a5b8dcbc4cdb1a880b4df4ea75abff73cee71e36c37fc94fad57157
|
|
BLAKE2b-256 checksum How to use checksums |
b3fad24169f39e524492e33a95c39c6fb5485d7646a2c53bf945fa1b785bee4f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.13
|