This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

pysagec is a Python library to use with SAGEC MRW webservices.

It aims to be simple to use but with the ability to use any of the fields of the underlying API:

import pysagec
import datetime as dt

url = '//user:pass@example.com/?franchise=12&subscriber=34&department=56'

client = pysagec.create_client(url)

pickup_info = pysagec.PickupInfo(
    pickup_address=pysagec.Address(street_name='Plaza de España',
                                   postal_code='36001',
                                   city='Pontevedra'),
    recipient_name='Juan Pérez',
    recipient_phone_number='555555555',
    comments='Por las mañanas.',
)

service_info = pysagec.ServiceInfo(
    number_of_packages=1,
    date=dt.date.today(),
    service_code='0000',
)

response = client.send(pickup_info, service_info)

print(response.shipping_number)

Features

  • Use python classes instead of XML.
  • Simplify method invocation.
  • It has no dependencies, only standard library.

Installation

Install pysagec from PyPI:

$ pip install pysagec

Change log

Unreleased

0.1.1 - 2016-09-02

  • Add an example.
  • Include more models into __init__.

0.1.0 - 2016-08-25

  • First production ready release.

License

MIT.

Release History

Release History

0.1.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.3

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pysagec-0.1.1-py2.py3-none-any.whl (9.3 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Sep 2, 2016
pysagec-0.1.1.tar.gz (10.6 kB) Copy SHA256 Checksum SHA256 Source Sep 2, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development 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