Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Shipping interface for multiple carriers

Project Description
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 History

Release History

This version
History Node

2.0.1

History Node

2.0

History Node

0.1.15

History Node

0.0.2

History Node

0.0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django_shipments-2.0.1.linux-x86_64.tar.gz (43.5 kB) Copy SHA256 Checksum SHA256 any Dumb Binary Aug 3, 2014
django_shipments-2.0.1.tar.gz (7.9 kB) Copy SHA256 Checksum SHA256 Source Aug 3, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting