Skip to main content

Endereco

To install

pip install endereco

To import the library

from endereco import Endereco

Defining the CEP, UF, CIDADE, BAIRRO or ENDERECO

data = Endereco('59082310')

or address

data = Endereco('rua buzius') 

Get Mensagem

print(data.mensagem())

Get number of register

print(data.total())

Get all address

print(data.resultados())

All functions of address

print(data.resultados()[0]['uf'])
print(data.resultados()[0]['localidade'])
print(data.resultados()[0]['locNoSem'])
print(data.resultados()[0]['locNu'])
print(data.resultados()[0]['localidadeSubordinada'])
print(data.resultados()[0]['logradouroDNEC'])
print(data.resultados()[0]['logradouroTextoAdicional'])
print(data.resultados()[0]['logradouroTexto'])
print(data.resultados()[0]['baiNu'])
print(data.resultados()[0]['nomeUnidade'])
print(data.resultados()[0]['cep'])
print(data.resultados()[0]['tipoCep'])
print(data.resultados()[0]['numeroLocalidade'])
print(data.resultados()[0]['situacao'])
print(data.resultados()[0]['faixasCaixaPostal'])
print(data.resultados()[0]['faixasCep'])

Links

See my GitHub.

Release files for endereco 0.0.6

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

Source distribution (sdist)

Source distribution for endereco 0.0.6
File Size Uploaded
endereco-0.0.6.tar.gz 3.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for endereco 0.0.6
File Interpreter ABI Platform
endereco-0.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 6.1 kB

Release files / endereco-0.0.6.tar.gz

Download URL endereco-0.0.6.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5e2461acc30dc22177cc4a202557000b71cf3a3b1e96508484eaf7a156476eff
BLAKE2b-256 checksum
How to use checksums
0ecd25fc85c6c61cf7213618f3c5e0767073596aa9cec3fba6eabe932ae0fc6b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

Release files / endereco-0.0.6-py3-none-any.whl

Download URL endereco-0.0.6-py3-none-any.whl
Size 2.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
06a0d664713336c98eab24deb212769fe05e60528c8977f0777bcde9829b5168
BLAKE2b-256 checksum
How to use checksums
d99cae2c08c0bfc77a15502a4e75257978e60be47c041b848931d44542de2199
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files

0.0.5

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