kricket-client
Async Python client for the Kricket Protocol — DeFi intelligence APIs for rug detection, wallet profiling, price feeds, smart contract analysis, and notifications.
Requires Python 3.10+. All methods are async.
Installation
pip install kricket-client
Quick Start
import asyncio
from kricket_client import KricketClient
async def main():
async with KricketClient(api_key="your-api-key") as kricket:
# Scan a token for rug-pull risk
result = await kricket.mantis.scan("TOKEN_ADDRESS")
print(result.risk_score.rating) # 'low' | 'moderate' | 'high' | 'critical'
print(result.risk_score.score) # 0–100
# Get a wallet intelligence profile
wallet = await kricket.firefly.get_wallet("WALLET_ADDRESS")
print(wallet.score, wallet.style, wallet.win_rate)
asyncio.run(main())
Clients
| Client | Description | Key Methods |
|---|---|---|
kricket.mantis |
Rug-pull detection & token risk scoring | scan(token), get_score(token), add_to_watchlist(tokens), get_watchlist() |
kricket.firefly |
Wallet intelligence & smart money signals | get_wallet(address), get_signals(), get_leaderboard(), track(address) |
kricket.pulse |
Unified price feeds (CEX + DEX) | get_price(symbol), get_spread(symbol) |
kricket.chirps |
Notification channel management | list_channels(), create_channel(config), delete_channel(id) |
kricket.debugger |
Smart contract vulnerability analysis | analyze(source, language) |
Configuration
from kricket_client import KricketClient, KricketConfig
config = KricketConfig(
api_key="your-api-key",
base_url="https://api-cricket.vylth.com/api/kricket", # optional override
timeout=30.0, # seconds, default 30
)
kricket = KricketClient(config)
Error Handling
from kricket_client import KricketError
try:
result = await kricket.mantis.scan(token)
except KricketError as e:
print(e.code, e.message, e.status)
Full Docs
Metadata
Release files for kricket-client 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kricket_client-0.1.0.tar.gz | 11.9 kB | Without provenance | Details for kricket_client-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kricket_client-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for kricket_client-0.1.0-py3-none-any.whl |
Total release size: 23.3 kB
Release files / kricket_client-0.1.0.tar.gz
| Download URL | kricket_client-0.1.0.tar.gz |
|---|---|
| Size | 11.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
be9df83722a57e255c4fae51a1f8da0cb5a45cbe95bb1b464484131ce0349ec1
|
|
BLAKE2b-256 checksum How to use checksums |
f54b63f3dee6877fc46eb39bea44963adb3fbbd58709d97eef9a3adf57fde725
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / kricket_client-0.1.0-py3-none-any.whl
| Download URL | kricket_client-0.1.0-py3-none-any.whl |
|---|---|
| Size | 11.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6ddfaa0cdbe69895dcfe6c949803f4af3b42955ff5e3502330d4dd0b106f9715
|
|
BLAKE2b-256 checksum How to use checksums |
ea00f1480df1eb8e8860b356340b1476b4bf113a7b937f9644d4b222b5d4ecad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for kricket-client 0.1.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.