Skip to main content

Python SDK for OpenPX prediction markets

Project description

openpx

PyPI License: MIT

Python SDK for OpenPX — a unified interface for prediction markets.

Installation

pip install openpx

Quick Start

from openpx import Exchange

# Connect to Kalshi (public API)
exchange = Exchange("kalshi")
markets = exchange.fetch_markets()

for market in markets[:5]:
    print(f"{market['question']}: {market['prices']}")

Supported Exchanges

  • Kalshi — US-regulated event contracts
  • Polymarket — Crypto-native prediction markets
  • Opinion — Opinion exchange markets

Requirements

  • Python >= 3.9
  • pydantic >= 2.0

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

openpx-0.1.4.tar.gz (200.6 kB view details)

Uploaded Source

Built Distributions

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

openpx-0.1.4-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.1 MB view details)

Uploaded PyPymanylinux: glibc 2.17+ x86-64

openpx-0.1.4-pp311-pypy311_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.8 MB view details)

Uploaded PyPymanylinux: glibc 2.17+ ARM64

openpx-0.1.4-cp314-cp314-win_amd64.whl (3.6 MB view details)

Uploaded CPython 3.14Windows x86-64

openpx-0.1.4-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64

openpx-0.1.4-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.8 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ ARM64

openpx-0.1.4-cp314-cp314-macosx_11_0_arm64.whl (3.7 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

openpx-0.1.4-cp314-cp314-macosx_10_12_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.14macOS 10.12+ x86-64

openpx-0.1.4-cp313-cp313-win_amd64.whl (3.6 MB view details)

Uploaded CPython 3.13Windows x86-64

openpx-0.1.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

openpx-0.1.4-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.8 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

openpx-0.1.4-cp313-cp313-macosx_11_0_arm64.whl (3.7 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

openpx-0.1.4-cp313-cp313-macosx_10_12_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.13macOS 10.12+ x86-64

openpx-0.1.4-cp312-cp312-win_amd64.whl (3.6 MB view details)

Uploaded CPython 3.12Windows x86-64

openpx-0.1.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

openpx-0.1.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

openpx-0.1.4-cp312-cp312-macosx_11_0_arm64.whl (3.7 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

openpx-0.1.4-cp312-cp312-macosx_10_12_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.12macOS 10.12+ x86-64

openpx-0.1.4-cp311-cp311-win_amd64.whl (3.6 MB view details)

Uploaded CPython 3.11Windows x86-64

openpx-0.1.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

openpx-0.1.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

openpx-0.1.4-cp311-cp311-macosx_11_0_arm64.whl (3.7 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

openpx-0.1.4-cp311-cp311-macosx_10_12_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.11macOS 10.12+ x86-64

openpx-0.1.4-cp310-cp310-win_amd64.whl (3.6 MB view details)

Uploaded CPython 3.10Windows x86-64

openpx-0.1.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

openpx-0.1.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.8 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

openpx-0.1.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

openpx-0.1.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.8 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ ARM64

File details

Details for the file openpx-0.1.4.tar.gz.

File metadata

  • Download URL: openpx-0.1.4.tar.gz
  • Upload date:
  • Size: 200.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for openpx-0.1.4.tar.gz
Algorithm Hash digest
SHA256 252926b108b3c3a7da9968dff3a032e8a620e9ebe427eef4266a95fc482c7828
MD5 8b816c49f2680f9f0be5662296c086fc
BLAKE2b-256 066c910b999cf8de7a035f438988e56414994e46922d6d0cdc24b1c9b3a68f80

See more details on using hashes here.

File details

Details for the file openpx-0.1.4-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for openpx-0.1.4-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 62b21b78418fc0bce8e947331d19b10fdab0860eca0694c2faed7b0fc78e09e8
MD5 c9e3289ee6cf296490a17c1a17bc4d27
BLAKE2b-256 1d0ed7509eba6542fa8d67372314ccea4d951242f14273652d7ad3a425fb874e

See more details on using hashes here.

File details

Details for the file openpx-0.1.4-pp311-pypy311_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for openpx-0.1.4-pp311-pypy311_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 325fa1fde2824f53ec634e21de56cb5d3904dcf4229bfa2fef4579240a18af6a
MD5 f1b92bc00f3b778972358eda12236f55
BLAKE2b-256 939d873650f9ae0dbda494a644ee18ab421fcf452d7e965b1c84cfaae2dd3bbb

See more details on using hashes here.

File details

Details for the file openpx-0.1.4-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: openpx-0.1.4-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 3.6 MB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for openpx-0.1.4-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 eacd88c5e5705cb0e55d01b245150ed11813cce41ce8c17ea2102edba3a76afa
MD5 64a39802fb71cacc4cbd018c644e35ac
BLAKE2b-256 0b87815b7744a8b0af3285e6e1aae49aeddca7c774e638eb4896e021d85a2085

See more details on using hashes here.

File details

Details for the file openpx-0.1.4-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for openpx-0.1.4-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bd457a00175f5be1c3b843c23539db118ce78db837ffebd60dd746cf07babd73
MD5 d799d823b331660389d6d14bd52c06fc
BLAKE2b-256 a961faccb79aaf69bbdd4b5ba5bd2f9428740eb5f488b66ad20645d531ccbd1e

See more details on using hashes here.

File details

Details for the file openpx-0.1.4-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for openpx-0.1.4-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 21c52b77aa0ac1c9ae4ef4ebd713be4c75b1705f88ec342bd5ce5ea3e970814a
MD5 18756ed591e704ab936499ecee4746a0
BLAKE2b-256 ff012228208057e2b4e2b7ac9a1980443d86186fc34c1be595a7ccf2e45b9056

See more details on using hashes here.

File details

Details for the file openpx-0.1.4-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for openpx-0.1.4-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 558a82099fc58235776272b920c04c86a236702385c1b63151b97891026e6ef7
MD5 460048a538d8044aa2a617041a175832
BLAKE2b-256 609bf9407651c16892a41d7b7ab8d47c91718f7751e94ba881feaf5af552d39f

See more details on using hashes here.

File details

Details for the file openpx-0.1.4-cp314-cp314-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for openpx-0.1.4-cp314-cp314-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 65ebada592dd16c88d522459ab80ea9927f36177f3d459430a0a88ac67e7cdf1
MD5 54165cc4832010ac2922a575e5245638
BLAKE2b-256 6d777c35e69c378b4a5c351e9f4489dfd551d560356861e43e8bf587830c63d5

See more details on using hashes here.

File details

Details for the file openpx-0.1.4-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: openpx-0.1.4-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 3.6 MB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for openpx-0.1.4-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 64761aac0f0591dbfe2db1887630e10b95eb2eefad0c62ce5486ecc04814a8d1
MD5 1ad05d5c735511a12498f0832baf4d88
BLAKE2b-256 2c51958e3e5f8b0ee7ff2c3d9be95d8b9e618c180d8b22ce2da228421c2d3df7

See more details on using hashes here.

File details

Details for the file openpx-0.1.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for openpx-0.1.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6eb1b5e5923b01f5e7ce185ac12d7f5e8a51e359cc4effc89fc2edc709c14e36
MD5 14fcdf2237f467211996dc6259ead5de
BLAKE2b-256 0de54067783ec3530c5a58b104cb8de6a694b44febc4480c38acc1aabdf093d4

See more details on using hashes here.

File details

Details for the file openpx-0.1.4-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for openpx-0.1.4-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 75e491578eac229b45365158ecbb030d4a61e635f7ed8ef3aab8bb5bddf6bca2
MD5 514f80753d3a9e60cfe1eec4ae6dded4
BLAKE2b-256 10900968d391a78c164dcadf09249552958f583f317d78b9fa242404e53d2116

See more details on using hashes here.

File details

Details for the file openpx-0.1.4-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for openpx-0.1.4-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 37cb66925b750ca4f091edb17e56d3e87d977af9df8affe23348dfbbd2d1fd82
MD5 d23736a94b1cd10ab116ae2afcfec550
BLAKE2b-256 fbfdfaaa81ff83d31f469a42edb26a8ee85d230d4e2b9893d8494f27cbaaf3ac

See more details on using hashes here.

File details

Details for the file openpx-0.1.4-cp313-cp313-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for openpx-0.1.4-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 25960b774330df2a60338aa6183f65b1ea56ee7945256cd25e220bb747fce0fe
MD5 97ef20ba36c01f1006140a193e07cd66
BLAKE2b-256 3222b2c784eceb6089891d7351dd4d8edcae590b73188020dcd84f5c7112c7fd

See more details on using hashes here.

File details

Details for the file openpx-0.1.4-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: openpx-0.1.4-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 3.6 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for openpx-0.1.4-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 93fb97d022cf76d2512e07481e932c2b0c63e36c74f58917738f104d0fd2930b
MD5 90277809eb2465331cc0bdf7da9f1368
BLAKE2b-256 df8e8734bf80eb0a56bb841d50ae569b66cad817c5961849d2df1fec3729aeeb

See more details on using hashes here.

File details

Details for the file openpx-0.1.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for openpx-0.1.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ddc5af022f947ca29dd9a27ef859892be754d850c39fdb574693c6d9b053c197
MD5 bb68a2188a6aafb038d6b12985d2e188
BLAKE2b-256 1a2ad5566202aca6d9759b3949f9c519b7b76e1137d3431ac4ef9ef451ab4b0f

See more details on using hashes here.

File details

Details for the file openpx-0.1.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for openpx-0.1.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 10306250fb221094bef9453703990e0387f2e53c735fc808d3ef91d7a2a0b23b
MD5 191a95cb062b8671b4d306099ea07570
BLAKE2b-256 08ca6403e163c7fd791f4e933894bf986d32bc86197e898e57abf4e17b6d099d

See more details on using hashes here.

File details

Details for the file openpx-0.1.4-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for openpx-0.1.4-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7845ae2a5830a747b6691f28f4649670b23cfbbb826023da7417c9fae39b672a
MD5 0ec2c21afbfea441eba5bc1b43e30ddf
BLAKE2b-256 742ddba8179a3a488b95a083cad10666b593cedcf859d0ef6c4b43e2e5761788

See more details on using hashes here.

File details

Details for the file openpx-0.1.4-cp312-cp312-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for openpx-0.1.4-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 71630c4a80df1e3a1bf54e1459e5992656fe91de92de53fdd5a0be226d793a39
MD5 84c5a74dbed92a6f704e57e7851d8984
BLAKE2b-256 a49917156e244bf716624dd91d9bfef73dfe0ab69ee3e91f7302c260990c39d8

See more details on using hashes here.

File details

Details for the file openpx-0.1.4-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: openpx-0.1.4-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 3.6 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for openpx-0.1.4-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 7c11bcb7458425b6d1e68613977a1d1bdaa946c28ab10438fca97664d60c3810
MD5 567cbae3175f05424287f36fbf704385
BLAKE2b-256 b5c9fd01d698b0995f98206bd64c614cfdf5dc851ca68ad892988f510066ad48

See more details on using hashes here.

File details

Details for the file openpx-0.1.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for openpx-0.1.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 03ae60eba820e2a945c0f4a176c86197d8710c56fe33afd3f6b5c6e6c522278a
MD5 a55aa793445e1f6b33ba99ddce79da5c
BLAKE2b-256 9c1373023f65683f66c8f2b77d958d264e8bddd51ad53f9f287f68e7d9349005

See more details on using hashes here.

File details

Details for the file openpx-0.1.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for openpx-0.1.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b752bb498e6c7a623759ffc495e39d62b686c5648b346046bdf6ff05aac90b4e
MD5 b41089050a78a61be0bf4ac5770969d4
BLAKE2b-256 371d7ed471984b52613280f6738743435684f4ac6ae813902a2adc8a93f17e37

See more details on using hashes here.

File details

Details for the file openpx-0.1.4-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for openpx-0.1.4-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 663af879cf281872b086e695513bd53936cb35a103d9a1a39eddbdaae77804df
MD5 0a85fbd644a9b397b7c77ef6ae5a0ecb
BLAKE2b-256 8c00cc5a12e326b957812cbb485c8d7df15bfc3a6f225d25e22206b075d53baf

See more details on using hashes here.

File details

Details for the file openpx-0.1.4-cp311-cp311-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for openpx-0.1.4-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 3a24363b3e8377b021db6fb7ccd736d70d4cb90fbc57f1bd1878b17ad7cd0883
MD5 e55a826ffc3c09760aaadde74c564f4e
BLAKE2b-256 15f2927a9acad33ead34d18064297c79372664c30710ae5e54b2fb9f9156775b

See more details on using hashes here.

File details

Details for the file openpx-0.1.4-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: openpx-0.1.4-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 3.6 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for openpx-0.1.4-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 1475ed77d61974955bc7576ec44d4af9ff9bf613d225a5e4ce280daf88ae9ab7
MD5 13085cbc2d6c9ae917af6d3b9a2592b5
BLAKE2b-256 c99a82292be5ddb3824fce5823516bc8b7c345dd5b4f63569e5c21012c2e1999

See more details on using hashes here.

File details

Details for the file openpx-0.1.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for openpx-0.1.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 594f8d21ef234565337264c07f69e787e8c1850c00f1a2b3f17a70fe5097426b
MD5 c2a246483676c532846bd48353814a9a
BLAKE2b-256 0350678680d83c7fd51c68e43ac72cf6391c50cf9bfe40993fb4b48bffbefe5b

See more details on using hashes here.

File details

Details for the file openpx-0.1.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for openpx-0.1.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5b4c0d3972dffc0d1e45fc8eeae18b8ffed26eb03336f8e2336ee0fa2875161a
MD5 cc7ea98950c2d86143586e7c0560e637
BLAKE2b-256 b54cfc5fe8e2bbed99634a903330c7488cf9aad746ef9ec3601233938da32e80

See more details on using hashes here.

File details

Details for the file openpx-0.1.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for openpx-0.1.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 959d36223800382e5b938018d0a2a84712e5e97f05bb633ac58fa69e9db43274
MD5 d0071d3f98ff19a93a2099fc2777249b
BLAKE2b-256 d93b09cc62798a75437275e1142db2593524a0e6e85d37bb9fceb0fc9b345002

See more details on using hashes here.

File details

Details for the file openpx-0.1.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for openpx-0.1.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c60b2c8e5b04116b7986c3c51cdb103948acbd1e4fdd972377bb1d9664585a87
MD5 382c0579c2118adec228ec8fca2aa07b
BLAKE2b-256 a638e9d9fb895caffdfec7ed52764c4d34fcafce44d38e20cb32955f4673994c

See more details on using hashes here.

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