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://api.prophetarena.co")
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.2.tar.gz (37.1 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.2-py3-none-any.whl (32.7 kB view details)

Uploaded Python 3

File details

Details for the file ai_prophet_core-0.1.2.tar.gz.

File metadata

  • Download URL: ai_prophet_core-0.1.2.tar.gz
  • Upload date:
  • Size: 37.1 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.2.tar.gz
Algorithm Hash digest
SHA256 c6931ac269b9bf8c576fc7ae6652e4f6e60ac0e68f0fecff2ecbc345ccf4d507
MD5 d3c5d554985baf907baa6276c9af530b
BLAKE2b-256 54f32a05b38e50fec80cfb92c1a0503208adb727bdef9bf774caf21a09ffe923

See more details on using hashes here.

Provenance

The following attestation bundles were made for ai_prophet_core-0.1.2.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.2-py3-none-any.whl.

File metadata

File hashes

Hashes for ai_prophet_core-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3c7f28098f82b3414e373d1b94822be8a91b086e1f0544444e991eebbdf6461b
MD5 98d9f6c4bcf0e2efb03774bcfb77d7fb
BLAKE2b-256 f8a3458c0bd14c594469ff01bc892af224e04dc50bfc1b6b49af63fd0d93b0d8

See more details on using hashes here.

Provenance

The following attestation bundles were made for ai_prophet_core-0.1.2-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