Python中的Leetchi API实现
项目描述
==============
python-leetchi
==============
python-leetchi是一个用于与`mangopay <http://www.mangopay.com/>`_
api(以前称为`leetchi <http://www.leetchi.com/>`_)交互的客户端库。
安装
------------
python-leetchi需要requests_, pycrypto_和blinker_才能运行。
.. _requests: http://docs.python-requests.org/en/latest/
.. _pycrypto: https://pypi.python.org/pypi/pycrypto
.. _blinker: https://pypi.python.org/pypi/blinker
要安装它,只需:
pip安装python-leetchi
灵感
-----------
python-leetchi的数据模型高度受到`peewee <https://github.com/coleifer/peewee>`_的启发。
文档
-------------
有关文档、用法和示例,请参阅
https://python-leetchi.readthedocs.org/
野外观
-----------
此库是为`Ulule <http://ulule.com>`_的需求开发的。
0.3.8 - 2014-06-16
==================
- 从requests添加保持活动状态功能到存储
http会话(感谢Stéphane Planquart)
- 改进错误记录(感谢Stéphane Planquart)
0.3.7 - 2014-04-23
==================
- 改变我们处理状态码和错误的方式,将顺序反转,只
当状态大多是正常的时返回纯对象
0.3.6 - 2014-03-12
==================
- 添加Contribution.payment_method_type缺失属性
0.3.5 - 2014-02-18
==================
- 添加DetailPaymentCard.expiration_date_converted属性,该属性将
过期日期格式转换为纯Python日期对象
0.3.4 - 2014-01-30
==================
- 添加从Contribution到DetailPaymentCard的资源,这是一个一对一
检索支付卡信息
0.3.2 - 2013-12-16
==================
- 修复当金额为None时的AmountField
0.3.1 - 2013-11-14
==================
- 在APIError和DecodeError异常中添加json响应
0.3 - 2013-09-17
================
- 添加即时和定期捐款,感谢nidusfr
- 在Contribution中添加answer_code和answer_message,感谢splanquart
- 将代码移植到Python 3.3,感谢ebewe
0.2.15 - 2013-06-21
===================
- 向Withdrawal资源添加受益人属性
0.2.14 - 2013-06-20
===================
- 添加Beneficiary资源
0.2.13 - 2013-06-18
===================
- 如果实例已被检索,则在save方法中不再需要`handler`
0.2.12 - 2013-06-05
===================
- 修复继承模型的表示
- 为所有外键添加related_name
- 提供一种覆盖处理API请求时URL的方法。
- 为StrongAuthentication添加OneToOneField
- 添加request_error信号
- 现在laps计时在request_finished信号中发送
0.2.11 - 2013-05-29
===================
- 使用安全转换器添加对日期< 1900的支持
0.2.10 - 2013-05-05
===================
- 重写异常处理
0.2.9 - 2013-05-04
==================
- 当连接被对端重置时捕获ConnectionError
0.2.8 - 2013-04-30
==================
- 为User.birthday属性添加DateField
- 向Field类添加choices和default属性
0.2.7 - 2013-04-18
==================
- 在ApiObjectBase中添加模型继承
0.2.6.1 - 2013-04-18
====================
- 修复WithdrawalContribution中amount_declared的拼写错误
0.2.6 - 2013-04-17
==================
- 添加WithdrawalContribution资源
0.2.5 - 2013-04-15
==================
- 通过blinker处理信号
- 添加**request_finished**信号以在请求完成后添加回调
- 添加**request_started**信号以在请求开始时添加回调
- 添加**pre_save**信号以在创建新资源时添加回调
- 添加**post_save**信号以在创建新资源时添加回调
0.2.4 - 2012-07-24
==================
- 向Contribution添加**culture**参数以指定支付中使用的语言
。
0.2.3 - 2012-07-23
==================
- 在logger中添加请求开始和结束之间的时间。
0.2.2 - 2012-06-28
==================
- 从`__init__.py`中删除导入,使用模块代替。
0.2.1 - 2012-06-20
==================
- 在Contribution资源中添加**type**属性以设置交易类型
。
0.2 - 2012-02-03
================
- 添加更好的错误处理支持。
- 添加新的资源:PaymentCard、TransferRefund、Refund。
- 向LeetchiAPI对象添加可选的**host**参数。
- 修复错误:重用时间戳生成主机和认证签名。
- 添加AmountField及其描述符以转换cts。
0.1 - 2011-11-09
================
- 初次发布
python-leetchi
==============
python-leetchi是一个用于与`mangopay <http://www.mangopay.com/>`_
api(以前称为`leetchi <http://www.leetchi.com/>`_)交互的客户端库。
安装
------------
python-leetchi需要requests_, pycrypto_和blinker_才能运行。
.. _requests: http://docs.python-requests.org/en/latest/
.. _pycrypto: https://pypi.python.org/pypi/pycrypto
.. _blinker: https://pypi.python.org/pypi/blinker
要安装它,只需:
pip安装python-leetchi
灵感
-----------
python-leetchi的数据模型高度受到`peewee <https://github.com/coleifer/peewee>`_的启发。
文档
-------------
有关文档、用法和示例,请参阅
https://python-leetchi.readthedocs.org/
野外观
-----------
此库是为`Ulule <http://ulule.com>`_的需求开发的。
0.3.8 - 2014-06-16
==================
- 从requests添加保持活动状态功能到存储
http会话(感谢Stéphane Planquart)
- 改进错误记录(感谢Stéphane Planquart)
0.3.7 - 2014-04-23
==================
- 改变我们处理状态码和错误的方式,将顺序反转,只
当状态大多是正常的时返回纯对象
0.3.6 - 2014-03-12
==================
- 添加Contribution.payment_method_type缺失属性
0.3.5 - 2014-02-18
==================
- 添加DetailPaymentCard.expiration_date_converted属性,该属性将
过期日期格式转换为纯Python日期对象
0.3.4 - 2014-01-30
==================
- 添加从Contribution到DetailPaymentCard的资源,这是一个一对一
检索支付卡信息
0.3.2 - 2013-12-16
==================
- 修复当金额为None时的AmountField
0.3.1 - 2013-11-14
==================
- 在APIError和DecodeError异常中添加json响应
0.3 - 2013-09-17
================
- 添加即时和定期捐款,感谢nidusfr
- 在Contribution中添加answer_code和answer_message,感谢splanquart
- 将代码移植到Python 3.3,感谢ebewe
0.2.15 - 2013-06-21
===================
- 向Withdrawal资源添加受益人属性
0.2.14 - 2013-06-20
===================
- 添加Beneficiary资源
0.2.13 - 2013-06-18
===================
- 如果实例已被检索,则在save方法中不再需要`handler`
0.2.12 - 2013-06-05
===================
- 修复继承模型的表示
- 为所有外键添加related_name
- 提供一种覆盖处理API请求时URL的方法。
- 为StrongAuthentication添加OneToOneField
- 添加request_error信号
- 现在laps计时在request_finished信号中发送
0.2.11 - 2013-05-29
===================
- 使用安全转换器添加对日期< 1900的支持
0.2.10 - 2013-05-05
===================
- 重写异常处理
0.2.9 - 2013-05-04
==================
- 当连接被对端重置时捕获ConnectionError
0.2.8 - 2013-04-30
==================
- 为User.birthday属性添加DateField
- 向Field类添加choices和default属性
0.2.7 - 2013-04-18
==================
- 在ApiObjectBase中添加模型继承
0.2.6.1 - 2013-04-18
====================
- 修复WithdrawalContribution中amount_declared的拼写错误
0.2.6 - 2013-04-17
==================
- 添加WithdrawalContribution资源
0.2.5 - 2013-04-15
==================
- 通过blinker处理信号
- 添加**request_finished**信号以在请求完成后添加回调
- 添加**request_started**信号以在请求开始时添加回调
- 添加**pre_save**信号以在创建新资源时添加回调
- 添加**post_save**信号以在创建新资源时添加回调
0.2.4 - 2012-07-24
==================
- 向Contribution添加**culture**参数以指定支付中使用的语言
。
0.2.3 - 2012-07-23
==================
- 在logger中添加请求开始和结束之间的时间。
0.2.2 - 2012-06-28
==================
- 从`__init__.py`中删除导入,使用模块代替。
0.2.1 - 2012-06-20
==================
- 在Contribution资源中添加**type**属性以设置交易类型
。
0.2 - 2012-02-03
================
- 添加更好的错误处理支持。
- 添加新的资源:PaymentCard、TransferRefund、Refund。
- 向LeetchiAPI对象添加可选的**host**参数。
- 修复错误:重用时间戳生成主机和认证签名。
- 添加AmountField及其描述符以转换cts。
0.1 - 2011-11-09
================
- 初次发布
项目详情
关闭
python-leetchi-0.3.10.tar.gz的散列
算法 | 散列摘要 | |
---|---|---|
SHA256 | eec6700b0d3472d37c43590fdcd74f4dcf4fa090dafa53791527fbc932031387 |
|
MD5 | a19c35f38129aa41f867b0af2807cc11 |
|
BLAKE2b-256 | 09749222bcf4151dab6004d855eef82c4bad7b6e86695c376f5b25427dc1d77f |