Skip to main content

hacknode — Python SDK for IP Risk, Proxy & AI Crawler Intelligence

Zero-dependency Python 3.11+ client (urllib + hmac) ready for FastAPI, Django, Flask, security automation, and log-analysis pipelines.

Install

pip install hacknode

Quick Start

from hacknode import HackNodeClient, verify_webhook_signature

client = HackNodeClient(api_key="hn_live_your_api_key")  # Free 50k/mo at https://hacknode.net/dashboard
res = client.lookup("20.171.207.12", user_agent="GPTBot/1.2")

print(res["risk"]["score"], res["risk"]["recommendation"])
if res["flags"]["is_spoofed_bot"]:
    raise PermissionError("Spoofed AI crawler blocked")

# Batch inspect up to 500 IPs or query AI crawler / country intelligence
gptbot = client.lookup_ai_bot("gptbot")
us_summary = client.lookup_country("US")

Metadata

Release files for hacknode 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hacknode 1.1.1
File Size Uploaded Provenance Actions
hacknode-1.1.1.tar.gz 2.8 kB With provenance Details for hacknode-1.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hacknode 1.1.1
File Interpreter ABI Platform Actions
hacknode-1.1.1-py3-none-any.whl Python 3 none any Details for hacknode-1.1.1-py3-none-any.whl

Total release size: 5.6 kB

Release files / hacknode-1.1.1.tar.gz

Download URL hacknode-1.1.1.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
68a4e726e474ac0e939c5635dd49de950688b731a187e37ea64be693668c9582
BLAKE2b-256 checksum
How to use checksums
5890bd6bc256ba8c1adeb3788a9c33762b9a975ccdda7c41c537e3e3e5562243
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Release files / hacknode-1.1.1-py3-none-any.whl

Download URL hacknode-1.1.1-py3-none-any.whl
Size 2.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8924734113803de74de46b24026dff0374b601863077292af021d57cfefbf3e6
BLAKE2b-256 checksum
How to use checksums
aa5dac469558e7ab9ce9b96207d8eec15415feb8d30dcf761e98dd464961241f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Security for hacknode 1.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for hacknode-1.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page