SDK
Python SDK for Yoriichi. Read DEX data, analyze signals, and see what others cannot.
pip install yoriichiBasic Usage
from yoriichi import read
from yoriichi.models import DexToken
token = DexToken(
token_mint="YoriXyz...pump",
symbol="YORI",
dex_volume_24h=800_000.0,
dex_volume_7d_avg=400_000.0,
liquidity_usd=500_000.0,
unique_traders_24h=600,
buy_sell_ratio=1.6,
pool_count=6,
)
report = read(token)
print(report.phase) # ASCENDANT
print(report.breathing_score) # 88.4
print(report.yoriichi_read)Batch Processing
from yoriichi import read_batch, strongest_dex
tokens = [token1, token2, token3]
# Read all tokens
reports = read_batch(tokens)
for report in reports:
print(f"{report.symbol}: {report.phase} ({report.breathing_score})")
# Find strongest DEX signal
best = strongest_dex(tokens)
print(f"Strongest: {best.symbol} — {best.phase}")Dashboard Integration
# React dashboard updates every 4 seconds # Dark orange/red DEX theme cd dashboard npm install npm run dev # Opens at localhost:3000 # Real-time signal updates # Phase visualizations
API Reference
DexTokenToken data model
token_mintToken mint addresssymbolToken symboldex_volume_24h24h DEX volume in USDliquidity_usdTotal liquidity in USDunique_traders_24hUnique wallets tradingpool_countActive pool countDexReportAnalysis output
.phaseDORMANT | AWAKENING | SLAYING | ASCENDANT.breathing_score0-100 weighted score.is_activeBoolean activity status.yoriichi_readNarrative interpretationFunctionsCore functions
read(token)Analyze single tokenread_batch(tokens)Analyze multiple tokensstrongest_dex(tokens)Find highest signalTry it live in the Lab
Experiment with signals interactively