semvec/pypi-packages huggingface dataset:
nonebot-plugin-runagain 0.1.1
适用于 NoneBot2 实例的停机与重启控制插件
License: MIT
Requires Python: <4,>=3.9

<div align="center">

# nonebot-plugin-runagain

_✨ 适用于 NoneBot2 实例的停机与重启控制插件 ✨_

<a href="./LICENSE">
    <img src="https://img.shields.io/github/license/NCBM/nonebot-plugin-runagain.svg" alt="license">
</a>
<a href="https://pypi.python.org/pypi/nonebot-plugin-runagain">
    <img src="https://img.shields.io/pypi/v/nonebot-plugin-runagain.svg" alt="pypi">
</a>
<img src="https://img.shields.io/badge/python-3.9+-blue.svg" alt="python">

</div>

## 📖 介绍

允许使用指令控制 Bot 的停机与重启。

## 💿 安装

通过 `nb-cli`:

```console
nb plugin install nonebot-plugin-runagain
```

## 📖 用法

- `@` `{COMMAND_START}` `stop|shutdown|停机`

  停止 Bot 运行。

  使用者需要为 Bot 的 SuperUser。

- `@` `{COMMAND_START}` `restart|reboot|重启`

  停止运行并重启 Bot。

  使用者需要为 Bot 的 SuperUser。
peasys 1.0.2
A clear and concise python client for IBM Db2 and peasys service
License: MIT
Keywords: ibm db2 peasys

# Peasys Python Library

The Peasys Python library provides convenient tools for interacting with the Peasys service.

## Documentation

See the [Python API docs](https://dips400.com/docs).

## Installation

You don't need this source code unless you want to modify the package. If you just
want to use the package, just run:

```sh
pip install --upgrade peasys
```

### Requirements

- Python 3.6+ (PyPy supported)

## Usage

### License key
Peasys is a tool used along a license that should be found on the [dips400](https://dips400.com) website. This license key is required for the use of the service Peasys.

### Connexion to the server
Peasys authenticates API requests using your license key, which you can find in the [dashboard](https://dips400.com/account).

```python
from peasys import pea_client

conn = pea_client.PeaClient("DNS_NAME", "PARTITION_NAME", PORT, "USERNAME", "PASSWORD", "ID_CLIENT", True, False)
```

### Query the DB2
For example, use the ExecuteCreate method of the PeaClient class in order to create a a new table in the database.

```python
create_response = conn.execute_create("CREATE TABLE schema_table/table_name (name CHAR(10), age INT)")
print(create_response.returnedSQLMessage)
print(create_response.returnedSQLState)
```

### Deconnexion

It is important to always disconnect from the server after you used the connexion.

```python
conn.disconnect()
```

### Handling exceptions

Unsuccessful requests raise exceptions. The class of the exception will reflect
the sort of error that occurred. Please see the [documentation](https://dips400.com/docs) for a description of
the error classes you should handle, and for information on how to inspect
these errors.

## Support

New features and bug fixes are released on the latest major version of the Peasys Python library. If you are on an older major version, 
we recommend that you upgrade to the latest in order to use the new features and bug fixes including those for security vulnerabilities. 
Older major versions of the package will continue to be available for use, but will not be receiving any updates.