Yandex Geocoder
Get address coordinates via Yandex geocoder
Installation
Install it via pip tool:
pip install yandex-geocoder
or Poetry:
poetry add yandex-geocoder
Usage example
Yandex Geocoder requires an API developer key, you can get it here to use this library.
from decimal import Decimal
from yandex_geocoder import Client
client = Client("your-api-key")
coordinates = client.coordinates("Москва Льва Толстого 16")
assert coordinates == (Decimal("37.587093"), Decimal("55.733969"))
address = client.address(Decimal("37.587093"), Decimal("55.733969"))
assert address == "Россия, Москва, улица Льва Толстого, 16"
Development and contribution
First of all you should install Poetry.
- install project dependencies
make install
- run linters
make lint
- run tests
make test
- feel free to contribute!
Release files for yandex-geocoder 3.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| yandex_geocoder-3.0.1.tar.gz | 4.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| yandex_geocoder-3.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.2 kB
Release files / yandex_geocoder-3.0.1.tar.gz
| Download URL | yandex_geocoder-3.0.1.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9150015565543643e82a61dfe6dad7e0591758ba71d46f23baa3c26e158bdf48
|
|
BLAKE2b-256 checksum How to use checksums |
24b929b6c1b7de04339f69a46611b1c4a79e7982f0821895d953b0ed03dd3bd9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.1 CPython/3.11.1 Linux/5.15.0-1030-azure
|
Release files / yandex_geocoder-3.0.1-py3-none-any.whl
| Download URL | yandex_geocoder-3.0.1-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f30c6e078ba07e3f7af1ac5e9a938e5681d90dd8cca735f843fd8e99d3ec6c2a
|
|
BLAKE2b-256 checksum How to use checksums |
1cb03ed31feebcc695fa0b98f7febbe209db3bd30b731b4dfba2a7996882893e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.1 CPython/3.11.1 Linux/5.15.0-1030-azure
|