Skip to main content

Biblioteca para consulta de endereços a partir de CEP usando serviços variados.

Project description

Consulta CEP

Biblioteca para consulta de endereços a partir de CEP usando serviços variados. Veja no PyPI: https://pypi.org/project/consulta-cep/

Instalação

Você pode instalar a biblioteca via pip:

pip install consulta-cep

Uso em programas

from consulta_cep import consulta_concorrente
endereco = consulta_concorrente('05010-000')
print(endereco)
Endereco(servico='BrasilAPI', estado='SP', cidade='São Paulo', bairro='Perdizes', logradouro='Rua Caiubi')

Uso utilitário

Você pode executar como utilitário:

python -m consulta_cep 01001-000

{"servico": "BrasilAPI", "estado": "SP", "cidade": "S\u00e3o Paulo", "bairro": "S\u00e9", "logradouro": "Pra\u00e7a da S\u00e9"}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

consulta_cep-0.1.2.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

consulta_cep-0.1.2-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file consulta_cep-0.1.2.tar.gz.

File metadata

  • Download URL: consulta_cep-0.1.2.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.19

File hashes

Hashes for consulta_cep-0.1.2.tar.gz
Algorithm Hash digest
SHA256 67bda5d2a9949e95adf8248452c2a5775f5411b65f26dba6838b4f09f33ab8f9
MD5 cee0ffa7c48ddd031d4ef50ca7f3895c
BLAKE2b-256 9324d25b4838f085a83527d20fb10d9bc2546d1e8b1bf81fc95a2d088028e494

See more details on using hashes here.

File details

Details for the file consulta_cep-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: consulta_cep-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.19

File hashes

Hashes for consulta_cep-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ebb650d2e14c8f5c4471b385c31e96b2af21e95264e040fb962fd785badb00f6
MD5 c926856828939c32b73edab78bf8ca2b
BLAKE2b-256 bb33cf357fcaf705e3b8ea1e4d76d63d9fe81388081d8d7d939d0977e89193ef

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page