AI Prophet, utils, types and HTTP client
Project description
ai-prophet-core
Typed SDK for interacting with the Prophet Arena API.
Install
python -m pip install ai-prophet-core
For local development from this repository:
python -m pip install -e packages/core
Live Betting
ai-prophet-core also ships ai_prophet_core.betting for forecast aggregation,
order routing, and local persistence. The public API is explicit: importing the module
does not enable trading or load dotenv files. Callers opt in by constructing a
BettingEngine directly or by loading LiveBettingSettings from the environment.
Common environment variables:
LIVE_BETTING_ENABLEDfor CLI-side enablementLIVE_BETTING_DRY_RUNwithtrueas the safe defaultKALSHI_API_KEY_IDKALSHI_PRIVATE_KEY_B64for the base64-encoded Kalshi private keyKALSHI_BASE_URLto override the default Kalshi endpointDATABASE_URLto override the default local SQLite database
If you want dotenv-backed local development, call LiveBettingSettings.from_env().
That helper will honor LIVE_BETTING_DOTENV_PATH or LIVE_BETTING_LOAD_DOTENV=true
when it reads process configuration.
Quickstart
from ai_prophet_core import ServerAPIClient
client = ServerAPIClient(base_url="https://ai-prophet-core-api-998105805337.us-central1.run.app")
health = client.health_check()
print(health.status)
Project details
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 ai_prophet_core-0.1.3.tar.gz.
File metadata
- Download URL: ai_prophet_core-0.1.3.tar.gz
- Upload date:
- Size: 53.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
37d264178715cc6c040f6348f71ddbf460d0613c6c103dd8837981f402279e89
|
|
| MD5 |
86a129221db5c4af13769c882f1319e9
|
|
| BLAKE2b-256 |
be8602109e86e4085d68ffa04a6e32e75720883f740621ecff3fee4eec9b8a14
|
Provenance
The following attestation bundles were made for ai_prophet_core-0.1.3.tar.gz:
Publisher:
publish-core.yml on ai-prophet/ai-prophet
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ai_prophet_core-0.1.3.tar.gz -
Subject digest:
37d264178715cc6c040f6348f71ddbf460d0613c6c103dd8837981f402279e89 - Sigstore transparency entry: 1154883445
- Sigstore integration time:
-
Permalink:
ai-prophet/ai-prophet@4044439aad134862815bfd924abe812e1af3787e -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ai-prophet
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-core.yml@4044439aad134862815bfd924abe812e1af3787e -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file ai_prophet_core-0.1.3-py3-none-any.whl.
File metadata
- Download URL: ai_prophet_core-0.1.3-py3-none-any.whl
- Upload date:
- Size: 47.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9dea39f5bbce0211ba02942fb87f6687f2d2fb900cba61bd9c1c5c44e2fe67a
|
|
| MD5 |
9b0a0f153553787ea7a2cdabb73e2250
|
|
| BLAKE2b-256 |
80fd46b9910a07b188cb40489df3ddd1c2f6a287eecf12d9de7655da1c1160c4
|
Provenance
The following attestation bundles were made for ai_prophet_core-0.1.3-py3-none-any.whl:
Publisher:
publish-core.yml on ai-prophet/ai-prophet
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ai_prophet_core-0.1.3-py3-none-any.whl -
Subject digest:
d9dea39f5bbce0211ba02942fb87f6687f2d2fb900cba61bd9c1c5c44e2fe67a - Sigstore transparency entry: 1154883447
- Sigstore integration time:
-
Permalink:
ai-prophet/ai-prophet@4044439aad134862815bfd924abe812e1af3787e -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ai-prophet
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-core.yml@4044439aad134862815bfd924abe812e1af3787e -
Trigger Event:
workflow_dispatch
-
Statement type: