Name | tunned-geobr JSON |
Version |
1.0.27
JSON |
| download |
home_page | None |
Summary | Fork personalizado do geobr com funcionalidades extras como download de dados da ANM |
upload_time | 2025-07-21 16:27:57 |
maintainer | None |
docs_url | None |
author | Anderson Stolfi |
requires_python | <4.0,>=3.9 |
license | MIT |
keywords |
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
|
coveralls test coverage |
No coveralls.
|
# geobr: Download Official Spatial Data Sets of Brazil
<img align="right" src="https://github.com/ipeaGIT/geobr/blob/master/r-package/man/figures/geobr_logo_b.png?raw=true" alt="logo" width="140">
<img align="right" src="https://github.com/ipeaGIT/geobr/blob/master/r-package/man/figures/geobr_logo_y.png?raw=true" alt="logo" width="140">
<p align="justify">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). </p>
## [READ FULL DOCS](https://github.com/ipeaGIT/geobr)
## Contribute
To start the development environment run
```sh
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
```sh
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 !
## System Dependencies
Some functions in geobr require additional system tools to be installed:
### For RAR file extraction (`read_baze_sites`)
This function requires one of the following tools to be installed:
- **unrar**:
- macOS: `brew install unrar`
- Ubuntu/Debian: `sudo apt-get install unrar`
- Windows: Install WinRAR
- **unar**:
- macOS: `brew install unar`
- Ubuntu/Debian: `sudo apt-get install unar`
- Windows: Install The Unarchiver
- **7-Zip**:
- macOS: `brew install p7zip`
- Ubuntu/Debian: `sudo apt-get install p7zip-full`
- Windows: Install 7-Zip
### For ZIP file extraction (IBGE files)
Some IBGE files use compression methods not supported by Python's built-in zipfile module. The following functions use the system's `unzip` command:
- `read_census_tract_2022`
- `read_neighborhoods_2022`
Make sure you have the `unzip` command available on your system:
- macOS: Typically pre-installed
- Ubuntu/Debian: `sudo apt-get install unzip`
- Windows: Install a tool like 7-Zip or add unzip via WSL
## Translation Status
| Function | Translated? | Easy? |
| ------------------------- | ----------- | ----- |
| read_amazon | Yes | Super |
| read_biomes | Yes | Super |
| read_census_tract | Yes | No |
| read_comparable_areas | Yes | Yes |
| read_conservation_units | Yes | Super |
| read_country | Yes | Super |
| read_disaster_risk_area | Yes | Super |
| read_health_facilities | Yes | Super |
| read_health_region | Yes | Super |
| read_immediate_region | Yes | Yes |
| read_indigenous_land | Yes | Super |
| read_intermediate_region | Yes | Yes |
| read_meso_region | Yes | No |
| read_metro_area | Yes | Super |
| read_micro_region | Yes | No |
| read_municipal_seat | Yes | Super |
| read_municipality | Yes | No |
| read_region | Yes | Super |
| read_semiarid | Yes | Super |
| read_state | Yes | Super |
| read_statistical_grid | Yes | No |
| read_urban_area | Yes | Super |
| read_urban_concentrations | Yes | Super |
| read_weighting_area | Yes | No |
| list_geobr | Yes | Yes |
| lookup_muni | Yes | No |
| read_neighborhood | Yes | Yes |
# Release new version
```
poetry version [patch|minor|major]
poetry publish --build
Raw data
{
"_id": null,
"home_page": null,
"name": "tunned-geobr",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.9",
"maintainer_email": null,
"keywords": null,
"author": "Anderson Stolfi",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/89/fe/163743b3028f7dce8d8f7812e2806f5cfca608b32c68e9de0bc6da3f4c42/tunned_geobr-1.0.27.tar.gz",
"platform": null,
"description": "# geobr: Download Official Spatial Data Sets of Brazil \n\n<img align=\"right\" src=\"https://github.com/ipeaGIT/geobr/blob/master/r-package/man/figures/geobr_logo_b.png?raw=true\" alt=\"logo\" width=\"140\"> \n<img align=\"right\" src=\"https://github.com/ipeaGIT/geobr/blob/master/r-package/man/figures/geobr_logo_y.png?raw=true\" alt=\"logo\" width=\"140\">\n<p align=\"justify\">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). </p> \n\n## [READ FULL DOCS](https://github.com/ipeaGIT/geobr)\n\n## Contribute\n\nTo start the development environment run\n\n```sh\nuv sync\n```\n\nTest with\n\n`uv run pytest -n auto`\n\nYou can use a helper to translate a function from R.\nIf you want to add `read_biomes`, just run\n\n```sh\nuv run python helpers/translate_from_R.py read_biomes\n```\n\nIt will scrape the original R function to get documentation and metadata.\nIt adds:\n- default year\n- function name\n- documentation one liner\n- larger documentation\n- very basic tests\n\n! Be aware that if the function that you are adding is more complicated than the template. So, always double check !\n\n## System Dependencies\n\nSome functions in geobr require additional system tools to be installed:\n\n### For RAR file extraction (`read_baze_sites`)\n\nThis function requires one of the following tools to be installed:\n\n- **unrar**: \n - macOS: `brew install unrar`\n - Ubuntu/Debian: `sudo apt-get install unrar`\n - Windows: Install WinRAR\n\n- **unar**:\n - macOS: `brew install unar`\n - Ubuntu/Debian: `sudo apt-get install unar`\n - Windows: Install The Unarchiver\n\n- **7-Zip**:\n - macOS: `brew install p7zip`\n - Ubuntu/Debian: `sudo apt-get install p7zip-full`\n - Windows: Install 7-Zip\n\n### For ZIP file extraction (IBGE files)\n\nSome IBGE files use compression methods not supported by Python's built-in zipfile module. The following functions use the system's `unzip` command:\n\n- `read_census_tract_2022`\n- `read_neighborhoods_2022`\n\nMake sure you have the `unzip` command available on your system:\n- macOS: Typically pre-installed\n- Ubuntu/Debian: `sudo apt-get install unzip`\n- Windows: Install a tool like 7-Zip or add unzip via WSL\n\n## Translation Status\n\n| Function | Translated? | Easy? |\n| ------------------------- | ----------- | ----- |\n| read_amazon | Yes | Super |\n| read_biomes | Yes | Super |\n| read_census_tract | Yes | No |\n| read_comparable_areas | Yes | Yes |\n| read_conservation_units | Yes | Super |\n| read_country | Yes | Super |\n| read_disaster_risk_area | Yes | Super |\n| read_health_facilities | Yes | Super |\n| read_health_region | Yes | Super |\n| read_immediate_region | Yes | Yes |\n| read_indigenous_land | Yes | Super |\n| read_intermediate_region | Yes | Yes |\n| read_meso_region | Yes | No |\n| read_metro_area | Yes | Super |\n| read_micro_region | Yes | No |\n| read_municipal_seat | Yes | Super |\n| read_municipality | Yes | No |\n| read_region | Yes | Super |\n| read_semiarid | Yes | Super |\n| read_state | Yes | Super |\n| read_statistical_grid | Yes | No |\n| read_urban_area | Yes | Super |\n| read_urban_concentrations | Yes | Super |\n| read_weighting_area | Yes | No |\n| list_geobr | Yes | Yes |\n| lookup_muni | Yes | No |\n| read_neighborhood | Yes | Yes |\n\n# Release new version\n\n```\npoetry version [patch|minor|major]\npoetry publish --build\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Fork personalizado do geobr com funcionalidades extras como download de dados da ANM",
"version": "1.0.27",
"project_urls": {
"homepage": "https://github.com/popogis24/tunned_geobr",
"repository": "https://github.com/popogis24/tunned_geobr"
},
"split_keywords": [],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "8ed47b0ca25190dd830ff15943616beb237bdf3359404c7dce81d4fe92a35dc1",
"md5": "7b3a999c20aa4c90c5513bb989d01ba9",
"sha256": "60d2a668857ae8943719123641688ee7742f558fe61bd817120749b328202df3"
},
"downloads": -1,
"filename": "tunned_geobr-1.0.27-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7b3a999c20aa4c90c5513bb989d01ba9",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.9",
"size": 260932,
"upload_time": "2025-07-21T16:27:55",
"upload_time_iso_8601": "2025-07-21T16:27:55.688057Z",
"url": "https://files.pythonhosted.org/packages/8e/d4/7b0ca25190dd830ff15943616beb237bdf3359404c7dce81d4fe92a35dc1/tunned_geobr-1.0.27-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "89fe163743b3028f7dce8d8f7812e2806f5cfca608b32c68e9de0bc6da3f4c42",
"md5": "31f18f843f360d91addf40e251ea8cf3",
"sha256": "98ae1b8b48407f3cb716a48ef93d1dba35c92d95e1eb589dbd990bd254a3e219"
},
"downloads": -1,
"filename": "tunned_geobr-1.0.27.tar.gz",
"has_sig": false,
"md5_digest": "31f18f843f360d91addf40e251ea8cf3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.9",
"size": 81518,
"upload_time": "2025-07-21T16:27:57",
"upload_time_iso_8601": "2025-07-21T16:27:57.044145Z",
"url": "https://files.pythonhosted.org/packages/89/fe/163743b3028f7dce8d8f7812e2806f5cfca608b32c68e9de0bc6da3f4c42/tunned_geobr-1.0.27.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-21 16:27:57",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "popogis24",
"github_project": "tunned_geobr",
"travis_ci": true,
"coveralls": false,
"github_actions": true,
"lcname": "tunned-geobr"
}