Skip to main content

Leetchi API implementation in Python

Project description

==============
python-leetchi
==============

python-leetchi is a client library to work with `mangopay <http://www.mangopay.com/>`_
api (formely `leetchi <http://www.leetchi.com/>`_).

Installation
------------

python-leetchi requires requests_, M2Crypto_ and blinker_ to work.

.. _requests: http://docs.python-requests.org/en/latest/
.. _M2Crypto: https://pypi-hypernode.com/pypi/M2Crypto
.. _blinker: https://pypi-hypernode.com/pypi/blinker

To install it, simply ::

pip install python-leetchi


Inspiration
-----------

The data model of python-leetchi is highly inspired by `peewee <https://github.com/coleifer/peewee>`_.

Documentation
-------------

For documentation, usage, and examples, see:
https://python-leetchi.readthedocs.org/

In the wild
-----------

This library has been developed for the need of `Ulule <http://ulule.com>`_.


0.2.14 - 2013-06-20
===================

- Add Beneficiary resource

0.2.13 - 2013-06-18
===================

- ``handler`` is now not required in save method if the instance has been retrieved

0.2.12 - 2013-06-05
===================

- Fix inherited models representations
- Add related_name for all foreign keys
- Provide a way to override urls when processing api requests.
- Add OneToOneField for StrongAuthentication
- Add request_error signal
- Laps timing is now sent in request_finished signal

0.2.11 - 2013-05-29
===================

- Add support for date < 1900 with safe converter

0.2.10 - 2013-05-05
===================

- Rewrite exceptions handling

0.2.9 - 2013-05-04
==================

- Catch ConnectionError when connection is reset by peer

0.2.8 - 2013-04-30
==================

- Add DateField for User.birthday attribute
- Add choices and default attributes to Field class

0.2.7 - 2013-04-18
==================

- Add model inheritance in ApiObjectBase

0.2.6.1 - 2013-04-18
====================

- Fix typo in WithdrawalContribution for amount_declared

0.2.6 - 2013-04-17
==================

- Added WithdrawalContribution resource

0.2.5 - 2013-04-15
==================

- Signals handling via blinker
- Added **request_finished** signal to add a callback when a request is finished
- Added **request_started** signal to add a callback when a request is starting
- Added **pre_save** signal to add a callback when a new resource will be created
- Added **post_save** signal to add a callback when a new resource is created

0.2.4 - 2012-07-24
==================

- Added **culture** parameter to Contribution to specify the language
used in payment.

0.2.3 - 2012-07-23
==================

- Added time between the beginning and the end of the requests in logger.

0.2.2 - 2012-06-28
==================

- Removed imports in `__init__.py`, use modules instead.

0.2.1 - 2012-06-20
==================

- Added **type** attribute in Contribution resource to set the type of the
transacti n.

0.2 - 2012-02-03
================

- Added better support for handling errors.
- Added new resources: PaymentCard, TransferRefund, Refund.
- Added **host** optional parameter to LeetchiAPI object.
- Fix bugs: reuse the timestamp to generate host and auth signature.
- Added AmountField and its descriptor to convert cts.

0.1 - 2011-11-09
================

- Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-leetchi-0.2.14.tar.gz (14.9 kB view details)

Uploaded Source

File details

Details for the file python-leetchi-0.2.14.tar.gz.

File metadata

File hashes

Hashes for python-leetchi-0.2.14.tar.gz
Algorithm Hash digest
SHA256 04e585774f36226420b4792259aead486fb942bf0a5081d93835e6dbbe0b16f9
MD5 87e6d0fabfa4d1c57232c8d7b049799c
BLAKE2b-256 ec0bd0edbe5b03b80447a51c34bfdf4346352ebdb4884730abfdb2b030f8fba3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page