Skip to main content

Local-first Python SDK for prediction-market weather research. Calls AWC, IEM, GHCNh, and NWS CLI directly; no hosted backend. Exposes research(station, from_date, to_date) for joined observation + climate rows. 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.0.1.tar.gz (287.9 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.0.1-py3-none-any.whl (218.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mostlyrightmd-1.0.1.tar.gz
Algorithm Hash digest
SHA256 47b6c4a86c3e826f7a72073b685045972c674e9db345fb6ed60e0e25338b999e
MD5 7a56f8deb523207fccba680d1985c55c
BLAKE2b-256 7167b87903c02da15319ec9bb75750daa50b665cfa6b8e2c01a99b89e283aee8

See more details on using hashes here.

Provenance

The following attestation bundles were made for mostlyrightmd-1.0.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.0.1-py3-none-any.whl.

File metadata

  • Download URL: mostlyrightmd-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 218.8 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.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 97769ffbee3c0094b78f5ea3823c750eaacfa4c525d19e303962e08d4f1281a4
MD5 c32ca0c0b8214c23bca8321effb85c87
BLAKE2b-256 22cf04e8b7a217c7555e6b65475cbe097d185236f98f91db9cdc2c0724d19888

See more details on using hashes here.

Provenance

The following attestation bundles were made for mostlyrightmd-1.0.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