Skip to content

okama-macro 0.1.0

Choose a tag to compare

@chilango74 chilango74 released this 25 Jul 12:37
· 12 commits to main since this release

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 and okama_macro.list_series() registry
    expose 16 inflation and central-bank rate series as decimal fractions with a
    consistent pandas Series contract.
  • Raw clients are available under okama_macro.sources for 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