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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mostlyrightmd-1.0.0.tar.gz.
File metadata
- Download URL: mostlyrightmd-1.0.0.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
058f1d534a5895c3c7726d0818a4c2026f3947efb052a4ee89062f66e78bd44d
|
|
| MD5 |
48494fed0b664233cbb8380d73faf56f
|
|
| BLAKE2b-256 |
5cf10ea0b67dc5094b17b3563530e973bbf1f879bb559e211c01c6a96ef12f2e
|
Provenance
The following attestation bundles were made for mostlyrightmd-1.0.0.tar.gz:
Publisher:
release.yml on mostlyrightmd/mostlyright-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mostlyrightmd-1.0.0.tar.gz -
Subject digest:
058f1d534a5895c3c7726d0818a4c2026f3947efb052a4ee89062f66e78bd44d - Sigstore transparency entry: 1633643591
- Sigstore integration time:
-
Permalink:
mostlyrightmd/mostlyright-sdk@750584710aa94b3c0402344e2c5265f4d3a5366e -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/mostlyrightmd
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@750584710aa94b3c0402344e2c5265f4d3a5366e -
Trigger Event:
push
-
Statement type:
File details
Details for the file mostlyrightmd-1.0.0-py3-none-any.whl.
File metadata
- Download URL: mostlyrightmd-1.0.0-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ece02c7c5b51209d6e92a7ba24bcd5bfbdc4a51a9210c494ab4f7b4699cf386
|
|
| MD5 |
47cd8d392b7b524bfceb029148ab3f71
|
|
| BLAKE2b-256 |
36b782de9de6aea87f2e5c6266f421ff4cedc5646aa9c2a732ec16681f28dab9
|
Provenance
The following attestation bundles were made for mostlyrightmd-1.0.0-py3-none-any.whl:
Publisher:
release.yml on mostlyrightmd/mostlyright-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mostlyrightmd-1.0.0-py3-none-any.whl -
Subject digest:
4ece02c7c5b51209d6e92a7ba24bcd5bfbdc4a51a9210c494ab4f7b4699cf386 - Sigstore transparency entry: 1633644043
- Sigstore integration time:
-
Permalink:
mostlyrightmd/mostlyright-sdk@750584710aa94b3c0402344e2c5265f4d3a5366e -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/mostlyrightmd
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@750584710aa94b3c0402344e2c5265f4d3a5366e -
Trigger Event:
push
-
Statement type: