carbr 
Os imóveis rurais declarados no Cadastro Ambiental Rural (CAR) no Python, sem baixar a base inteira.
O carbr lê uma republicação dos dados públicos do Sicar em GeoParquet. Cada
consulta — por UF, município, situação, porte, retângulo, ponto ou código do
imóvel — transfere só os trechos do arquivo de que precisa, e não passa pelos
servidores do Sicar.
Documentação: https://strategicprojects.github.io/carbr-py/
Instalação
pip install "carbr[geo]"
Sem o extra geo, a geometria vem em WKB e car_at() não está disponível.
Uso
import carbr
carbr.car_catalog() # UFs publicadas, versão e qualidade da carga
carbr.car_summary(["state", "size_class"]) # totais do país, sem ler os imóveis
carbr.car_municipalities("PE") # resumo por município
# Imóveis grandes de Petrolina, como GeoDataFrame
carbr.car_properties("PE", municipality="Petrolina", size_class="large")
# Cadastros pendentes do estado, sem transferir a geometria
carbr.car_properties("PE", status="pending", geometry=False)
carbr.car_at(lon=-40.5, lat=-9.2) # que imóveis estão declarados neste ponto?
carbr.car_property("PE-2611101-588BC484570D440484F527F07DF5AFFA")
# Qualquer outra consulta, direto no arquivo remoto
carbr.car_tbl("PE").aggregate("status, size_class, count(*) AS n").df()
Guias
- Primeiros passos
- Inconsistências do cadastro: sobreposições, imóveis fora do município, área declarada maior que o território.
- Onde a análise está parada: as etapas da análise por UF e quem aguarda resposta à notificação.
Os dados
- Origem: serviço público do Sicar, do Serviço Florestal Brasileiro. O cadastro é autodeclarado: há sobreposições entre imóveis, e a presença no CAR não comprova domínio.
- Conteúdo: o perímetro declarado e dez atributos de cada imóvel. Não há dado pessoal.
- Cobertura: as 27 UFs, cerca de 8,6 milhões de imóveis.
car_catalog()mostra o que está publicado e a data. - Endereço: o padrão é um bucket público;
carbr.set_base_url()ou a variávelCAR_URLapontam para um espelho compatível com S3 ou para uma pasta local.
As mesmas funções existem em R: carbr-r.
Licença
Código sob licença MIT. Os dados são do Sicar; use car_cite() para citá-los.
Metadata
Release files for carbr 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| carbr-0.1.1.tar.gz | 1.7 MB | With provenance | Details for carbr-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| carbr-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for carbr-0.1.1-py3-none-any.whl |
Total release size: 1.7 MB
Release files / carbr-0.1.1.tar.gz
| Download URL | carbr-0.1.1.tar.gz |
|---|---|
| Size | 1.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b40a1ab6cfb5741661974196e48e34285f9de21312c28cabbaf8cc937a752d84
|
|
BLAKE2b-256 checksum How to use checksums |
3b95c1b5dcaab264408ec047ee43a6fb8b9c73d825b99f2d03ce5ca02931fefd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 25, 2026.
Transparency logRelease files / carbr-0.1.1-py3-none-any.whl
| Download URL | carbr-0.1.1-py3-none-any.whl |
|---|---|
| Size | 14.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2e07933b2c7c6f5a028761b85d683c3708d041e97bc3a8a8afc7e07e3a800d38
|
|
BLAKE2b-256 checksum How to use checksums |
60d4cf0ed5e88a8b62cbb99c4203e8905d29fc0159a950b4b1a91ba0be32e827
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 25, 2026.
Transparency logSecurity for carbr 0.1.1
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.
Attestation for carbr-0.1.1.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 25, 2026.
Transparency logA 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.