Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Dados Abertos Brasil

A forma mais simples de acessar dados abertos e APIs do governo brasileiro com Python.

PyPI Versões do Python Downloads Testes Licença

Documentação

Pacote open-source que padroniza o acesso às APIs do IBGE, do Ipea, do Banco Central, da Câmara dos Deputados e do Senado Federal, além de dados da Wikipedia e do Wikidata. As consultas devolvem registros (json), modelos Pydantic ou DataFrames do pandas e do polars.

Instalação

pip install DadosAbertosBrasil

# Para resultados em DataFrames
pip install "DadosAbertosBrasil[pandas]"   # ou [polars]

Vindo do 2.x? Veja o guia de migração para o 3.0.

Módulos

  • ibge: localidades, malhas, população, nomes e tabelas do SIDRA.
  • ipea: séries temporais do IpeaData.
  • bacen: câmbio, expectativas de mercado e séries do SGS do Banco Central.
  • camara: deputados, partidos, proposições, votações e eventos da Câmara.
  • senado: senadores, legislaturas, partidos e orçamentos do Senado.
  • favoritos: atalhos para as consultas mais comuns, como IPCA, Selic e PIB.
  • wiki: governadores, ministros, tribunais, partidos, UFs e municípios, da Wikipedia e do Wikidata.
  • uf: a classe UF, que reúne os dados de um estado num só objeto.

Veja a referência de cada módulo e os exemplos.

Metadata

Release files for DadosAbertosBrasil 3.0.0rc1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for DadosAbertosBrasil 3.0.0rc1
File Size Uploaded Provenance Actions
dadosabertosbrasil-3.0.0rc1.tar.gz 115.5 kB With provenance Details for dadosabertosbrasil-3.0.0rc1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for DadosAbertosBrasil 3.0.0rc1
File Interpreter ABI Platform Actions
dadosabertosbrasil-3.0.0rc1-py3-none-any.whl Python 3 none any Details for dadosabertosbrasil-3.0.0rc1-py3-none-any.whl

Total release size: 258.8 kB

Release files / dadosabertosbrasil-3.0.0rc1.tar.gz

Download URL dadosabertosbrasil-3.0.0rc1.tar.gz
Size 115.5 kB
Tags Source
SHA-256 checksum
How to use checksums
309064feb0dff6369e70954b7152e59cc4b58bd9974eb772e5ecdcde7bce3335
BLAKE2b-256 checksum
How to use checksums
90c53afab4846d3106f3dcd8e906114faa710f90874d7aa3f5ab09be764810bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

Release files / dadosabertosbrasil-3.0.0rc1-py3-none-any.whl

Download URL dadosabertosbrasil-3.0.0rc1-py3-none-any.whl
Size 143.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cb694d16add04bdad2be643a8e7338382dfb8dc2df62fb529a60269cea45e6e9
BLAKE2b-256 checksum
How to use checksums
39f1f4ae0eaf8ef6f7b69e44f4859c87ac0df790832acca6e29692cdf739ae0a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

Security for DadosAbertosBrasil 3.0.0rc1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for dadosabertosbrasil-3.0.0rc1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page