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

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-0.0.2.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

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

aiogeoip-0.0.2-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aiogeoip-0.0.2.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5

File hashes

Hashes for aiogeoip-0.0.2.tar.gz
Algorithm Hash digest
SHA256 3c69ffa26917274eea0fd8c4bcba84e6cb8625dfe73958db3adb71d28a47718c
MD5 d41574535f2b654b550758cfe8a29ffe
BLAKE2b-256 dc1145a9d8722136d6b1277c821287ae55622ec0b712a93a51ff4a9cd33f7b87

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aiogeoip-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 13.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5

File hashes

Hashes for aiogeoip-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0776212749fdf24c443c0ea238142837dd93ae424f24767a59ef0f34c3bfadbc
MD5 59e555881eedc16acb291d220484cb22
BLAKE2b-256 d7b885a82f72b28996ca0a4e86b0e95119df3c1adbb7bb3a30fe81954bf3fd3c

See more details on using hashes here.

Supported by

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