Skip to main content

No project description provided

Project description

geo-ng

An installable python package that provides geographical information about States, Local Govenment Areas and towns in Nigeria

Installation

pip install geo-ng

Usage

# Get all existing states
from geo_ng import get_states
get_states()


# Get states by region
from geo_ng import get_states_by_region
get_states_by_region(region_code)


# Get all existing local govenment areas
from geo_ng import get_lgas
get_lgas()


# Get local govenment by state
from geo_ng import get_lgas_by_state
get_lgas_by_state(state_code)

# Get towns by local govenment area
from geo_ng import get_towns_by_lga
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.2.tar.gz (72.9 kB view hashes)

Uploaded Source

Built Distribution

geo_ng-0.1.2-py3-none-any.whl (77.1 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