A client library for Brazilian Correios APIs and services
Project description
A client library for Brazilian Correios APIs (SIGEP and SRO) and services.
Installation
$ pip install correios # basic model support
$ pip install correios[pdf] # label and posting list pdf generation support
$ pip install correios[api] # support for SIGEP/SRO API client
$ pip install correios[pdf,api] # full installation
Update Local WSDL Files
Local WSDL files are used to increase performance on SOAP requests. Enventually you’ll want to update them and withou having to update this lib.
If you want to maintain this files on a custom path you can pass the ‘path’ option with the custom path. Don’t use relative paths.
Just run on shell
$ update-correios-wsdl -p /path/to/your/custom/wsdl/folder
Arguments: -p, –path : Custom path where wsdl files will be saved, note that this option will have higher priority than the value of the envvar ‘CORREIOS_WSDL_PATH’
Or you can use the method update_wsdl to do it.
from correios.update_wsdl import update_wsdl
update_wsdl(path='/path/to/your/custom/wsdl/folder')
That’s it!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file correios-4.6.1.tar.gz
.
File metadata
- Download URL: correios-4.6.1.tar.gz
- Upload date:
- Size: 175.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2cca96d6d4af05f1a91b82027be7d298a0cafa50bd561ec0f7bf1c72f5b5e3b7 |
|
MD5 | c282eee3a6fcbbbb57f216e469c0597c |
|
BLAKE2b-256 | 3247f57f920837c2e5d0e7388cf390f3475fd8e5d9dc23fccca9a8cf472694ed |