Skip to main content

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. As consultas devolvem DataFrames do Pandas ou do Polars.

Instalação

pip install DadosAbertosBrasil

# Para resultados em Polars
pip install "DadosAbertosBrasil[polars]"

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.
  • 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 2.3.0

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 2.3.0
File Size Uploaded Provenance Actions
dadosabertosbrasil-2.3.0.tar.gz 85.6 kB With provenance Details for dadosabertosbrasil-2.3.0.tar.gz

Built distribution (wheel)

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

Total release size: 198.6 kB

Release files / dadosabertosbrasil-2.3.0.tar.gz

Download URL dadosabertosbrasil-2.3.0.tar.gz
Size 85.6 kB
Tags Source
SHA-256 checksum
How to use checksums
8423b16bcf379107f93cc9f1361842f34e9d60a0dbadbf5eb050cee8ed610fb1
BLAKE2b-256 checksum
How to use checksums
75b218ab43d1e1ba6223b96c78f8224f9ce78c78569774d8d55a95c55f43d3f7
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-2.3.0-py3-none-any.whl

Download URL dadosabertosbrasil-2.3.0-py3-none-any.whl
Size 113.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c36661e043ca1daad8d37b27934c0acb3c307ae4f4f4e91d9033ce9c04f6cc39
BLAKE2b-256 checksum
How to use checksums
63d6635f07f165163f67e655cee012ec22ddb9c5160b627c460559108d4ce8c1
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 2.3.0

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-2.3.0.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