Skip to main content

predictionball

PyPi

A library for pulling in and normalising prediction market data.

Dependencies 🌐

Python 3.11.6:

Raison D'être 💭

predictionball aims to be a library that pulls in both historical and live prediction market data. It currently handles the following markets:

Architecture 📐

predictionball is a functional library that does the following steps:

  1. Pulls down different prediction markets.
  2. Cluster the markets by event type.

Installation 📥

This is a python package hosted on pypi, so to install simply run the following command:

pip install predictionball

or install using this local repository:

python setup.py install --old-and-unmanageable

Usage example 👀

The only way to access the data from predictionball is to use it as a python library.

Python

To pull the models containing all the information, the following example can be used:

from predictionball.pull import pull

models = pull()

This results in a dataframe where each game is represented by all its features.

License 📝

The project is available under the MIT License.

Metadata

Release files for predictionball 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for predictionball 0.0.1
File Size Uploaded Provenance
predictionball-0.0.1.tar.gz 7.4 kB Without provenance Details

Release files / predictionball-0.0.1.tar.gz

Download URL predictionball-0.0.1.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
10f3b0bb8a0d9e39ff8fef31cd92644ef4b68a4ac0ee964534b923d994b1fe62
BLAKE2b-256 checksum
How to use checksums
707a98e145cf919b03ec4d59d64281a356d55d66454888bfdeeafb50c6b49bde
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.6

Security for predictionball 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page