root/dev/: dmiv-1.1.1 metadata and description

Simple index

Invoice Service for Darsman Academy

author Ellnamin
author_email ellnamin.business@gmail.com
requires_dist
  • grpcio==1.62.1
  • grpcio-tools==1.62.1
  • protobuf==4.25.3
  • setuptools==69.1.1
  • annotated-types==0.6.0
  • pydantic==2.7.0
  • pydantic-core==2.18.1

Because this project isn't in the mirror_whitelist, no releases from root/pypi are included.

File Tox results History
dmiv-1.1.1-py3-none-any.whl
Size
6 KB
Type
Python Wheel
Python
3
  • Uploaded to root/dev by root 2024-09-06 13:11:51
dmiv-1.1.1.tar.gz
Size
6 KB
Type
Source
  • Uploaded to root/dev by root 2024-09-06 13:11:51
# Darsman Invoice Service

## Requirements

- Python (== 3.10)
- grpcio-tools (>=1.62.1)

## Installation

Run the following command using pip:

```bash
pip install dmiv(test)
```

## Sample code

```python
import asyncio
from dmiv import Invoice


invoice = Invoice(api_key="test_api_key")


create_response = asyncio.run(
invoice.create(
owner_identifier="test",
amount=2000,
expire_date="2024-12-31",
extra_data="test",
)
)
print(create_response)


inquiry_response = asyncio.run(
invoice.inquiry(tracking_code="18a4e3b5-3967-4a29-aead-5181445c4bfc")
)
print(inquiry_response)


payment_request_response = asyncio.run(
invoice.payment_request(
transaction_type="test type",
invoice_id=1,
amount=2000,
description="pardakht anjam shod",
order_identifier="test identifier",
payment_type="test type",
user_identifier="test identifier",
gateway_id=1,
)
)
print(payment_request_response)

```


Render warnings:
<string>:12: (WARNING/2) Inline literal start-string without end-string.