A Python package designed to provide easy access to the geographic coordinates (latitude and longitude) of various Egyptian subdivisions.
Project description
EGYGEO
EGYGEO is a Python package designed to provide easy access to the geographic coordinates (latitude and longitude) of various Egyptian subdivisions. It offers a function, get_coordinates
, allowing users to retrieve the geographic coordinates of a specified Egyptian subdivision by providing its name in either Arabic or English.
Installation
You can install egygeo using pip:
pip install egygeo
Usage
from egygeo import get_coordinates
# Get coordinates for Cairo
latitude, longitude = get_coordinates('Cairo')
print(f"The coordinates of Cairo are: {latitude}, {longitude}")
from egygeo import get_name
lat, lon = 29.8951716, 31.1991806
location_name = get_name(lat, lon)
print(f"The subdivision at {lat}, {lon} is: {location_name}")
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
egygeo-1.1.1-py3-none-any.whl
(3.4 kB
view hashes)