Skip to main content

Yandex Geocoder

Get address coordinates via Yandex geocoder

test Coverage Status Code style: black Python versions PyPi

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)

Source distribution for yandex-geocoder 3.0.1
File Size Uploaded
yandex_geocoder-3.0.1.tar.gz 4.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for yandex-geocoder 3.0.1
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

3.0.1 This release

2 release files

3.0.0

2 release files

2.0.0

2 release files

1.0.1

1 release file

1.0.0

1 release file

0.1.0

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page