Skip to main content

geobr: Download Official Spatial Data Sets of Brazil

logo logo

geobr is a computational package to download official spatial data sets of Brazil. The package includes a wide range of geospatial data in geopackage format (like shapefiles but better), available at various geographic scales and for various years with harmonized attributes, projection and topology (see detailed list of available data sets below).

READ FULL DOCS

Contribute

To start the development environment run

uv sync

Test with

uv run pytest -n auto

You can use a helper to translate a function from R. If you want to add read_biomes, just run

uv run python helpers/translate_from_R.py read_biomes

It will scrape the original R function to get documentation and metadata. It adds:

  • default year
  • function name
  • documentation one liner
  • larger documentation
  • very basic tests

Be aware that if the function that you are adding is more complicated than the template. So, always double check.

Release new version

  1. Update version in pyproject.toml and the CHANGELOG.md.
  2. Commit and push to master.
  3. Tag the release (the python-v prefix avoids conflicts with R package tags):
git tag python-v1.0.0
git push origin python-v1.0.0
  1. The Python-publish-PyPI workflow will automatically build, test, and upload to PyPI.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

geobr-2.0.0.tar.gz (60.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

geobr-2.0.0-py3-none-any.whl (51.6 kB view details)

Uploaded Python 3

File details

Details for the file geobr-2.0.0.tar.gz.

File metadata

  • Download URL: geobr-2.0.0.tar.gz
  • Upload date:
  • Size: 60.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for geobr-2.0.0.tar.gz
Algorithm Hash digest
SHA256 a922ffca22d45b26d809c8caced66b75bf99392c80e8cc1fccc085d2b39b54ea
MD5 203212c65cf47a7b2025dcfe73cb5216
BLAKE2b-256 c302acd9760da35c876d6084727a6175587acaa4cfd022505decdd08f3c5d733

See more details on using hashes here.

Provenance

The following attestation bundles were made for geobr-2.0.0.tar.gz:

Publisher: Python-publish-pypi.yaml on ipea/geobr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file geobr-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: geobr-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 51.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for geobr-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b1fc01b46edca9a33af27fe23ac696b6cdb4c6b632790d17d78db3ca830609d8
MD5 b56bbd65927ba42997c244f24a94d45e
BLAKE2b-256 9dafc5a1a2cf4f666af94f40092bef864c215557514eac5facba6beee9455006

See more details on using hashes here.

Provenance

The following attestation bundles were made for geobr-2.0.0-py3-none-any.whl:

Publisher: Python-publish-pypi.yaml on ipea/geobr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 files

1.0.0

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.10

2 files

0.1.9

1 file

0.1.8

1 file

0.1.7

1 file

0.1.6

1 file

0.1.5

1 file

0.1.4

1 file

0.1.3

1 file

0.1.2

1 file

0.1.1

1 file

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