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


Changelog

0.0.2 (02-10-2020)

Features

  • 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.

Bugfixes

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

Improved Documentation

  • Creation of the page to document the synchronous functions.

Misc

  • Basic tests for geoip function on all backends

0.0.3 (14-10-2020)

Bugfixes

  • #2 ModuleNotFoundError: No module named 'ujson'

0.0.4 (17-10-2020)

Features

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

Misc

  • #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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file aiogeoip-1.0.tar.gz.

File metadata

  • Download URL: aiogeoip-1.0.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for aiogeoip-1.0.tar.gz
Algorithm Hash digest
SHA256 a563ceae152917d981ff4be40842ef58865311c23a6d706eb8aa701d6491545a
MD5 2c5507b39ea8f539ca693b1458a48506
BLAKE2b-256 72b019aea3d3bbb6f6d050b0cc91d6daa036d5972547a568c9fd2dffc7e231fa

See more details on using hashes here.

File details

Details for the file aiogeoip-1.0-py3-none-any.whl.

File metadata

  • Download URL: aiogeoip-1.0-py3-none-any.whl
  • Upload date:
  • Size: 13.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for aiogeoip-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 11990002b6a26209b7631f37e0807fe4ea48aa7db72d0a1b827e8bbafaaf1baf
MD5 cabfd2ebe16f06e6812416232f2f020b
BLAKE2b-256 0eb2635093c5969f0c32bdb1b4e373bf1b6455b0089dda17e9049f9e3040d972

See more details on using hashes here.

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