A brief description of your package
Project description
ETHRegions2Woredas Package
A Python package that provides a complete list of regions, zones, and woredas.
Installation
You can install the package using pip:
pip install ETHRegions2Woredas
USAGE
Here's how to use the package:
from ETHRegions2Woredas import (
get_all_regions,
get_all_zones,
get_zones_by_region,
get_woredas_by_zone,
get_woredas_by_region,
get_woredas_by_region_and_zone,
get_region_by_woreda,
get_region_by_zone,
get_zone_by_woreda,
get_all_woredas,
)
# Get all regions
regions = get_all_regions()
print("All Regions:", regions)
# Get all zones
zones = get_all_zones()
print("All Zones:", zones)
# Get zones by specific region
zones_in_region = get_zones_by_region('Amhara')
print("Zones in Amhara:", list(zones_in_region))
# Get woredas by specific zone
woredas_in_zone = get_woredas_by_zone('South Wollo Zone')
print("Woredas in South Wollo Zone:", woredas_in_zone)
# Get woredas by specific region
woredas_in_region = get_woredas_by_region('Amhara')
print("Woredas in Amhara:", woredas_in_region)
# Get woredas by specific region and zone
woredas_in_region_zone = get_woredas_by_region_and_zone('Amhara', 'South Wollo Zone')
print("Woredas in Amhara and South Wollo Zone:", woredas_in_region_zone)
# Get region by specific woreda
region_of_woreda = get_region_by_woreda('Amhara Sayint')
print("Region of Amhara Sayint:", region_of_woreda)
# Get region by specific zone
region_of_zone = get_region_by_zone('South Wollo Zone')
print("Region of South Wollo Zone:", region_of_zone)
# Get zone by specific woreda
zone_of_woreda = get_zone_by_woreda('Amhara Sayint')
print("Zone of Amhara Sayint:", zone_of_woreda)
# Get all woredas
all_woredas = get_all_woredas()
print("All Woredas:", all_woredas)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ETHregions2Woredas-0.1.1.tar.gz.
File metadata
- Download URL: ETHregions2Woredas-0.1.1.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0716517cc689cdc4e971453f57c18ca37f1988a8a1f46d6f85ca17e2c1f1c1d3
|
|
| MD5 |
cc41e6e2e8af79f695717f0bba304a99
|
|
| BLAKE2b-256 |
01a3c8e14dac10ced880bbb8ae885fea060d3f1fd130e9ba0c8ad593ef5aaa2a
|
File details
Details for the file ETHregions2Woredas-0.1.1-py3-none-any.whl.
File metadata
- Download URL: ETHregions2Woredas-0.1.1-py3-none-any.whl
- Upload date:
- Size: 10.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a7680a98fd284fbab6e9377c66636195f9efe589b73ae094c3c9b47eb46b80a
|
|
| MD5 |
46e934a5c040ba03049fdef095b3f9f7
|
|
| BLAKE2b-256 |
a2e93787e5a6764fe29ddf06209d356bf1d573dede9931fdbb2bb20aefda9a9d
|