Metadata-Version: 2.5
Name: archipy-parsian-ipg
Version: 5.18.1
Summary: ArchiPy parsian-ipg adapter.
Author-email: Hossein Nejati <hosseinnejati14@gmail.com>
License-Expression: Apache-2.0
Requires-Python: <4,>=3.14
Requires-Dist: archipy==5.18.1
Provides-Extra: async
Requires-Dist: httpx2[socks]>=2.14.0; extra == 'async'
Requires-Dist: zeep[async]>=4.3.3; extra == 'async'
Provides-Extra: sync
Requires-Dist: requests[socks]>=2.34.2; extra == 'sync'
Requires-Dist: zeep>=4.3.3; extra == 'sync'
Description-Content-Type: text/markdown

# archipy-parsian-ipg

Parsian Shaparak adapter for [ArchiPy](https://syntaxarc.github.io/ArchiPy/): the Parsian internet payment gateway.

## Install

Install it through the core extra, which pins this package to the matching ArchiPy version:

```bash
uv add "archipy[parsian-ipg]"
uv add "archipy[parsian-ipg-async]"
```

## Usage

```python
from archipy.adapters.internet_payment_gateways.ir.parsian.adapters import ParsianShaparakPaymentAdapter

adapter = ParsianShaparakPaymentAdapter()
```

The adapter reads its settings from the `PARSIAN_SHAPARAK` section of the global config, for example `PARSIAN_SHAPARAK__<FIELD>` environment variables.

Classes in `archipy.adapters.internet_payment_gateways.ir.parsian.adapters`: `ParsianShaparakPaymentAdapter`, `AsyncParsianShaparakPaymentAdapter`.

See the [Parsian Shaparak tutorial](https://syntaxarc.github.io/ArchiPy/tutorials/adapters/payment_gateways/) for the full API.
