Metadata-Version: 2.1
Name: roulier
Version: 1.0.0
Summary: Label parcels without pain
Home-page: https://github.com/akretion/roulier
Author: Hparfr <https://github.com/hparfr>
Author-email: roulier@hpar.fr
License: UNKNOWN
Download-URL: https://github.com/akretion/roulier/archive/1.0.0.zip
Description: Roulier
        ===
        
        Roulier is a shipping library written in Python for sending parcels.
        Roulier will get a label + tracking number to your carrier for you.
        
        
        ![big picture](overview.svg)
        
        
        * Roulier runs on your server and call each carrier API directly.
        * You have to use your own credentials provided by each carriers.
        * Roulier is Open Source software, AGPL-3
        * Roulier integrate a multitude of carriers : Laposte, Geodis, DPD, K&N... more to come.
        
        ### Installation
        
        This is not compatible with python 2.7.
        Please use version < 1.0.0 (python2 branch) in that case.
        
        ### Usage
        
        ```python
        from roulier import roulier
        
        payload= {
        	"auth": { 
        		"login": "12345",
        		"password": "password",
        	},
        	"service": {
        		"productCode": "COL"
        	},
        	"parcels": [{
        		"weight": 3.4,
        	}],
        	"to_address": {
        		"firstName": "Hparfr"
        		"street1": "35 b Rue Montgolfier"
        		"city": "Villeurbanne"
                "country": "FR",
                "zip": "69100"
           	},
           	"from_address": {
        		"fristName": "Akretion France"
        		"street1": "35 b Rue Montgolfier"
        		"city": "Villeurbanne"
                "country": "FR",
                "zip": "69100"
           	},
        }
        # first parameter is the carrier type.
        # second is the action and then the parameters needed by the action
        response = roulier.get('laposte_fr', 'get_label', payload)
        
        
        print(response)
        
        ```
        
        
        Get supported carriers and related actions:
        ```python
        from roulier import roulier
        print(roulier.get_carriers_action_available())
        ```
        
        
        ### Contributors
        
        
        * [@hparfr](https://github.com/hparfr) ([Akretion.com](https://akretion.com))
        * [@damdam-s](https://github.com/damdam-s) ([Camp2Camp.com](http://camptocamp.com))
        * [@bealdav](https://github.com/bealdav) ([Akretion.com](https://akretion.com))
        
        
        ### Dependencies
        
        * [Cerberus](http://docs.python-cerberus.org/) - input validation and normalization
        * [lxml](http://lxml.de/) - XML parsing
        * [Jinja2](http://jinja.pocoo.org/) - templating
        * [Requests](http://docs.python-requests.org/) - HTTP requests
        * [zplgrf](https://github.com/kylemacfarlane/zplgrf) - PNG to ZPL conversion
        * [unidecode](https://pypi.python.org/pypi/Unidecode) - Remove accents from ZPL
        
Keywords: carrier,logistics,delivery
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Classifier: Programming Language :: Python :: 3.6
Description-Content-Type: text/markdown
