Skip to main content

Find an english version of this README file here.

Encontrando CEP a partir de endereços completos

"CEP é a sigla de Código de Endereçamento Postal, criado e utilizado pelos Correios para facilitar o encaminhamento
e a entrega das correspondências aos destinatários. O CEP é uma informação indispensável na correspondência,
pois identifica todos os detalhes do endereço."

Significados

Há diversos serviços e repositórios que retornam um determinado endereço a partir do CEP. Este pacote faz o caminho contrário: encontra CEPs a partir de endereços completos.

Como usar

Para instalar basta usar o pip:

pip install CEP-por-endereco-completo

A função toma endereço, número, cidade e UF como argumentos.

cep_finder(address, number, city, uf)

Exemplo:

from CEP_por_endereco.cep_finder import cep_finder
cep_finder('avenida protasio alves', '1889', 'Porto Alegre', 'RS')

Retorna:

'90450-190'

Bibliotecas utilizadas

beautifulsoup4
requests
unicodedata

Metadata

Release files for CEP-por-endereco-completo 0.1.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for CEP-por-endereco-completo 0.1.8
File Interpreter ABI Platform Actions
CEP_por_endereco_completo-0.1.8-py3-none-any.whl Python 3 none any Details for CEP_por_endereco_completo-0.1.8-py3-none-any.whl

Release files / CEP_por_endereco_completo-0.1.8-py3-none-any.whl

Download URL CEP_por_endereco_completo-0.1.8-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6b1fc01f297daecb9f06306c0cfca8f2b6709ed82e5d1fb7927312a9d4045d14
BLAKE2b-256 checksum
How to use checksums
bf42ee69c3e49d8c5a75dc550e5eeb1ecdd00398241285a535784a2bd87d6836
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Security for CEP-por-endereco-completo 0.1.8

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.

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