Skip to main content

La Poste SDK

https://travis-ci.org/geelweb/laposte-python-sdk.svg?branch=master https://coveralls.io/repos/github/geelweb/laposte-python-sdk/badge.svg?branch=master https://img.shields.io/badge/python-2.7%2C%20~3.3-blue.svg

LaPosteSDK is a Python client library to work with La Poste API

Installation

pip install lapostesdk

Requirements

  • requests

Dev requirements

  • responses

Configuration

from lapostesdk.laposteapi import LaPosteApi
api = LaPosteApi(api_key='YourApiKey')

Test suite

python -m unittest test

Apis

ControlAdresse

The ControlAdresse Api

Address look up

response = api.controladresse.search('116 avenue du Président Kennedy 75220 Paris Cedex 16')

Address details

adresse = api.controladresse.get(‘adresses/12280852’) print adresse.codePostal

Suivi

The Suivi Api

suivi = api.suivi.get('1111111111111')
print suivi.status

Metadata

Release files for lapostesdk 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lapostesdk 0.1.3
File Size Uploaded Provenance Actions
lapostesdk-0.1.3.tar.gz 2.8 kB Without provenance Details for lapostesdk-0.1.3.tar.gz

Release files / lapostesdk-0.1.3.tar.gz

Download URL lapostesdk-0.1.3.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
0779449d124c1a8acba861a4a4ff15fe376cb7c42c45b4695993c563ac7281a4
BLAKE2b-256 checksum
How to use checksums
75e2f7653cd657cced87e5841f04c56118cfdcfc252802a5de2ff4fbe899ce45
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for lapostesdk 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.3 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page