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
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
Hashes for eurodem2km-1.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a79316714911d5d1a082e78a968a62c36a29301f9f0855d00867e9ade85f2845 |
|
MD5 | 3eb8b3c2a531eb79c27789aa41c9a6c4 |
|
BLAKE2b-256 | 2a6eb99b2eceae0f9e1d0c888c6b58c97f354d6944b13a21fdb1b0b1c737244e |