Skip to main content
python-ups
==========

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)

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)

Source distribution for django_shipments 2.0.1
File Size Uploaded
django_shipments-2.0.1.tar.gz 7.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django_shipments 2.0.1
File Interpreter ABI Platform
django_shipments-2.0.1.linux-x86_64.tar.gz Details

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

Release history Release notifications | RSS feed

This release

2.0.1 This release

2 release files

2.0

2 release files

0.0.2

2 release files

0.0.1

2 release files

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