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-6.1.16.tar.gz
.
File metadata
- Download URL: correios-6.1.16.tar.gz
- Upload date:
- Size: 178.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f295edebfae1548d9c499cda3f9afcd40852bc04dbd3fbf0711c29246e7a8d4c |
|
MD5 | 18dcb5acf39ae98f8d9f6c649611b92e |
|
BLAKE2b-256 | 8cb51cb3b6e2e5a165913d2843c8e7862ee266a8906ffe5412b925975752ccaa |