$npx skillfedfor your agent

python-bcb

With conditionsPyPI WWW/HTTPReleased Jun 2026110.4K downloads / moPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — python_bcb-0.4.0-py3-none-any.whl
v0.4.0 · released 2026-06-15 · Python >=3.10 · 4 runtime deps: httpx, lxml, pandas, tenacity

Yes, if you need Brazilian Central Bank data. The package is actively maintained, has low install friction, and provides a clean interface to otherwise fragmented APIs. License treatment is unclear, so verify terms before use in proprietary projects. No known vulnerabilities. Requires Python 3.10+.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • Low install friction with a pure-wheel distribution.
  • Active maintenance with a release 60 days ago.

License · maintenance · safety

(unclear)

last release 2026-06-15 (60 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 110,379 downloads/mo, #12,465 on PyPI

Verify before relying

pip install python-bcb

from bcb import sgs
df = sgs.get(1, start="2023-01-01", end="2024-12-31")
  • License classification is unclear in the fact sheet; verify actual license terms before use in proprietary or GPL-incompatible projects.
  • Rate limiting behavior and retry strategy details are not specified; confirm handling for production workloads.
  • Async API stability and connection pooling behavior under sustained load are not documented in the fact sheet.
Same gist for agents: .md · .json

What it is and what it does

python-bcb is a Python wrapper for the Brazilian Central Bank's open data APIs, providing structured access to economic and financial datasets. It abstracts three main data sources: SGS (time-series economic indicators like interest rates and inflation), a currency converter for daily exchange rates, and OData endpoints for market expectations, interest rates, real estate financing, and financial institution data.

The package handles HTTP requests via httpx with connection pooling, parses responses into pandas DataFrames, and supports both synchronous and asynchronous retrieval. It includes built-in retry logic via tenacity, caches metadata where appropriate, and raises specific exceptions for common failure modes (rate limits, invalid series codes, missing currencies). Typical use is fetching historical economic time series for analysis, but it also supports ad-hoc queries with SQL-like filtering on OData endpoints.

Use it for

  • Fetch historical Selic or IPCA rates for inflation and interest rate analysis.
  • Retrieve daily USD/BRL exchange rates with buy/sell spreads for currency trading or financial reporting.
  • Query market consensus forecasts from the FOCUS bulletin for economic scenario planning.
  • Build dashboards or reports aggregating multiple BCB data sources concurrently with async methods.
  • Access real estate financing data and financial institution balance sheets for regulatory or research analysis.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need Brazilian Central Bank data.

The package is actively maintained, has low install friction, and provides a clean interface to otherwise fragmented APIs. License treatment is unclear, so verify terms before use in proprietary projects. No known vulnerabilities. Requires Python 3.10+.

Install

python-bcb on PyPI

Before you install

Low install friction with a pure-wheel distribution. Active maintenance with a release 60 days ago. Requires Python 3.10 or later.

Requires Python 3.10 or later.

Quickstart

pip install python-bcb

from bcb import sgs
df = sgs.get(1, start="2023-01-01", end="2024-12-31")

Verify before relying

  • License classification is unclear in the fact sheet; verify actual license terms before use in proprietary or GPL-incompatible projects.
  • Rate limiting behavior and retry strategy details are not specified; confirm handling for production workloads.
  • Async API stability and connection pooling behavior under sustained load are not documented in the fact sheet.

Package facts

LicenseNot declared unclear
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
httpxlxmlpandastenacity
MaintenanceActively maintained 60 days since the last release
First released
Downloads110,379 / month, #12,465 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: python_bcb-0.4.0-py3-none-any.whl

Tags

Capabilities
brazilian central bank data apibcb exchange rates pythoneconomic indicators time seriesbrazil financial data accessodata api wrapper python
Topics
financial-databrazilodata

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “brazilian central bank data api”

  • python-bcbStructured Python interface to fetch Brazilian Central Bank open data…
  • openbb-fixedincomeProvides fixed income market data—government bonds and central bank…
  • openbb-federal-reserveIntegrates Federal Reserve data sources into the OpenBB Platform,…

Give your agent the search over MCP, or paste the wish link into any chat.

More WWW/HTTP packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
h11 With conditions
PyPI · WWW/HTTP · released Apr 2025

h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.

MITpure Python · 3.8+aging
894.9Mdownloads / mo
httpx Worth it
PyPI · WWW/HTTP · released Dec 2024

HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.

Install it if you are building new projects or modernizing existing ones that rely on HTTP.

BSD-3-Clausepure Python · 3.8+
797.0Mdownloads / mo
httpcore With conditions
PyPI · WWW/HTTP · released Apr 2025

A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.

BSD-3-Clausepure Python · 3.8+aging
783.6Mdownloads / mo
aiohttp Worth it
PyPI · WWW/HTTP · released Jul 2026

aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.

Install it if you need async HTTP client or server capabilities in asyncio-based applications.

permissive licensecompiled wheel · 3.10+
643.6Mdownloads / mo

See also tradingeconomics · openbb-fixedincome · forex-python · validate-docbr · openbb-tradingeconomics · wbdata · openbb-federal-reserve · clabe · openplantbook-sdk · BrazilFiscalReport