Real asynchronous geolocation by IP address with asyncio support.
Project description
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.
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 to3
in a time interval in secondsN
by default2
. You can still call thegeoip
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
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | a563ceae152917d981ff4be40842ef58865311c23a6d706eb8aa701d6491545a |
|
MD5 | 2c5507b39ea8f539ca693b1458a48506 |
|
BLAKE2b-256 | 72b019aea3d3bbb6f6d050b0cc91d6daa036d5972547a568c9fd2dffc7e231fa |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11990002b6a26209b7631f37e0807fe4ea48aa7db72d0a1b827e8bbafaaf1baf |
|
MD5 | cabfd2ebe16f06e6812416232f2f020b |
|
BLAKE2b-256 | 0eb2635093c5969f0c32bdb1b4e373bf1b6455b0089dda17e9049f9e3040d972 |