agentrisk-base-v1 1.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- agentrisk_base_v1-1.0.0/PKG-INFO +17 -0
- agentrisk_base_v1-1.0.0/README.md +8 -0
- agentrisk_base_v1-1.0.0/agentrisk/__init__.py +17 -0
- agentrisk_base_v1-1.0.0/agentrisk_base_v1.egg-info/PKG-INFO +17 -0
- agentrisk_base_v1-1.0.0/agentrisk_base_v1.egg-info/SOURCES.txt +8 -0
- agentrisk_base_v1-1.0.0/agentrisk_base_v1.egg-info/dependency_links.txt +1 -0
- agentrisk_base_v1-1.0.0/agentrisk_base_v1.egg-info/requires.txt +1 -0
- agentrisk_base_v1-1.0.0/agentrisk_base_v1.egg-info/top_level.txt +1 -0
- agentrisk_base_v1-1.0.0/pyproject.toml +12 -0
- agentrisk_base_v1-1.0.0/setup.cfg +4 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: agentrisk-base-v1
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: Token risk scoring and honeypot detection API for Base Network
|
|
5
|
+
Keywords: base,crypto,honeypot,security,ai-agent,x402
|
|
6
|
+
Requires-Python: >=3.8
|
|
7
|
+
Description-Content-Type: text/markdown
|
|
8
|
+
Requires-Dist: httpx>=0.24.0
|
|
9
|
+
|
|
10
|
+
# AgentRisk Python SDK
|
|
11
|
+
|
|
12
|
+
Official Python client for AgentRisk API on Base Network.
|
|
13
|
+
|
|
14
|
+
## Installation
|
|
15
|
+
```bash
|
|
16
|
+
pip install agentrisk
|
|
17
|
+
```
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import httpx
|
|
2
|
+
|
|
3
|
+
class AgentRisk:
|
|
4
|
+
def __init__(self, base_url: str = "https://api.agentrisk.dev"):
|
|
5
|
+
self.base_url = base_url.rstrip("/")
|
|
6
|
+
|
|
7
|
+
def quick_scan(self, token_address: str) -> dict:
|
|
8
|
+
response = httpx.get(f"{self.base_url}/v1/token/quick", params={"address": token_address})
|
|
9
|
+
response.raise_for_status()
|
|
10
|
+
return response.json()
|
|
11
|
+
|
|
12
|
+
def deep_scan(self, token_address: str, tx_hash: str = None) -> dict:
|
|
13
|
+
params = {"address": token_address}
|
|
14
|
+
if tx_hash:
|
|
15
|
+
params["tx_hash"] = tx_hash
|
|
16
|
+
response = httpx.get(f"{self.base_url}/v1/token/deep", params=params)
|
|
17
|
+
return {"status_code": response.status_code, "data": response.json()}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: agentrisk-base-v1
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: Token risk scoring and honeypot detection API for Base Network
|
|
5
|
+
Keywords: base,crypto,honeypot,security,ai-agent,x402
|
|
6
|
+
Requires-Python: >=3.8
|
|
7
|
+
Description-Content-Type: text/markdown
|
|
8
|
+
Requires-Dist: httpx>=0.24.0
|
|
9
|
+
|
|
10
|
+
# AgentRisk Python SDK
|
|
11
|
+
|
|
12
|
+
Official Python client for AgentRisk API on Base Network.
|
|
13
|
+
|
|
14
|
+
## Installation
|
|
15
|
+
```bash
|
|
16
|
+
pip install agentrisk
|
|
17
|
+
```
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
httpx>=0.24.0
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
agentrisk
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=61.0"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "agentrisk-base-v1"
|
|
7
|
+
version = "1.0.0"
|
|
8
|
+
description = "Token risk scoring and honeypot detection API for Base Network"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.8"
|
|
11
|
+
dependencies = ["httpx>=0.24.0"]
|
|
12
|
+
keywords = ["base", "crypto", "honeypot", "security", "ai-agent", "x402"]
|