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_cep
endereco = consulta_cep('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.2.0.tar.gz (4.1 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.2.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: consulta_cep-0.2.0.tar.gz
  • Upload date:
  • Size: 4.1 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.2.0.tar.gz
Algorithm Hash digest
SHA256 3db1c673fdd9ff35334c1ea94f0777027831e9e231f786c1f641af6335682293
MD5 381fb8de1d4ce63a881e249610053a19
BLAKE2b-256 446d0e33915a6f25cbe6a5aab62853268dc54cd7562f9f2722e8466801f3516f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: consulta_cep-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.8 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9bbc9a884b9aa4e45517380d5c6723e17fb906c97c9cc3bb679faacf152f2bd1
MD5 b8ebc70c130cf0e08c76a09040f23116
BLAKE2b-256 13ec263562c041fe5b7bc6ef30699b8ddda28b692ab8ab6c98edb80fd3e3b3ce

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