Busca endereço a partir de um CEP no site dos Correios
pip install python-cep
import buscacep
res = buscacep.busca_cep_correios('01310000')
# as dict (and convert to json if needed)
res = buscacep.busca_cep_correios_as_dict('01310000')
Raw data
{
"_id": null,
"home_page": "https://github.com/aechiara/python-cep",
"name": "python-cep",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "cep correios logradouro",
"author": "Alex Eduardo Chiaranda",
"author_email": "aechiara@gmail.com",
"download_url": "",
"platform": null,
"description": "Busca endere\u00e7o a partir de um CEP no site dos Correios\n\npip install python-cep\n\nimport buscacep\n\nres = buscacep.busca_cep_correios('01310000')\n\n# as dict (and convert to json if needed)\n\nres = buscacep.busca_cep_correios_as_dict('01310000')\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Busca endereco a partir de um CEP no site dos Correios",
"version": "0.4.1",
"project_urls": {
"Homepage": "https://github.com/aechiara/python-cep"
},
"split_keywords": [
"cep",
"correios",
"logradouro"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ac1c8d61902d0c83e7eafc541f23034a4e60e68f9d6a81bfa640a5149c19ef1f",
"md5": "abc09186a66bfe79102425e9708f610d",
"sha256": "53ab097c9d2c074303a0b52f27f0a04177453845686b3cfe111eaa12d33301aa"
},
"downloads": -1,
"filename": "python_cep-0.4.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "abc09186a66bfe79102425e9708f610d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 3115,
"upload_time": "2023-12-21T17:22:26",
"upload_time_iso_8601": "2023-12-21T17:22:26.318051Z",
"url": "https://files.pythonhosted.org/packages/ac/1c/8d61902d0c83e7eafc541f23034a4e60e68f9d6a81bfa640a5149c19ef1f/python_cep-0.4.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-21 17:22:26",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "aechiara",
"github_project": "python-cep",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"circle": true,
"lcname": "python-cep"
}