Skip to main content

Local-first Python SDK for prediction-market research over public data: weather settlements, forecasts, market metadata, and temporal-safety primitives. Imports as `mostlyright`.

Project description

mostlyrightmd

The public data SDK for quants and AI agents.

mostlyrightmd is the Python entry point: core types, schemas, validators, temporal-safety primitives, and the research() join that ties observations × climate into one row per settlement date. Direct calls to public APIs (NOAA, NWS, IEM, GHCNh, Kalshi, Polymarket). No hosted backend, no API key.

Weather + prediction-markets data are live today. SEC filings (EDGAR) and Federal Reserve economic data (FRED) are next.

Install

pip install mostlyrightmd                # core only (helpers + snapshot primitives)
pip install 'mostlyrightmd[research]'    # core + weather; enables research()
pip install mostlyrightmd-weather        # weather data sources only (brings core transitively)

mostlyrightmd and mostlyrightmd-weather share the mostlyright.* Python namespace but ship as separate PyPI distributions, so users who only need the helpers can skip the heavier weather deps. research() lazy-imports mostlyright.weather and raises a clear error if the weather package is not installed.

Quickstart

import mostlyright

df = mostlyright.research("KNYC", "2025-01-06", "2025-01-12")
print(df.head())

Documentation

Quickstart, concepts, and the full API reference live at https://mostlyright.md/docs/sdk/.

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

mostlyrightmd-1.1.1.tar.gz (290.0 kB view details)

Uploaded Source

Built Distribution

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

mostlyrightmd-1.1.1-py3-none-any.whl (220.3 kB view details)

Uploaded Python 3

File details

Details for the file mostlyrightmd-1.1.1.tar.gz.

File metadata

  • Download URL: mostlyrightmd-1.1.1.tar.gz
  • Upload date:
  • Size: 290.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mostlyrightmd-1.1.1.tar.gz
Algorithm Hash digest
SHA256 843874f321d446452e85c9e2fd6c00135ad6999c3a31655bef31020e881b4566
MD5 dd97b7ca06e5ab558b5fbbd1c5e4b5de
BLAKE2b-256 2f0f5feafde2744ef99a134793537727134741dbc10efe933fa9a37d08bd5ee2

See more details on using hashes here.

Provenance

The following attestation bundles were made for mostlyrightmd-1.1.1.tar.gz:

Publisher: release.yml on mostlyrightmd/mostlyright-sdk

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

File details

Details for the file mostlyrightmd-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: mostlyrightmd-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 220.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mostlyrightmd-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ecf91df2d9a7eb752e1e2d01edbf5bb3159a27784fd153a599be19bfd3305bd8
MD5 686682c3b2e0765aed2ca03c09c5842c
BLAKE2b-256 ed36eba092884ef0ae40a13bb3d2cc4a85ea3e8d277826f1adb4c63b6008df52

See more details on using hashes here.

Provenance

The following attestation bundles were made for mostlyrightmd-1.1.1-py3-none-any.whl:

Publisher: release.yml on mostlyrightmd/mostlyright-sdk

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