skip to navigation
skip to content

Not Logged In

python-ups 0.0.2

UPS shipping interface

Latest Version: 0.0.4

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)  
File Type Py Version Uploaded on Size
python-ups-0.0.2.tar.gz (md5) Source 2012-09-25 7KB
  • Downloads (All Versions):
  • 0 downloads in the last day
  • 31 downloads in the last week
  • 209 downloads in the last month