Skip to main content

AI Prophet, utils, types and HTTP client

Project description

ai-prophet-core

Python 3.11+ PyPI: ai-prophet-core License: MIT

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_ENABLED for CLI-side enablement
  • LIVE_BETTING_DRY_RUN with true as the safe default
  • KALSHI_API_KEY_ID
  • KALSHI_PRIVATE_KEY_B64 for the base64-encoded Kalshi private key
  • KALSHI_BASE_URL to override the default Kalshi endpoint
  • DATABASE_URL to 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

ai_prophet_core-0.1.3.tar.gz (53.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ai_prophet_core-0.1.3-py3-none-any.whl (47.6 kB view details)

Uploaded Python 3

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

Hashes for ai_prophet_core-0.1.3.tar.gz
Algorithm Hash digest
SHA256 37d264178715cc6c040f6348f71ddbf460d0613c6c103dd8837981f402279e89
MD5 86a129221db5c4af13769c882f1319e9
BLAKE2b-256 be8602109e86e4085d68ffa04a6e32e75720883f740621ecff3fee4eec9b8a14

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ai_prophet_core-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for ai_prophet_core-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d9dea39f5bbce0211ba02942fb87f6687f2d2fb900cba61bd9c1c5c44e2fe67a
MD5 9b0a0f153553787ea7a2cdabb73e2250
BLAKE2b-256 80fd46b9910a07b188cb40489df3ddd1c2f6a287eecf12d9de7655da1c1160c4

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page