Skip to main content

geobr: Download Official Spatial Data Sets of Brazil

Project description

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.

Project details


Download files

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

Source Distribution

geobr-1.0.0.tar.gz (52.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-1.0.0-py3-none-any.whl (48.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: geobr-1.0.0.tar.gz
  • Upload date:
  • Size: 52.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for geobr-1.0.0.tar.gz
Algorithm Hash digest
SHA256 3c807353bd31bf1f812883c453266b6eef2dd7388bc349feab1489bc3359b6fc
MD5 7f440ee39c0af25fe810bccc742d83f7
BLAKE2b-256 80f168cf2777b07e890a2c91b5dd575944d63a71100671fc243c178c74276a4e

See more details on using hashes here.

Provenance

The following attestation bundles were made for geobr-1.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-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: geobr-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 48.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for geobr-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 26e8d0215978712426da8497839795c0b2218574d806356bfbd979545643a114
MD5 c04e118c9bfa35202aa43a058755c097
BLAKE2b-256 8f933f68f4e51a504e5a0ff63b1da46ae79a105908b9a62aab5bcdf7a88b93ab

See more details on using hashes here.

Provenance

The following attestation bundles were made for geobr-1.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.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page