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 |
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
File details
Details for the file sslcommerz_client-0.6.0.tar.gz
.
File metadata
- Download URL: sslcommerz_client-0.6.0.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.12.4 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9180c18438747646bcad82e8c3bded06f8ef10e681acf870de2dcedadd3e4143 |
|
MD5 | 25f5483baf70a384e2cea890d9d33e1d |
|
BLAKE2b-256 | 505c0a4c4d4631b958026eb1520ffb4dc9a185c688b5454e697180973cccb302 |
File details
Details for the file sslcommerz_client-0.6.0-py3-none-any.whl
.
File metadata
- Download URL: sslcommerz_client-0.6.0-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.12.4 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 695a139e74dcd12b7d8f16d1112cfc3cecf2a6624e68232de2c0b2370cc5759c |
|
MD5 | 4cb794d46aacabc908213fa17cca8ae4 |
|
BLAKE2b-256 | 96077ff76253e9b6bd4cd4a6081b27399afa050c8865c4c7f333e13e4daacd5a |