A python wrapper around iptoasn.com
Project description
pyiptoasn is an APACHE licensed library written in Python providing an easy to use wrapper around https://iptoasn.com/.
Installation:
From source use
$ python setup.py install
or install from PyPi
$ pip install pyiptoasn
Documentation:
>>> from pyiptoasn import IPLookup
>>> ip = IPLookup()
>>> ip.lookup('88.207.251.51')
{u'as_number': 6661, u'last_ip': u'88.207.255.255', u'as_description': u'EPT-LU Entreprise des P. et T. Luxembourg', u'first_ip': u'88.207.128.0', u'as_country_code': u'LU', u'announced': True}
License:
Apache v2.0 License Copyright 2017 Martin Simon Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Buy me a coffee?
If you feel like buying me a coffee (or a beer?), donations are welcome:
WDC : WbcWJzVD8yXt3yLnnkCZtwQo4YgSUdELkj HBN : F2Zs4igv8r4oJJzh4sh4bGmeqoUxLQHPki DOGE: DRBkryyau5CMxpBzVmrBAjK6dVdMZSBsuS
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyiptoasn-0.1.tar.gz
(2.2 kB
view details)
File details
Details for the file pyiptoasn-0.1.tar.gz
.
File metadata
- Download URL: pyiptoasn-0.1.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 551a2b1bce31a3b8976d3fad49826b8ebbff079a5ca3ddc688c72851de9b074d |
|
MD5 | 1203ff870191461c73a23e389a6128f5 |
|
BLAKE2b-256 | 6c211767086bfffeda63c14b86c1c9d0ff35f74b3d330e8aed49075574aae43f |