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.

Files for aiogeoip, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size aiogeoip-0.0.4-py3-none-any.whl (13.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size aiogeoip-0.0.4.tar.gz (8.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page