Skip to main content

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


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 hashes)

Uploaded Source

Built Distribution

PyCriminalIP-0.2.0-py3-none-any.whl (7.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page