semvec/pypi-packages huggingface dataset:
payman-zarinpal 1.0.0
ZarinPal payment gateway plugin for Payman
License: MIT
Requires Python: >=3.13
Keywords: payment, gateway, zarinpal, payman, plugin

# payman-zarinpal

**payman-zarinpal** is a plugin for **[Payman](https://pypi.org/project/payman/)** that enables integration with the **ZarinPal payment gateway**. This package requires Payman >= 3.0.0.

## Installation

```bash
pip install payman[zarinpal]
```

## Quick Example

```python
import asyncio

from payman import Payman
from zarinpal.models import PaymentRequest

pay = Payman("zarinpal", merchant_id="your-merchant-id")

async def main():
    req_params = PaymentRequest(
        amount=100_000,
        callback_url="https://example.com/callback",
        description="Test Payment",
        metadata={"email": "user@example.com", "mobile": "09123456789"},
    )

    response = await pay.initiate_payment(req_params)
    print(response.success, response.authority)

asyncio.run(main())
```

## Links

* [Payman GitHub Repository](https://github.com/irvaniamirali/payman)
* [Payman Documentation](https://irvaniamirali.github.io/payman)
* [Zarinpal API Reference](https://docs.zarinpal.com/paymentGateway/)
hnte-codec 2.0.0
HNTE compressed & encrypted file format codec, takes less space than usual text files.(花のテクストエクステンション　－ Hana no Text Extension)
License: MIT
Requires Python: >=3.8

#HNTE Codec

An lightweight Python implementation of the HNTE container format:
compressed (Deflate) + optional AES-GCM encryption + CRC integrity.

##Features
• V1 (XOR + Deflate) and (AES-GCM + Deflate)
• Supports Latin-5 (ISO-8859-9) and UTF-8 encodings.
• Integrity-Checked and tamper-evident

##Install
```bash
pip install hnte-codec

---------------------------------------
Usage---

from hnte_codec import save_text, load_text
key = b"A"*32 #256-bit AES key
save_text("demo.hnte", "Hello World!", key=key)
print(load_text("demo.hnte", key=key))