Skip to main content

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)

Release files for ETHregions2Woredas 0.1.1

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

Source distribution (sdist)

Source distribution for ETHregions2Woredas 0.1.1
File Size Uploaded
ETHregions2Woredas-0.1.1.tar.gz 9.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ETHregions2Woredas 0.1.1
File Interpreter ABI Platform
ETHregions2Woredas-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 20.2 kB

Release files / ETHregions2Woredas-0.1.1.tar.gz

Download URL ETHregions2Woredas-0.1.1.tar.gz
Size 9.9 kB
Tags Source
SHA-256 checksum
How to use checksums
0716517cc689cdc4e971453f57c18ca37f1988a8a1f46d6f85ca17e2c1f1c1d3
BLAKE2b-256 checksum
How to use checksums
01a3c8e14dac10ced880bbb8ae885fea060d3f1fd130e9ba0c8ad593ef5aaa2a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.5

Release files / ETHregions2Woredas-0.1.1-py3-none-any.whl

Download URL ETHregions2Woredas-0.1.1-py3-none-any.whl
Size 10.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1a7680a98fd284fbab6e9377c66636195f9efe589b73ae094c3c9b47eb46b80a
BLAKE2b-256 checksum
How to use checksums
a2e93787e5a6764fe29ddf06209d356bf1d573dede9931fdbb2bb20aefda9a9d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.5

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

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