okama-macro 0.1.0
okama-macro 0.1.0
First public release of the consolidated macro-economic data-source library for
the okama project.
Highlights
- A unified
okama_macro.get()API andokama_macro.list_series()registry
expose 16 inflation and central-bank rate series as decimal fractions with a
consistent pandasSeriescontract. - Raw clients are available under
okama_macro.sourcesfor BIS, Bank of
England, Bank of Israel, Hong Kong C&SD, CFETS, ECB, FRED, HKMA, MOSPI,
China's NBS, UK ONS, and RBI. - Shared
_http.get()and_frame.clip_window()helpers standardize retries,
proxy handling, TLS behavior, date windows, and output normalization while
preserving source-specific transport where required. boe.get_bank_rate()preserves the corrected forward-fill direction that
prevents look-ahead bias.ecb.get_refinancing_rate()splices the minimum bid rate into the ECB
variable-tender period instead of leaving an eight-year gap.mospi.get_general_cpi()splices India's live base-2024 CPI feed onto the
historical base-2012 series.
Compatibility
- Python 3.11–3.14
- pandas 2.x and 3.x
Install
pip install okama-macro