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.1.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.1-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for consulta_cep-0.1.1.tar.gz
Algorithm Hash digest
SHA256 35a532e63b999b64211d349008e168ff06fd5dc30d49280c451e0693c8c19d68
MD5 1ee4845e9ef3c46998edabb03b3d0253
BLAKE2b-256 d21e963a64dd9eddf29c298b5cd5b6706226d231ccd1164f354cd00a054eb45d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: consulta_cep-0.1.1-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.12.3

File hashes

Hashes for consulta_cep-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 789d389a433d96eba48979aa0c996e629215c0e06616f800312769d6965a4387
MD5 cb0cdc7bf3e3afcf398524b4d3e9eece
BLAKE2b-256 67b97904f9091a1127c311cff84704ebde1a863b97866d10fce6672f60a817eb

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