Metadata-Version: 2.4
Name: hacknode
Version: 1.1.1
Summary: Zero-dependency Python client for HackNode IP Risk, Mobile CGNAT, Residential Proxy & AI Crawler Intelligence
License: MIT
Project-URL: Homepage, https://hacknode.net
Project-URL: Documentation, https://hacknode.net/docs
Project-URL: Repository, https://github.com/voidxgroup/hacknode-net
Keywords: ip-intelligence,proxy-detection,residential-proxy,ai-crawlers,gptbot,fraud-detection
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Security
Classifier: Topic :: Internet :: WWW/HTTP
Requires-Python: >=3.11
Description-Content-Type: text/markdown

# `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

```bash
pip install hacknode
```

## Quick Start

```python
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")
```

* **Live API & Docs**: [https://hacknode.net/docs](https://hacknode.net/docs)
* **MCP Server**: `https://hacknode.net/mcp`
