Skip to main content

Correos

Python API Correos carrier.

Features

  • Services

  • Test connection

  • Create/Send shipments to Correos

  • Get label shipment in PDF

Usage Examples

Example API in test.py file

Services

from correos.utils import services
services()

Test connection

with API(username, password, code, debug) as correos_api:
    print correos_api.test_connection()

Oficinas

Get Correos offices by zip

with API(username, password, code, debug) as correos_api:
    zip = '08720'
    print correos_api.oficinas(zip)

Create/send shipment to Correos

with Picking(username, password, code, debug) as picking_api:
    data = {...}
    reference, label, error = picking_api.create(data)

Get label shipment

with Picking(username, password, code, debug) as picking_api:
    data = {...}
    label = picking_api.label(data)

Metadata

Release files for correos 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for correos 0.0.6
File Size Uploaded Provenance Actions
correos-0.0.6.tar.gz 26.4 kB Without provenance Details for correos-0.0.6.tar.gz

Release files / correos-0.0.6.tar.gz

Download URL correos-0.0.6.tar.gz
Size 26.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ed3dbe53f0ba65891f3789a03aa2d1b91ced1d32cccc75b881b96f83d14dcb28
BLAKE2b-256 checksum
How to use checksums
4e24f6c39ed521f68cec867f0a0383e8a6d320f6760c82f0531d353ff203f718
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for correos 0.0.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page