==========
UPS shipping interface
Using
=======
from ups.client import UPSClient
from ups.model import Package, Address
credentials = {
'username': '',
'password': '',
'access_license': '',
'shipper_number': ''
}
shipper = Address(name='shipper address name', city='rio de janeiro',
address='', state='', zip='',
country='brazil')
recipient = Address(name='shipper address name', city='rio de janeiro',
address='', state='', zip='',
country='brazil')
packages = [Package(2, 3, 4, 5)]
ups = UPSClient(credentials)
response = ups.rate(packages=packages, packaging_type='2a',
shipper=shipper, recipient=recipient)
Metadata
Release files for django_shipments 2.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django_shipments-2.0.1.tar.gz | 7.9 kB | Without provenance | Details for django_shipments-2.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_shipments-2.0.1.linux-x86_64.tar.gz | Details for django_shipments-2.0.1.linux-x86_64.tar.gz |
Total release size: 51.4 kB
Release files / django_shipments-2.0.1.tar.gz
| Download URL | django_shipments-2.0.1.tar.gz |
|---|---|
| Size | 7.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b0c8fbb844f3e5b5080862273239240ac51dbaefd6d3109d4846429eef00c1cb
|
|
BLAKE2b-256 checksum How to use checksums |
0b79e5a9084d838232811f5cbaf2d32b2ba1952cd09c48d9c85e33ad6deb2d54
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / django_shipments-2.0.1.linux-x86_64.tar.gz
| Download URL | django_shipments-2.0.1.linux-x86_64.tar.gz |
|---|---|
| Size | 43.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
19aabe1dc5771131045d2664730abf717f309a45ab607801710b11fbf9a8aa4c
|
|
BLAKE2b-256 checksum How to use checksums |
c5c9202aa5cd68582f1590e4ef171fce97ee25c12a6b4a15ad78508fcd059719
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django_shipments 2.0.1
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.