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
aiogeoip-1.0.tar.gz
(12.0 kB
view hashes)
Built Distribution
aiogeoip-1.0-py3-none-any.whl
(13.9 kB
view hashes)