Skip to main content

Provides local API to get Altitude of any point in Europe by Lat/Lon coordinates.

Project description

eurodem2km

Import the DemAPI class as follows:

from eurodem2km.api import DemAPI

and use its method "getAltitude(lat: float, lon: float)" to get the location altitude'

altitude = DemAPI.getAltitude(44.159,10.386)


DEVELOPMENT

Clone the code and install as an editable install using:
python -m pip install -e .


PACKAGING

Follow this fine tutorial: https://realpython.com/pypi-publish-python-package/

Install in virtual environment the build and twine tools:
python -m pip install build twine keyrings.alt

Build:
python -m build

Check output:
twine check dist/*

Upload to PyPI:
twine upload dist/*

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

eurodem2km-1.0.5.tar.gz (7.0 MB view hashes)

Uploaded Source

Built Distribution

eurodem2km-1.0.5-py3-none-any.whl (7.0 MB 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