A python package that provides geographical information about States, Local Govenment Areas and towns in Nigeria
Project description
geo-ng
A python package that provides geographical information about States, Local Govenment Areas and towns in Nigeria
Installation
pip install geo-ng
Upgrade
pip install geo-ng --upgrade
Usage
# import package
from geo_ng import geo_ng
# Get all existing states
geo_ng.get_states()
# Get states by region
geo_ng.get_states_by_region(region_code)
# Get all existing local govenment areas
geo_ng.get_lgas()
# Get local govenment by state
geo_ng.get_lgas_by_state(state_code)
# Get towns by local govenment area
geo_ng.get_towns_by_lga(lga_code)
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
geo_ng-1.0.0.tar.gz
(72.9 kB
view hashes)
Built Distribution
geo_ng-1.0.0-py3-none-any.whl
(77.2 kB
view hashes)