Skip to main content

A Python package to get information about provinces, districts, and municipalities of Nepal

Project description

Nepal Geo Information

A simple Python package to retrieve detail information about geography information of Nepal.

Installation

Install it using pip (if converted to a package):

pip install pynepalgeo

Features for NepalDistricts Class

  • Get a list of all districts.
  • Retrieve specific details about a district by name.
  • Access district area, official website, and headquarter.
from pynepalgeo import NepalDistrict

np = NepalDistrict() #create class

Get all districts

all_districts = np.get_all_districts()

Get details of a specific district

detail = np.get_district_detail("Kathmandu")

Get area of a district in sqkm

area = np.get_district_area("Kathmandu")

Get official website of a district

website = np.get_district_website("Kathmandu")

Get district headquarter

headquarter = np.get_district_headquarter("Kathmandu")

Features for Nepal Municipality Class

  • Get a list of all municipalities.
  • Retrieve specific details about a municipality by name.
  • Access district area, official website, type, and total wards.
from pynepalgeo import NepalMunicipalities

np = NepalMunicipalities() #create class

Get all municipality

all_municipalities = np.get_all_municipalities()

Get details of a specific municipality

detail = np.get_municipality_detail("Jaljala")

Get area of a municipality in sqkm

area = np.get_municipality_area("Jaljala")

Get official website of a municipality

website = np.get_municipality_website("Jaljala")

Get official website of a municipality

type = np.get_municipality_type("Jaljala")

Features for Nepal Province Class

  • Get a list of all provinces.
  • Retrieve specific details about a province by name.
  • Access province area, official website, and headquarter.
from pynepalgeo import NepalProvinces

np = NepalProvinces() #create class

Get all province

all_province = np.get_all_provinces()

Get details of a specific province

detail = np.get_province_detail("Gandaki")

Get area of a province in sqkm

area = np.get_province_area("Gandaki")

Get official website of a province

website = np.get_province_website("Gandaki")

Get official headquarter of a province

type = np.get_province_headquarter("Gandaki")

Features for Nepal NepalFederalInfo Class

  • Get a list of all district.
  • Get a list of all municipalities.
from pynepalgeo import NepalFederalInfo

np = NepalFederalInfo() #create class

Get all federal data

all_data = np.get_all_data()

Get all province

all_district_province_wise = np.get_list_of_district()

Get all municipality province wise

detail = np.get_list_of_municipalities("Gandaki")

Get all municipality district wise

detail = np.get_list_of_municipalities("Gandaki","Parbat")

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

pynepalgeo-1.0.0.tar.gz (47.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pynepalgeo-1.0.0-py3-none-any.whl (52.2 kB view details)

Uploaded Python 3

File details

Details for the file pynepalgeo-1.0.0.tar.gz.

File metadata

  • Download URL: pynepalgeo-1.0.0.tar.gz
  • Upload date:
  • Size: 47.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.4

File hashes

Hashes for pynepalgeo-1.0.0.tar.gz
Algorithm Hash digest
SHA256 77b772d9e06fa20ca636cd2122229d9d5e1be58d3d1d82525c36c3c18e15b1bf
MD5 99b5668ffcdaa3de44a3ab5812bd9329
BLAKE2b-256 4c80291ef937485af6a90aa2021407f79b219df12d760576e273dd600ef06c1b

See more details on using hashes here.

File details

Details for the file pynepalgeo-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: pynepalgeo-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 52.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.4

File hashes

Hashes for pynepalgeo-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3940aeac413849269e7d569e7061425d53dd35b075b4105f2e27d423c55f172c
MD5 93a9a38fb26f38a71480b2130abb34b6
BLAKE2b-256 44f708cc422ed009c7cd4f2fbce588d76a3879f4a6f1be67ca582a33a873a7b4

See more details on using hashes here.

Supported by

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