Metadata-Version: 2.1
Name: sslcommerz-client
Version: 0.4.0
Summary: A Sane SSLCommerz Client for Python.
Home-page: https://gitlab.com/codesigntheory/python-sslcommerz-client
Author: Utsob Roy
Author-email: roy@co.design
License: MIT
Project-URL: Documentation, https://python-sslcommerz-client.readthedocs.io/
Project-URL: Changelog, https://python-sslcommerz-client.readthedocs.io/en/latest/changelog.html
Project-URL: Issue Tracker, https://gitlab.com/codesigntheory/python-sslcommerz-client/issues
Keywords: sslcommerze,paymentgateway
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Unix
Classifier: Operating System :: POSIX
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Utilities
Requires-Python: >=3.6
License-File: LICENSE
License-File: AUTHORS.rst

========
Overview
========

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 :code:`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 :code:`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
=============


https://python-sslcommerz-client.readthedocs.io/


Development
===========

To run all the tests run::

    tox

Note, to combine the coverage data from all the tox environments run:

.. list-table::
    :widths: 10 90
    :stub-columns: 1

    - - Windows
      - ::

            set PYTEST_ADDOPTS=--cov-append
            tox

    - - Other
      - ::

            PYTEST_ADDOPTS=--cov-append tox


Changelog
=========
0.4.0 (2021-08-05)
------------------

* Fixed Refund Request


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.


