{"id":22307854,"url":"https://github.com/akretion/roulier","last_synced_at":"2025-04-06T00:08:34.499Z","repository":{"id":9156048,"uuid":"56492595","full_name":"akretion/roulier","owner":"akretion","description":"API for package delivery","archived":false,"fork":false,"pushed_at":"2025-03-18T12:08:08.000Z","size":2384,"stargazers_count":23,"open_issues_count":7,"forks_count":22,"subscribers_count":22,"default_branch":"master","last_synced_at":"2025-03-29T23:08:44.224Z","etag":null,"topics":["carriers","dpd","edifact","geodis","laposte","parcel","ups"],"latest_commit_sha":null,"homepage":"http://akretion.github.io/roulier/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/akretion.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-04-18T08:58:33.000Z","updated_at":"2024-12-30T17:43:37.000Z","dependencies_parsed_at":"2024-01-29T13:14:30.763Z","dependency_job_id":"9265e8af-4c51-4147-bacc-78dd787f069a","html_url":"https://github.com/akretion/roulier","commit_stats":{"total_commits":211,"total_committers":12,"mean_commits":"17.583333333333332","dds":"0.45023696682464454","last_synced_commit":"01e26794489b7148eac81718165967afffeb400d"},"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akretion%2Froulier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akretion%2Froulier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akretion%2Froulier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akretion%2Froulier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akretion","download_url":"https://codeload.github.com/akretion/roulier/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247415967,"owners_count":20935387,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["carriers","dpd","edifact","geodis","laposte","parcel","ups"],"created_at":"2024-12-03T20:12:16.540Z","updated_at":"2025-04-06T00:08:34.480Z","avatar_url":"https://github.com/akretion.png","language":"Python","readme":"Roulier\n===\n\nRoulier is a shipping library written in Python for sending parcels.\nRoulier will get a label + tracking number to your carrier for you.\n\n\n![big picture](overview.svg)\n\n\n* Roulier runs on your server and call each carrier API directly.\n* You have to use your own credentials provided by each carriers.\n* Roulier is Open Source software, AGPL-3\n* Roulier integrate a multitude of carriers\n    * French La Poste\n    * French DPD\n    * French GLS\n    * French Chronopost\n    * more to come... (geodis, kuehne...)\n\n### Installation\n\nThis is not compatible with python 2.7.\nPlease use version \u003c 1.0.0 (python2 branch) in that case.\n\n### Usage\n\n```python\nfrom roulier import roulier\n\npayload= {\n\t\"auth\": {\n\t\t\"login\": \"12345\",\n\t\t\"password\": \"password\",\n\t},\n\t\"service\": {\n\t\t\"productCode\": \"COL\"\n\t},\n\t\"parcels\": [{\n\t\t\"weight\": 3.4,\n\t}],\n\t\"to_address\": {\n\t\t\"firstName\": \"Hparfr\"\n\t\t\"street1\": \"35 b Rue Montgolfier\"\n\t\t\"city\": \"Villeurbanne\"\n        \"country\": \"FR\",\n        \"zip\": \"69100\"\n   \t},\n   \t\"from_address\": {\n\t\t\"fristName\": \"Akretion France\"\n\t\t\"street1\": \"35 b Rue Montgolfier\"\n\t\t\"city\": \"Villeurbanne\"\n        \"country\": \"FR\",\n        \"zip\": \"69100\"\n   \t},\n}\n# first parameter is the carrier type.\n# second is the action and then the parameters needed by the action\nresponse = roulier.get('laposte_fr', 'get_label', payload)\n\n\nprint(response)\n\n```\n\n\nGet supported carriers and related actions:\n```python\nfrom roulier import roulier\nprint(roulier.get_carriers_action_available())\n```\n\n### Known Issues\n#### French GLS carrier :\n* The glsbox webservice only manage Basic products : BP, EBP, GBP\n* In the rest webservice, the incoterms don't work\n\n\n### Development\nTo release, increase the version number (in VERSION file) and create a tagged release on GitHub, with the same number. This will trigger publishing to PyPI.\n\n\n### Contributors\n\n\n* [@hparfr](https://github.com/hparfr) ([Akretion.com](https://akretion.com))\n* [@damdam-s](https://github.com/damdam-s) ([Camp2Camp.com](http://camptocamp.com))\n* [@bealdav](https://github.com/bealdav) ([Akretion.com](https://akretion.com))\n* [@DylannCordel](https://github.com/DylannCordel) ([Webu.coop](https://www.webu.coop))\n* [@florian-dacosta](https://github.com/florian-dacosta) ([Webu.coop](https://akretion.com))\n\n\n### Dependencies\n\n* [Cerberus](http://docs.python-cerberus.org/) - input validation and normalization\n* [lxml](http://lxml.de/) - XML parsing\n* [Jinja2](http://jinja.pocoo.org/) - templating\n* [Requests](http://docs.python-requests.org/) - HTTP requests\n* [zplgrf](https://github.com/kylemacfarlane/zplgrf) - PNG to ZPL conversion\n* [unidecode](https://pypi.python.org/pypi/Unidecode) - Remove accents from ZPL\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakretion%2Froulier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakretion%2Froulier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakretion%2Froulier/lists"}