Skip to main content

A client library for Brazilian Correios APIs and services

Project description

Latest PyPI version Latest Travis CI build status Latest coverage status

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

This version

4.8.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

correios-4.8.0.tar.gz (177.2 kB view details)

Uploaded Source

File details

Details for the file correios-4.8.0.tar.gz.

File metadata

  • Download URL: correios-4.8.0.tar.gz
  • Upload date:
  • Size: 177.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.4

File hashes

Hashes for correios-4.8.0.tar.gz
Algorithm Hash digest
SHA256 239d5b91f5c58bac640e3553856e2912bb7b771a019ff5f8b2c2f4f1186cee8f
MD5 fdcf69119208db9594aae339312c97f3
BLAKE2b-256 04aad2ff53cb62cfda156aa956b490ce1dd7928f7302f85108acc97b9edbe3c8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page