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!

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yandex_geocoder-3.0.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yandex_geocoder-3.0.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file yandex_geocoder-3.0.1.tar.gz.

File metadata

  • Download URL: yandex_geocoder-3.0.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.11.1 Linux/5.15.0-1030-azure

File hashes

Hashes for yandex_geocoder-3.0.1.tar.gz
Algorithm Hash digest
SHA256 9150015565543643e82a61dfe6dad7e0591758ba71d46f23baa3c26e158bdf48
MD5 e5d02271c76bac4c70640f9414f90b3a
BLAKE2b-256 24b929b6c1b7de04339f69a46611b1c4a79e7982f0821895d953b0ed03dd3bd9

See more details on using hashes here.

File details

Details for the file yandex_geocoder-3.0.1-py3-none-any.whl.

File metadata

  • Download URL: yandex_geocoder-3.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.11.1 Linux/5.15.0-1030-azure

File hashes

Hashes for yandex_geocoder-3.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f30c6e078ba07e3f7af1ac5e9a938e5681d90dd8cca735f843fd8e99d3ec6c2a
MD5 3ed7eb74e17cb947811f17dced0d3223
BLAKE2b-256 1cb03ed31feebcc695fa0b98f7febbe209db3bd30b731b4dfba2a7996882893e

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

3.0.1 This release

2 files

3.0.0

2 files

2.0.0

2 files

1.0.1

1 file

1.0.0

1 file

0.1.0

1 file

0.0.6

1 file

0.0.5

1 file

0.0.4

1 file

0.0.3

1 file

0.0.2

1 file

0.0.1

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page