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
Metadata
Release files for PyCriminalIP 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| PyCriminalIP-0.2.0.tar.gz | 6.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| PyCriminalIP-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.6 kB
Release files / PyCriminalIP-0.2.0.tar.gz
| Download URL | PyCriminalIP-0.2.0.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e513865d3098d0d521341534cb129cb1155d327daa2ceb9f9937b3569cd43717
|
|
BLAKE2b-256 checksum How to use checksums |
397620b3bfb42f60692b0298196a54f6afcaa5cef206992fc249715e2b9351c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.8
|
Release files / PyCriminalIP-0.2.0-py3-none-any.whl
| Download URL | PyCriminalIP-0.2.0-py3-none-any.whl |
|---|---|
| Size | 7.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0e32ff94fcdab3014d3fce3fe86106e2e7a43cfb7c4f5c5242839ee484290f33
|
|
BLAKE2b-256 checksum How to use checksums |
184d509431518f240501ee7a8bd395d6b0a2652462d14f5e6357b6ff34d92c50
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.8
|