Skip to main content

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


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-0.1.20.tar.gz (72.9 kB view hashes)

Uploaded Source

Built Distribution

geo_ng-0.1.20-py3-none-any.whl (77.2 kB view hashes)

Uploaded Python 3

Supported by

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