Metadata-Version: 2.4
Name: omidpay
Version: 0.1.1
Summary: Python client for OmidPay payment gateway
Author-email: Sassan Ghanbari Raad <sasan.gsm@gmail.com>, Amirreza Shokriyan <aa.shokryan82@gmail.com>, Arash Mohtarami <arashmohtarami.aa@gmail.com>, Bahare Zargarbashi <bahare.zargarbashi2@gmail.com>
Maintainer-email: Sassan Ghanbari Raad <sasan.gsm@gmail.com>, Amirreza Shokriyan <aa.shokryan82@gmail.com>, Arash Mohtarami <arashmohtarami.aa@gmail.com>, Bahare Zargarbashi <bahare.zargarbashi2@gmail.com>
License: MIT
License-File: LICENSE
Requires-Python: >=3.12
Requires-Dist: httpx>=0.27.0
Requires-Dist: requests>=2.31.0
Provides-Extra: dev
Requires-Dist: black>=24.0.0; extra == 'dev'
Requires-Dist: mypy>=1.8.0; extra == 'dev'
Requires-Dist: pytest-asyncio>=0.23.0; extra == 'dev'
Requires-Dist: pytest-cov>=4.1.0; extra == 'dev'
Requires-Dist: pytest>=8.0.0; extra == 'dev'
Requires-Dist: responses>=0.25.0; extra == 'dev'
Requires-Dist: respx>=0.21.0; extra == 'dev'
Requires-Dist: ruff>=0.2.0; extra == 'dev'
Provides-Extra: docs
Requires-Dist: sphinx-autodoc-typehints>=2.0.0; extra == 'docs'
Requires-Dist: sphinx-conestack-theme>=0.3.0; extra == 'docs'
Requires-Dist: sphinx>=7.2.0; extra == 'docs'
Description-Content-Type: text/markdown

# Omidpay Python

Python client for the OmidPay payment gateway with both synchronous and asynchronous clients.

## Base URL

https://ref.omidpayment.ir/ref-payment/RestServices/mts/

## Project Directory

```
omidpay-python/
├── pyproject.toml
├── README.md
├── LICENSE
├── .gitignore
└── src/
    └── omidpay/
        ├── __init__.py
        ├── client.py
        ├── config.py
        ├── exceptions.py
        │
        ├── http/
        │   ├── __init__.py
        │   ├── base.py              # abstract base http client
        │   ├── sync_client.py
        │   └── async_client.py
        │
        ├── resources/
        │   ├── __init__.py
        │   ├── base.py
        │   ├── auth.py
        │   ├── bill.py
        │   └── transactions.py
        │
        └── models/                  # schemas & enums
            ├── __init__.py
            ├── base.py
            ├── requests.py
            ├── responses.py
            └── enums.py
```

- Initial release
- Payment flow implementation (token generation, verification, reversal)
- sync and async support
