Read-only Python client for the Orrery x402 prediction-market intelligence API.
Project description
orrery-client
Dependency-light Python client for the Orrery x402 prediction-market intelligence API.
The client calls Orrery only. It does not connect to Polymarket or Kalshi accounts, submit orders, read positions, or provide trade recommendations.
from orrery import OrreryClient, OrreryPaymentRequired
client = OrreryClient(
api_key="orrery_live_...",
payment="...",
)
try:
queue = client.attention(limit=5)
print(queue["data"])
except OrreryPaymentRequired as exc:
print(exc.challenge)
api_key spends monthly Orrery API credits first. payment is the x402
fallback for per-call settlement when credits are unavailable or exhausted.
When omitted, the client reads ORRERY_BASE_URL, ORRERY_API_KEY, and
ORRERY_X_PAYMENT from the environment.
Covered helpers:
- health / venues / brief
- search / markets / movers / events / event cluster
- attention queue / market Decision Card
- market snapshot / why / resolution risk
- signals / signal-kind drilldown / backtest
- category intelligence / trades / wallet profile / share card
- watchlist summary / portfolio risk
Local verification:
python -m pip install -e .
python -m unittest discover -s tests
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file orrery_client-0.1.0.tar.gz.
File metadata
- Download URL: orrery_client-0.1.0.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ef8d3edca417627a425fce2845e2f462b7724cf63daf40fd13a8a986f877dd8
|
|
| MD5 |
7e4906296172c4ca6f026027da68b6af
|
|
| BLAKE2b-256 |
148bcec58989ba3f8475cad97ffe70d1b0102024c7dcadc7e55ddc522ff3a1e7
|
File details
Details for the file orrery_client-0.1.0-py3-none-any.whl.
File metadata
- Download URL: orrery_client-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41b15852bfcb217b6f2c6f3e9851ca341bdc14d6d1596efd2b6f193e2f4b2b4c
|
|
| MD5 |
0893308bfc9ee5635186612e46d586bd
|
|
| BLAKE2b-256 |
27808ff92e20edb1712fe00cacd271bb34cc57b63ddbaf82f11958994e86c980
|