Skip to main content

Real asynchronous geolocation by IP address with asyncio support.

Project description

AioGeoIP logo

Real asynchronous geolocation by IP address with Asyncio support.

Get the geolocation of IPs asynchronously or synchronously using the IP-API service with cached requests for greater optimization of your software, providing back end with urllib and requests.

PyPI PyPI - Python Version GitHub Workflow Status GitHub Workflow Status Read the Docs GitHub repo size GitHub

Docs + Pip + Multiplataform + CHANGELOG


0.0.2 (02-10-2020)


  • If a request is not successful (return code 200) it will be tried again by N set by default to 3 in a time interval in seconds N by default 2 . You can still call the geoip function only with a mandatory IPv4 argument, so it will have the default behavior of trying 3 times.


  • All backends deal with the connection error and return code 429 error.

Improved Documentation

  • Creation of the page to document the synchronous functions.


  • Basic tests for geoip function on all backends

0.0.3 (14-10-2020)


  • #2 ModuleNotFoundError: No module named 'ujson'

0.0.4 (17-10-2020)


  • #3 function that returns the external IP address, private IP and hostname.


  • #4 Support to python3.4+

Improved Documentation

Function geoip in aio, requests and urllib background. Improved documentation for the Geolocation class.

Project details

Download files

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

Source Distribution

aiogeoip-1.0.tar.gz (12.0 kB view hashes)

Uploaded source

Built Distribution

aiogeoip-1.0-py3-none-any.whl (13.9 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page