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
CEP_por_endereco_completo-0.1.8-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.1.8 This release

1 release file

0.1.7

1 release file

0.1.6

1 release file

0.1.4

1 release file

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

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