semvec/pypi-packages huggingface dataset:
kaizapy 0.0.1
A KaizaPay package for accepting payments in your Python application
License: MIT
Requires Python: >=3.8

# KaizaPY

A [KaizaPay](https://kaizapay.com) plugin for accepting payments in your Python application.

## Requirements
KaizaPay Python SDK builds upon the recent patterns in Python, thus your app should target:
- Python >= 3.10.3

## Getting Started
- Install the dependency in your project
```sh
pip install kaizapy
```
- Import the kaizapay SDK into your `.py` file
```python
from kaizapy import Kaiza, InitiatePaymentDTO
```
- Use the package
```python
api_key="your_api_key"
api_secret="your_api_secret"

kaiza_sdk = Kaiza(api_key, api_secret)
try:
    kaiza_sdk.init_sdk()
    payment = kaiza_sdk.initiate_payment(InitiatePaymentDTO(amount=100, redirect_url="https://python.org"))
    print(payment)
except Exception as e:
    print(e)
```

## Handling responses
The SDK produces two categories of responses - **Payment** objects and **KaizaException** objects 

- **Payment** object. It is returned when a call to `initiatePayment()` is successful after a preceding call to `initSDK()`

  | Parameter |  Type  | Description                                                                                             |
  |   :---   |  :---: |:--------------------------------------------------------------------------------------------------------|
  | `status` | String | Indicates the status of the payment. Possible values are: `success`, `error`                            |
  | `reference` | String | This is a unique identifier for the payment created. It is only returned when the `status` is `success` |

- **KaizaException**: Exceptions are thrown during your integration process. They are mostly issues surrounding the development process. Exceptions make use of the Python's `Exception` model which has the following parameters:
following model:

  | Parameter   |  Type  | Description                              |
    |:------------|  :---: |:-----------------------------------------|
  | `message`   | String | This is a short description of the exception |
greetpy-demingcn 0.0.0
A simple greeting package for demonstration
License: MIT
Requires Python: >=3.7

# GreetPy

一个简单的Python打招呼包，用于演示如何创建和发布Python包。

## 安装

```bash
pip install greetpy_demingcn
```

## 使用方法
### 基本使用
```python
from greetpy_demingcn import greet, greet_multiple, Greeter

# 使用函数
print(greet("Alice"))  # Hello, Alice!

# 向多个人打招呼
messages = greet_multiple(["Alice", "Bob", "Charlie"])
for msg in messages:
    print(msg)

# 使用类
greeter = Greeter("World")
print(greeter.say_hello())  # Hello, World!
print(greeter.say_hi())     # Hi, World!
```

### 命令行工具
安装后可以使用命令行工具：
```bash
greet-deming Alice
# 输出: Hello, Alice!
```

## 功能
- greet(name): 向一个人打招呼 
- greet_multiple(names, greeting): 向多个人打招呼 
- Greeter 类: 更灵活的打招呼器

## 开发
1. 克隆仓库 
2. 安装开发依赖：pip install -e ".[dev]"
3. 运行测试：pytest