This release is a pre-release and may not be stable for production use.
tomba
Identifique endereços, bairros e outras localizações brasileiras em um texto. 🏘
Não sabe o que é o Tomba?
Essa biblioteca é experimental e está no seu estágio inicial de desenvolvimento.
Objetivo:
import tomba
tomba.get_locations(
"Contratação de empresa de engenharia para executar obras "
"de pavimentação localizados no CEP 44100-000, no bairro Tomba."
)
Saída:
[
{"type": "zipcode", "start": 92, "end": 123},
{"type": "neighborhood", "start": 113, "end": 118}
]
Desenvolvimento
Utilizamos o poetry para empacotamento e gerenciamento das dependências.
Para instalar as dependências, execute poetry install.
Para configurar o spacy em português, execute:
poetry run python -m spacy download pt_core_news_sm
Para rodar os testes:
poetry run pytest
Para gerar um novo modelo:
poetry run python tomba/models.py
Metadata
Release files for tomba 0.1.1a1
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 |
|---|---|---|---|---|
| tomba-0.1.1a1.tar.gz | 16.1 kB | Without provenance | Details for tomba-0.1.1a1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tomba-0.1.1a1-py3-none-any.whl | Python 3 | none | any | Details for tomba-0.1.1a1-py3-none-any.whl |
Total release size: 33.1 kB
Release files / tomba-0.1.1a1.tar.gz
| Download URL | tomba-0.1.1a1.tar.gz |
|---|---|
| Size | 16.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b6de9955d9b94492767d0c67529597f74163f5a359cc65793b9d95502f2717bb
|
|
BLAKE2b-256 checksum How to use checksums |
818f260720aec70add0a98c05c7ecec2cd5486ec3bcf3b05f397a0222621518a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.4 CPython/3.8.5 Linux/4.19.104-microsoft-standard
|
Release files / tomba-0.1.1a1-py3-none-any.whl
| Download URL | tomba-0.1.1a1-py3-none-any.whl |
|---|---|
| Size | 17.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f8feaa9e454eef1d41d27ef6ad509e26e973f54b43008ca650f061481d851ee5
|
|
BLAKE2b-256 checksum How to use checksums |
efd46d2e487c229ec7beecf482d9fa77f114ee68680797dfffda14e7e931ef11
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.4 CPython/3.8.5 Linux/4.19.104-microsoft-standard
|
Security for tomba 0.1.1a1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.