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.4 (2021-05-08)
Removed CardBrandEnum
0.3.4 (2021-05-08)
Fixed Card Brand Enum
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.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | acd21d8479215d31ac5ed586d895a6558ad6144d20deb14f8736f13540c3d464 |
|
MD5 | 52253e1339c4c8c868527dbf9bd02c37 |
|
BLAKE2b-256 | 7d849ddd175fd4335eb7d890a5c1ae96feab68662b2d316622b6b0cf4901c65a |