Optimized Geo API for Vietnam
Project description
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
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
geoapivietnam-0.2.6-py3-none-any.whl
(293.2 kB
view details)
File details
Details for the file geoapivietnam-0.2.6-py3-none-any.whl
.
File metadata
- Download URL: geoapivietnam-0.2.6-py3-none-any.whl
- Upload date:
- Size: 293.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf0c118a282a901ca9aef4dcaea523e34726e225bc2f85c27471cd568bf315fb |
|
MD5 | 749022b450fc9c1c3a8f7cb674e6a50d |
|
BLAKE2b-256 | e223afae33f2a8507deac91a5d1aceddbaf7b39152e8c9fc4ef94e2b7449d850 |