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

6.1.6

Download files

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

Source Distribution

correios-6.1.6.tar.gz (178.5 kB view details)

Uploaded Source

Built Distribution

correios-6.1.6-py3-none-any.whl (200.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: correios-6.1.6.tar.gz
  • Upload date:
  • Size: 178.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.31.1 CPython/3.7.0

File hashes

Hashes for correios-6.1.6.tar.gz
Algorithm Hash digest
SHA256 ad82d2b20662d1a8c3ca79c3e7488f3f709bf9ef9c87581c7b17ac4089a1ef18
MD5 98ebb358b1e94dd9b315830ce2033742
BLAKE2b-256 82c5a4896143d064533d53ef69856f5edc2247a9ff826d62beb4a9eb8d3b2451

See more details on using hashes here.

File details

Details for the file correios-6.1.6-py3-none-any.whl.

File metadata

  • Download URL: correios-6.1.6-py3-none-any.whl
  • Upload date:
  • Size: 200.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.31.1 CPython/3.7.0

File hashes

Hashes for correios-6.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 ee5a82fbbdb46d79e0e42076e3bf8037589e4c6f2b364ab1159c9c91728c8b0e
MD5 934c0b242a990d7f9108b85b6a89ee91
BLAKE2b-256 44f9327b5d201a9bfd21adcd44c072e2174333d2f2c89938699edf60b3f5dba2

See more details on using hashes here.

Supported by

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