This package helps you to get a CEP or Address from brazilian's postal service.
Version 0.0.1:
- Get CEP by address
- Get address by CEP
Use the package manager to install.
pip install PyCepSearch
After install:
from py_cep_search import cepsearch
search = cepsearch.CepSearch()
Get Addres by CEP
address = search.get_address_by_cep("") #it returns a dict
Get CEP by Address
cep = search.get_cep_by_address("") #it returns a list
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.