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
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 eurodem2km-1.0.5.tar.gz.
File metadata
- Download URL: eurodem2km-1.0.5.tar.gz
- Upload date:
- Size: 7.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7272c1a8e81822f86378cc3a1f552e5cbe9a96e31b880aa2ae930ab8a86ee53f
|
|
| MD5 |
637871cfdf384a2be8309043af63368d
|
|
| BLAKE2b-256 |
dc3e4ea842dce58c7afe18c000533f51e43728174339011c05430dc27f728bfb
|
File details
Details for the file eurodem2km-1.0.5-py3-none-any.whl.
File metadata
- Download URL: eurodem2km-1.0.5-py3-none-any.whl
- Upload date:
- Size: 7.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a79316714911d5d1a082e78a968a62c36a29301f9f0855d00867e9ade85f2845
|
|
| MD5 |
3eb8b3c2a531eb79c27789aa41c9a6c4
|
|
| BLAKE2b-256 |
2a6eb99b2eceae0f9e1d0c888c6b58c97f354d6944b13a21fdb1b0b1c737244e
|