mostlyright 1.1.3 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -3
- package/dist/{chunk-IN2UOZYO.mjs → chunk-7XWX6QZG.mjs} +619 -175
- package/dist/chunk-7XWX6QZG.mjs.map +1 -0
- package/dist/{chunk-465FJZTS.mjs → chunk-TT6J2BKH.mjs} +2 -2
- package/dist/{chunk-465FJZTS.mjs.map → chunk-TT6J2BKH.mjs.map} +1 -1
- package/dist/{iem-asos-ZPUMH3KM.mjs → iem-asos-OLJNQPEM.mjs} +3 -3
- package/dist/index.bundle.mjs +2758 -227
- package/dist/index.bundle.mjs.map +1 -1
- package/dist/index.cjs +90 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +60 -3
- package/dist/index.d.ts +60 -3
- package/dist/index.global.js +3444 -448
- package/dist/index.global.js.map +1 -1
- package/dist/index.mjs +91 -13
- package/dist/index.mjs.map +1 -1
- package/dist/{src-NP2MZ322.mjs → src-JXVFCGSQ.mjs} +18 -4
- package/package.json +27 -5
- package/dist/chunk-IN2UOZYO.mjs.map +0 -1
- /package/dist/{iem-asos-ZPUMH3KM.mjs.map → iem-asos-OLJNQPEM.mjs.map} +0 -0
- /package/dist/{src-NP2MZ322.mjs.map → src-JXVFCGSQ.mjs.map} +0 -0
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# mostlyright
|
|
2
2
|
|
|
3
|
-
**The public
|
|
3
|
+
**The public-data SDK for quants, ML pipelines, and AI agents.**
|
|
4
4
|
|
|
5
|
-
`mostlyright` is the convenience meta-package for the TypeScript SDK. A single `import { research } from "mostlyright"` re-exports the surfaces of `@mostlyrightmd/core`, `@mostlyrightmd/weather`, and `@mostlyrightmd/markets` — weather
|
|
5
|
+
`mostlyright` is the convenience meta-package for the TypeScript SDK. A single `import { research } from "mostlyright"` re-exports the surfaces of `@mostlyrightmd/core`, `@mostlyrightmd/weather`, and `@mostlyrightmd/markets` — weather data (METAR, ASOS, GHCNh, NWS CLI), prediction-market settlements (Kalshi NHIGH/NLOW, Polymarket), and the core `research()` join. Direct calls to public APIs. No hosted backend, no API key.
|
|
6
6
|
|
|
7
|
-
Weather + prediction-markets
|
|
7
|
+
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.
|
|
8
8
|
|
|
9
9
|
If you only need one slice of the SDK, depend on the scoped packages directly. If you want everything in one import, this is the package.
|
|
10
10
|
|
|
@@ -27,3 +27,19 @@ console.log(rows[0]);
|
|
|
27
27
|
## Documentation
|
|
28
28
|
|
|
29
29
|
Quickstart, concepts, and the full API reference live at <https://mostlyright.md/docs/sdk/>.
|
|
30
|
+
|
|
31
|
+
## TypeScript SDK limitations vs Python
|
|
32
|
+
|
|
33
|
+
A few surfaces ship as **typed stubs** in v1.x because their Python implementations depend on native libraries that aren't viable in browser/Node bundles today:
|
|
34
|
+
|
|
35
|
+
| TS Function | Status | Use Python? | Workaround in TS |
|
|
36
|
+
|---|---|---|---|
|
|
37
|
+
| `research()` | ✅ Wired | optional | — |
|
|
38
|
+
| `iemMosForecasts()` | ✅ Wired | optional | — |
|
|
39
|
+
| `obs()` / `dailyExtremes()` | ✅ Wired | optional | — |
|
|
40
|
+
| `forecastNwp()` | ⏳ v2.0+ stub | **yes** for gridded NWP | `iemMosForecasts()` for the 7 major US stations |
|
|
41
|
+
| `climateGaps()` | ⏳ v2.0+ stub | **yes** for climate-gap analysis | — |
|
|
42
|
+
|
|
43
|
+
Stub calls throw typed errors (`NwpNotAvailableError`, `DataAvailabilityError`) so you can `instanceof`-dispatch instead of parsing messages.
|
|
44
|
+
|
|
45
|
+
For the rationale and roadmap, see [docs/nwp-forecasts.md](https://github.com/mostlyrightmd/mostlyright-sdk/blob/main/docs/nwp-forecasts.md) and [docs/climate-gaps.md](https://github.com/mostlyrightmd/mostlyright-sdk/blob/main/docs/climate-gaps.md).
|