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

from typing import Dict

from criminalip.CriminalIP import IP
from criminalip.CriminalIP import Banner
from criminalip.CriminalIP import Domain
from criminalip.CriminalIP import Exploit

ip = IP('api_key_from_criminalip_io')
ip_data: Dict[str, 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.1.1.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

PyCriminalIP-0.1.1-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file PyCriminalIP-0.1.1.tar.gz.

File metadata

  • Download URL: PyCriminalIP-0.1.1.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for PyCriminalIP-0.1.1.tar.gz
Algorithm Hash digest
SHA256 cb1e898f976abce69ae49025be3ec069e1c2598288424a891616325f0503fbb6
MD5 136c86a1d068615a5ae69a98e9b83e02
BLAKE2b-256 6d19872050d8aba8d3d32f06d6b65ec623073c24cec0246cb2f46de131e4f1b6

See more details on using hashes here.

File details

Details for the file PyCriminalIP-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for PyCriminalIP-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 988406ec25725c1ba2864992996535a23aabcc3d36f4ef41bbc5b9e58b11ea75
MD5 9432b2aae9cff5c062469015737725b1
BLAKE2b-256 da1eb2a41a6c47041b84dd1299faed53988e74a74d393f011e406a0c6aa69779

See more details on using hashes here.

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