百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
S

SICAR

> 编程语言
开源

此工具专为学生、研究人员、数据科学家或任何想要访问 SICAR 文件的人而设计

100 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

此工具专为学生、研究人员、数据科学家或任何想要访问 SICAR 文件的人而设计

SICAR

English | Português (BR)

This tool is designed for students, researchers, data scientists, or anyone who would like to have access to SICAR files.

Badges

Features

  • Download polygon
  • Download state
  • Download the entire country
  • Tesseract, and PaddleOCR (Optional) drivers to automatically detect captcha

Installation

Requires Python 3.12+.

Install with uv (recommended):

bash
uv add "SICAR @ git+https://github.com/urbanogilson/SICAR"

Or with pip:

bash
pip install "git+https://github.com/urbanogilson/SICAR"

Prerequisite:

Google Tesseract OCR (additional info on how to install the engine on Linux, Mac OSX, and Windows).

Optional: PaddleOCR (additional info on how to install the engine on Linux, Mac OSX, and Windows).

If you don't want to install dependencies on your computer or don't know how to install them, we strongly recommend Google Colab.

Documentation

  • SICAR package - API
  • SICAR package - What is? Why?
  • Data dictionary

Usage/Examples

…

OCR drivers

Optical character recognition (OCR) drivers are used to recognize characters in a captcha.

We currently have two options for automating the download process.

Tesseract OCR (Default)

python
from SICAR import Sicar, State, Polygon
from SICAR.drivers import Tesseract

# Create Sicar instance using Tesseract OCR
car = Sicar(driver=Tesseract)

# Download a state
car.download_state(State.SP, Polygon.LEGAL_RESERVE, folder="SICAR/SP")

PaddleOCR

Install SICAR including the Paddle dependencies

bash
uv add "SICAR[paddle] @ git+https://github.com/urbanogilson/SICAR"
# or
pip install "SICAR[paddle] @ git+https://github.com/urbanogilson/SICAR"
python
from SICAR import Sicar, State, Polygon
from SICAR.drivers import Paddle

# Create Sicar instance using PaddleOCR
car = Sicar(driver=Paddle)

# Download a state
car.download_state(State.AM, Polygon.CONSOLIDATED_AREA, folder="SICAR/AM")

Run with Google Colab

Using Google Colab, you don't need to install the dependencies on your computer and you can save files directly to your Google Drive.

Run with Docker

Pull Image from Docker Hub urbanogilson/sicar

bash
docker pull urbanogilson/sicar:latest

Run the downloaded Docker Image using an entry point (file) from your machine (host)

…

bash git clone https://github.com/urbanogilson/SICAR && cd SICAR uv sync --all-extras pre-commit install


Run the checks and tests:

```bash
uv run ruff check .
uv run ruff format --check .
uv run mypy src
uv run coverage run --rcfile=pyproject.toml -m unittest tests/unit/*.py tests/unit/drivers/*.py

Alternatively, a fully configured development environment is available using Visual Studio Code Dev Containers. Contributions are always welcome!

Feedback

If you have any feedback, please reach me at [email protected]

License

MIT

Issues· 1 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Pythonbrazilgeospatialopendatapython

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言