Skip to main content
==============
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_, pycrypto_ and blinker_ to work.

.. _requests: http://docs.python-requests.org/en/latest/
.. _pycrypto: https://pypi.python.org/pypi/pycrypto
.. _blinker: https://pypi.python.org/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.3.1 - 2013-11-14
==================

- Add json response when accessible in APIError and DecodeError exceptions

0.3 - 2013-09-17
================

- Add immediate and recurrent contribution, thanks to nidusfr
- Add answer_code and answer_message in Contribution, thanks to splanquart
- Port to Python 3.3, thanks to ebewe

0.2.15 - 2013-06-21
===================

- Add beneficiary attribute to Withdrawal resource

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

Release files for python-leetchi 0.3.4

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

Source distribution (sdist)

Source distribution for python-leetchi 0.3.4
File Size Uploaded
python-leetchi-0.3.4.tar.gz 16.2 kB Details

Release files / python-leetchi-0.3.4.tar.gz

Download URL python-leetchi-0.3.4.tar.gz
Size 16.2 kB
Tags Source
SHA-256 checksum
How to use checksums
8553164c2cf9fcf7b61d901d0e6aa300e2ada1d257a588d0a5642f0960b2b31c
BLAKE2b-256 checksum
How to use checksums
5508df171b8fc0fefe911f247e97e791877930bf37dd59f98000c08b96c63516
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.3.10

1 release file

0.3.9

1 release file

0.3.8

1 release file

0.3.7

1 release file

0.3.6

1 release file

0.3.5

1 release file

This release

0.3.4 This release

1 release file

0.3.3

1 release file

0.3.2

1 release file

0.3.1

1 release file

0.3

1 release file

0.2.16

1 release file

0.2.15

1 release file

0.2.14

1 release file

0.2.13

1 release file

0.2.12

1 release file

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