A Sane SSLCommerz Client for Python.
Project description
A Sane SSLCommerz Client for Python.
Free software: MIT license
Warning
Under development. Is not usable. At all.
Why?
There are at least 5 sdk/library/client for SSLCommerz in PyPI right now including an official one. However, we wanted to create an API client that will take care of a major part of validation (thanks to pydantic
), will feel intuitive, and allow you to access and inspect data in ease.
Features
Pydantic powered dataclasses for every request (in request one can also use
dict
that will be converted to a dataclass) and response.IPN validation.
Methods for all official endpoints.
Installation
pip install sslcommerz-client
You can also install the in-development version with:
pip install https://gitlab.com/codesigntheory/python-sslcommerz-client/-/archive/master/python-sslcommerz-client-master.zip
Documentation
Development
To run all the tests run:
tox
Note, to combine the coverage data from all the tox environments run:
Windows |
set PYTEST_ADDOPTS=--cov-append tox |
---|---|
Other |
PYTEST_ADDOPTS=--cov-append tox |
Changelog
0.3.2 (2021-04-19)
Added more test.
Fixed some bugs.
0.3.1 (2021-04-19)
Added more test.
Fixed some bugs.
Fully working IPN validation, order query.
0.2.1 (2021-04-18)
Added None in card brand
Fixed some bugs.
0.2.0 (2021-04-18)
Added a test.
Fixed some bugs.
0.1.0 (2021-04-18)
Added all API methods.
Updated Docs.
0.0.2 (2021-04-16)
Removed a Classifier
0.0.1 (2021-04-16)
DataClasses for PaymentInit and APN request and responses.
Functional Client only with session initiation.
0.0.0 (2021-04-16)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for sslcommerz_client-0.3.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87f570dbcf3f0add66ea5b571a91c631ee573456a8d0a279a47721f02a5f121a |
|
MD5 | 9a8bd81fc981307a08bfa4fa6a1fd537 |
|
BLAKE2b-256 | aa05e06ea4b9ef2310f3f3013aedc661a8f3ea48340209ec2d77fd5f137f39df |