Skip to main content

Nepali municipalities is a python package to get data about Nepali municipalities based on districts

Reason this release was yanked:

not stable

Project description

Nepali Municipalities

This is a simple and small python package contributed by me to get all list of municipalities of Nepal based on given districts of Nepal.

Contents

Installation Use the package manager pip to install nepal-municipalities.

To get list of all districts of Nepal

from src.nepali_municipalities import NepalMunicipality

print(NepalMunicipality().all_districts())
# ['Bhojpur', 'Dhankuta', 'Ilam', 'Jhapa', ......]

To get list of all municipalities of Nepal

from src.nepali_municipalities import NepalMunicipality

print(NepalMunicipality('Kathmandu').all_municipalities())
# ['Kathmandu', 'Kageshwori Manohara', 'Kirtipur', 'Gokarneshwor', 'Chandragiri', 'Tokha', 'Tarkeshwor', 'Dakchinkali', 'Nagarjun', 'Budhanilkantha', 'Shankharapur']

print(NepalMunicipality('Kaski').all_municipalities())

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

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

nepali-municipality-0.0.7.tar.gz (19.9 kB view hashes)

Uploaded Source

Built Distribution

nepali_municipality-0.0.7-py3-none-any.whl (20.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