Skip to main content

Nepali Municipalities

Downloads

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 on latest version now you can autocomplete other info when municipalities name is given.

Contents

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

To Autocomplete all info based on municipalities name provided for example if you provide municipalities names then rest of district and province will be autocompleted.

from nepali_municipalities import NepalMunicipality

print(NepalMunicipality().all_data_info('Kathmandu'))
[{'province': 'Province 3', 'country': 'Nepal', 'id': 311, 'district': 'Kathmandu', 'name': 'Kathmandu'}]

If No matching municipalities are supplied The Exception is thrown as below

No matching info for provided municipalities try changing spelling or try another name.

To get list of all districts of Nepal

from nepali_municipalities import NepalMunicipality

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

To get list of all municipalities of Nepal based on District provided.

from 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.

#Update on new version Autocomplete This version has major update as you can autocomplete all remaining fields when municipalities name is provided. you can now use Nepali Municipalities API too.

License

MIT

Release files for nepali-municipality 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nepali-municipality 0.1.4
File Size Uploaded
nepali-municipality-0.1.4.tar.gz 15.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nepali-municipality 0.1.4
File Interpreter ABI Platform
nepali_municipality-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 46.9 kB

Release files / nepali-municipality-0.1.4.tar.gz

Download URL nepali-municipality-0.1.4.tar.gz
Size 15.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ca9cb3318d3e0bb70d0a04025ed925f06aeb270ae180f24045d041a1d6502037
BLAKE2b-256 checksum
How to use checksums
948f6e966f1491eaf0e968398021825ef504ebe546a8de462b06df935f377717
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10

Release files / nepali_municipality-0.1.4-py3-none-any.whl

Download URL nepali_municipality-0.1.4-py3-none-any.whl
Size 31.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e6ef593c87b86f6e8d8151fdd1519bde732f627ba20190e3ec3c20e0df839d78
BLAKE2b-256 checksum
How to use checksums
316d435057053fb23109fb3502068cd99b8840a6e50ffcc3e691ea99e1b1320d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10

Release history Release notifications | RSS feed

1.0.0

2 release files

This release

0.1.4 This release

2 release files

0.1.2

2 release files

0.1.0

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page