This package started as a part of `Django WePay Application<https: github.com="" lehins="" django-wepay="">`_, but I soon realized it could beuseful to other developers in Python community that do not use `Django<https: djangoproject.com="">`_. Originally it meant to be an extension of anofficial `Python WePay SDK <https: github.com="" wepay="" python-sdk="">`_, but insteadit became a replacement with full compatibilty with official WePay version.This package is also listed as a `third party Python SDK on WePay<https: www.wepay.com="" developer="" resources="" sdks="">`_.

* Python 3 compatible* Calls are made using `requests <http: docs.python-requests.org="" en="" latest=""/>`_ library by default (if installed), falls back to `urllib <https: docs.python.org="" 3="" library="" urllib.html#module-urllib="">`_ if `requests` are not installed or if ``WePay`` is initialized with ``use_requests=False``.* ``WePayConnectionError`` is raised in case there is a problem connecting to WePay server, ex. timeout.* Addition of a full test suit.* Minor:

* 'original_ip' and 'original_device' params are now optional in `/credit_card/create`. * ``silent`` mode is more flexible. * Moved ``SubscriptionPlan`` and ``SubscriptionCharge`` to their own modules. * Moved ``WePayWarning`` over to ``wepay.exceptions`` module.

1.2.0-----

* New API version 2014-01-08 changes are reflected in this SDK version:

* restructured SDK in such a way that all API objects are separate classes, so as an example, if we have a WePay instance ``api = WePay()`` and we want to make a `/account/find` call, it will look like this ``api.account.find()`` instead of ``api.account_find()`` (notice **.** instead of **_**), although in this version both are equivalent, latter one is depricated and will be removed in version 1.3. Despite these changes lookup calls will be the same, ex. ``api.account(12345)``.

* Added flexibility to use different API version per call basis. So it is now possible to make a depricated call like this: ``api.account.balance(1234, api_version='2011-01-15')``