Python library for CriminalIP(https://www.criminalip.io/)
Project description
CriminalIP library for Pyhton(unofficial)
Installation
- Install from git
git clone https://github.com/haginara/PyCriminalIP.git
cd PyCriminalIP
python setup.py install
- Install from pypi
pip install pycriminalip
How-to-Use
Prepare the API Key from Criminalip.io
Import classes and create an objects
import typing
from criminalip import CriminalIP
ip = IP('api_key_from_criminalip_io')
ip_data: dict[str, typing.Any] = ip.data('aispera.com')
print(ip_data)
Development
It requires pipenv
to manage the requirements. And it also requires make command as optional
pipenv install
Unit Testing
pipenv run pytest
# or
pipenv run python -m unittest tests.test_CriminalIP
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
PyCriminalIP-0.2.0.tar.gz
(6.8 kB
view details)
Built Distribution
File details
Details for the file PyCriminalIP-0.2.0.tar.gz
.
File metadata
- Download URL: PyCriminalIP-0.2.0.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e513865d3098d0d521341534cb129cb1155d327daa2ceb9f9937b3569cd43717 |
|
MD5 | dac6054d4b331b8875e651fd58e674aa |
|
BLAKE2b-256 | 397620b3bfb42f60692b0298196a54f6afcaa5cef206992fc249715e2b9351c4 |
File details
Details for the file PyCriminalIP-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: PyCriminalIP-0.2.0-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e32ff94fcdab3014d3fce3fe86106e2e7a43cfb7c4f5c5242839ee484290f33 |
|
MD5 | 52937bab369ce4df09dcf26b6aabcc86 |
|
BLAKE2b-256 | 184d509431518f240501ee7a8bd395d6b0a2652462d14f5e6357b6ff34d92c50 |