Skip to main content
File added late

1 file was added to this release more than 14 days after its initial publication. Inspect the release files before installing.

LocationIQ Python geocoder

Python client library for LocationIQ Gecoding Services

Usage

LocationIQ python client library can be installed using pip:

$ pip install locationiq

Load the locationiq geocoding module using the below line:

from locationiq.geocoder import LocationIQ

Now create a instance of the geocoder module, pass the LocationIQ API Token as the parameter to module’s constructor.

geocoder = LocationIQ(key)

Forward Geocoding

To convert the street addresses into geographic coordinataes (latitude and longitude)

geocoder.geocode(‘Charminar Hyderabad’)

Reverse Geocoding

To convert geographic coordinates into street addresses

geocoder.reverse_geocoder(17.3850, 78.4867)

Exceptions

if there is any error, below exceptions will be raised.
  • LocationIqNoPlacesFound if there are no matching results

  • LocationIqInvalidKey If the provided api_key is invalid.

  • LocationIqInvalidRequest If you go past your rate limit.

  • LocationIqRequestLimitExeceeded If you go past ratelimits.

  • LocationIqServerError occurs basically when there’s server error

Metadata

Release files for locationiq 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

File added late

1 file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release files before installing.

Source distribution (sdist)

Source distribution for locationiq 0.0.2
File Size Uploaded
locationiq-0.0.2.tar.gz 3.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for locationiq 0.0.2
File Interpreter ABI Platform
locationiq-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 10.3 kB

Release files / locationiq-0.0.2.tar.gz

Download URL locationiq-0.0.2.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
103da77b76f08cfd0d86ae9f94e1c87c839da538488f02106382058618f7778f
BLAKE2b-256 checksum
How to use checksums
f9172bd7bb6d310f9d573f794a147431f64ccf37b5af5c442d6328ccef83d9ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / locationiq-0.0.2-py3-none-any.whl

File added late

This file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release file before installing.

Download URL locationiq-0.0.2-py3-none-any.whl
Size 6.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1a2db66181558660189b70d9c4df3d3ad52af3c7a7f44c50035ed9fe4ee35efc
BLAKE2b-256 checksum
How to use checksums
2d26337179fbc8e5180ce85c7fbc859d64e4f1b1ffec4d3cad9561a154d086be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

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