Skip to main content

Python SDK for quants, ML engineers, and AI agents — one interface to public data. Adapters ship weather + prediction-market settlements (Kalshi NHIGH/NLOW, Polymarket) today; SEC filings, Federal Reserve series, court filings, FDA approvals, and equities are next. Schema-versioned, leakage-free, local-first. Imports as `mostlyright`.

Project description

mostlyrightmd

The public-data SDK for quants, ML pipelines, and AI agents.

mostlyrightmd is the Python entry point: core types, schemas, validators, temporal-safety primitives, and the research() join that ties weather observations × climate into one row per settlement date — ready for prediction-market backtests (Kalshi NHIGH/NLOW, Polymarket), ML training pipelines, and AI-agent tool calls. Direct calls to public APIs (NOAA, NWS, IEM, GHCNh, Kalshi, Polymarket). No hosted backend, no API key.

Weather + prediction-markets adapters are live today. SEC filings (EDGAR), equities structured data, Federal Reserve series (FRED), court filings, and FDA approvals are next — and the architecture is built to ship an adapter for any public data source.

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.4.0.tar.gz (306.6 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.4.0-py3-none-any.whl (230.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mostlyrightmd-1.4.0.tar.gz
Algorithm Hash digest
SHA256 568ab3ba878cff999545bf53f51cd02f7bcf00776fd04f94868b3e11f5133f8e
MD5 a1dd6e1588155314ceec93e76c0d79c6
BLAKE2b-256 691c8f6e5b2c9c2757f4f4302aa1b7a752604c84abf025a3587bf2ca1aca7dd6

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: mostlyrightmd-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 230.2 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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6c8807cb1d505a1347c24d2c355ab13cd444e7f5d5f90244a2b4c88fecdc320f
MD5 18e9d49f78197a5804e41134ad0a090d
BLAKE2b-256 31c721523dfeec79c4b9f6e4c075f0859d47a881b2dbdc92c970a7be91f90fb5

See more details on using hashes here.

Provenance

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