semvec/pypi-packages huggingface dataset:
benpay_merchant_api_sdk 1.0.2
python sdk for benpay merchant
Requires Python: <4.0.0,>=3.8.0

# Python SDK for Benpay merchant API

# API Documentation
- [Official documentation](https://docs.benpay.org/zh-Hans/BenPay/Doc/api_doc/)

# Installation

```bash
pip install benpay_merchant_api_sdk
```

# Usage
> Consider `/v1/payment/create` as a reference, the full code can be located in the demo directory.
* Get api key info

https://www.benpay.org/paymvp/business

* create order
```python
import config
import sys
import uuid

sys.path.append("../../")
from benpay_merchant_api_sdk.client import BenpayMerchantClient
import benpay_merchant_api_sdk.param.benpay_merchant_param as benpay_param


client = BenpayMerchantClient(
    api_key=config.API_KEY,
    server=config.SERVER,
    merchant_private_key_string=config.MERCHANT_PRIVATE_KEY_STRING,
    platform_public_key_string=config.PLATFORM_PUBLIC_KEY_STRING
)

param = benpay_param.CreatePayOrderParam()
param.coin = "BUSD"
param.amount = "0.1"
param.merchant_order_no = uuid.uuid4().hex
param.merchant_note = "22222"

resp = client.create_pay_order(param)

if resp.status_code == 200:
    print(resp.json())
else:
    print(resp.text)
```%
deblend-sofia-detections 0.0.2
Development Status :: 4 - Beta
Requires Python: >=3.11

# deblend_sofia_detections

=====

Introduction
------------
    A small package to deblend Sofia detections based on the method described in 
    https://ui.adsabs.harvard.edu/abs/2025ApJ...980..157H/abstract

    Most of this is an adapted copy of the accompanying ipython notebook of that paper 
    and as such Qifeng Huang should be considered as a main author of this code



Requirements
------------
The code requires full installation of:

    python v3.11 or higher
    
[python](https://www.python.org/)


Installation
------------

Download the source code from the Github or simply install with pip as:

  	pip install deblend_sofia_detections

This should also install all required python dependencies.
We recommend the use of python virtual environments. If so desired a TRM_errors installation would look like:

  	python3 -m venv deblend_sofia_detections_venv

  	source deblend_sofia_detections_venv/bin/activate.csh

    pip install deblend_sofia_detections
(In case of bash the correct middle line is source deblend_sofia_detections_venv/bin/activate)

You might have to resource the env:

  	source deblend_sofia_detections_venv/bin/activate.csh

Once you have installed deblend_sofia_detections you can check that it has been installed properly by running deblend_sofia_detections as.

  	deblend -v 


Running deblend_sofia_detections_venv
------------------

You can run deblend_sofia_detectionsby providing a configuration file by 

deblend configuration_file=file.yml

an example yaml file with all parameters can be printed by running

deblend print_examples=true 

please see the advanced input in readthe docs for an explanation of all parameters.
pathhelper 0.1.0
Lightweight helpers for working with filesystem paths.
Requires Python: >=3.7
Keywords: filesystem, path, directory, file, utilities

# PathHelper

**PathHelper** is a lightweight library for working with file and directory paths in Python. It provides simple interfaces and clear syntax for checking, creating, and removing paths — with helpful utilities for working in temporary directories.

---

## ✨ Features

- `FileHelper`: check, create, and remove files
- `DirHelper`: check, create, and remove directories
- `RunInDir`: context manager to temporarily change working directory
- Simplifies common scripting operations
- Minimal dependencies and clean API

---

## 📦 Installation

```bash
pip install pathhelper
```

---

## 🚀 Quick Example

```python
from pathhelper import DirHelper, FileHelper, RunInDir
import os

# Create a directory if it doesn't exist
dir_helper = DirHelper("temp_folder")
dir_helper.create_if_missing()

# Switch to that directory temporarily
with RunInDir("temp_folder"):
    print("Now inside:", os.getcwd())

# Clean up afterward
dir_helper.remove_if_present()

```

---

## 🔍 API Overview

| Class | Method / Constructor| Description|
|-------|---------------------|------------|
| FileHelper | `__init__(path)` | Initializes a file path helper with the given file path |
|          | `check_exists()` | Returns True if the file exists |
|          | `create()` | Creates the file and any necessary parent directories |
|          | `remove()` | Removes the file |
|          | `create_if_missing()` | Creates the file only if it doesn’t exist |
|          | `remove_if_present()` | Removes the file only if it exists |
| DirHelper  | `__init__(path)` | Initializes a directory path helper with the given directory path |
|          | `check_exists()` | Returns True if the directory exists |
|          | `create()` | Creates the directory (and parents) |
|          | `remove()` | Recursively removes the directory and contents |
|          | `create_if_missing()` | Creates the directory only if it doesn’t exist |
|          | `remove_if_present()` | Removes the directory only if it exists |
| RunInDir | `__init__(path)` | Initializes the context manager with a target path |
|          | `__enter__()` / `__exit__()` | Temporarily changes working directory within a with block |

## 🛠 Development Status

| Alpha — usable and tested, but subject to change

## 📄 License
MIT License

## 🔗 Links


* Package: [PyPi](https://pypi.org/project/pathhelper/)
* Developer docs: [Development Guide](doc/development_guide.md)
rjsonc 0.1.2
Load JSON with comments. Fast.
Requires Python: >=3.8
Keywords: json, comments, comment, json-comment, json-comments

# rjsonc
Remove JSON comments, **FAST**. No, really. I'm not paying bills for the slow Regex snail.

Supports Python typing.

```sh
$ pip install rjsonc
```

## Usage
Quite literally. I mean, all it does is removing comments. What else do you expect?

```python
import rjsonc

JSON = """{
    "name": "John Dough",  // now that's action packed
    "age": 69,
    /*

    DEPRECATED, I PROMISE!
    
    "criminal_records": ["stealing"]

    */
    "is_cool": true // that's what i'm talkin' about!
}"""

rjsonc.loads(JSON)
# {'name': 'John Dough', 'age': 69, 'is_cool': True}
```

## <kbd>def</kbd> loads
```python
def loads(s: str | bytes) -> Any
```

Loads JSON, tolerating comments.
ai-application-gateway 0.1.5
API看板服务
Requires Python: <3.12,>=3.10

# API看板服务

#### 介绍

API看板服务：统一接口管理、统一接口标准、接口调用日志、接口权限管理、鉴权等功能。

#### 安装教程
python 3.11.11

安装包
poetry install

初始化数据库
alembic upgrade head 

#### 使用说明

接口文档和测试
http://localhost:8008/docs#/