yuclaw-evidence
Python SDK for the YUCLAW open-source financial intelligence platform.
Disclaimer. Research and education only. Not investment advice. Signal labels are research classifications, not buy/sell recommendations. YUCLAW is not a registered investment adviser. Past results — in-sample or forward-tracked — do not predict future performance.
Install
pip install yuclaw-evidence
# or, with notebook extras (matplotlib + jupyter for `04_validation_analysis`):
pip install "yuclaw-evidence[notebooks]"
Quickstart
import yuclaw_py
# Two access modes:
# source="postgres" — direct local read (requires the v3.0 stack)
# source="api" — REST API (Day 11+, hosted at YuClawLab)
client = yuclaw_py.Client(source="postgres", dsn="dbname=yuclaw_events")
# Latest composite signal for a ticker
sig = client.signal("NVDA")
print(sig["label"], sig["score"])
#> NEUTRAL 0.312
# Full `why` — signal + ranked evidence events with source URLs
why = client.why("NVDA")
for ev in why["evidence"]:
print(ev["event_type"], ev["raw_excerpt"][:60])
# Point-in-time replay (must already be materialized via `python3 -m v3.cli replay`)
hist = client.replay("AMD", date="2026-03-01")
print(hist["label"], hist["score"])
# In-Sample Validation + Forward Tracking Ledger as pandas DataFrames
panels = client.validation()
panels["in_sample"].head()
panels["forward"].head()
# Raw events for a ticker
df = client.events("AMD", since="2026-05-01")
# Universe
client.universe() # list of 79 tickers
What you get
Every signal-bearing return carries a compliance dict:
{"not_advice": True, "research_only": True, "not_registered_adviser": True}
— and the public vocabulary is strictly:
STRONG_BULLISH, BULLISH, NEUTRAL, WATCH, WEAKENING, NEGATIVE_EVENT, BEARISH_WATCH, RISK_ALERT.
No SELL, no SHORT. Anywhere.
Starter notebooks
sdk/notebooks/ ships five self-contained notebooks:
01_quickstart.ipynb— install, connect, first signal02_evidence_layer.ipynb— trace a signal to its SEC filings03_time_machine.ipynb— replay across dates, verify point-in-time integrity04_validation_analysis.ipynb— load the two panels, plot hit rates (with in-sample caveats)05_signal_radar.ipynb— change detection + custom watchlist alert
License
MIT — see LICENSE.
Metadata
Release files for yuclaw-evidence 3.0.1
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 |
|---|---|---|---|---|
| yuclaw_evidence-3.0.1.tar.gz | 13.9 kB | Without provenance | Details for yuclaw_evidence-3.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| yuclaw_evidence-3.0.1-py3-none-any.whl | Python 3 | none | any | Details for yuclaw_evidence-3.0.1-py3-none-any.whl |
Total release size: 24.7 kB
Release files / yuclaw_evidence-3.0.1.tar.gz
| Download URL | yuclaw_evidence-3.0.1.tar.gz |
|---|---|
| Size | 13.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f9041bfbe7d1f74905668526bd768dffa91b660653d833001b0b8db609d2116f
|
|
BLAKE2b-256 checksum How to use checksums |
93e5cad7fe852c2da01622e0027c40dc1006df6e94c28bebd01ad585f61d14ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / yuclaw_evidence-3.0.1-py3-none-any.whl
| Download URL | yuclaw_evidence-3.0.1-py3-none-any.whl |
|---|---|
| Size | 10.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aedad834c38da9430349097c6e16d851c8a127f1649eb4af878c1a996118a186
|
|
BLAKE2b-256 checksum How to use checksums |
d77d62d316954eff027e8edc269d457f9b64d6a40e7089ecc4bf365bb0b58fc5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for yuclaw-evidence 3.0.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.
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.