semvec/pypi-packages huggingface dataset:
kuro.py 0.7.1
Async API wrapper for KuroBBS written in Python.
Requires Python: >=3.10
Keywords: kuro, wuwa, api, wraper, kurobbs

# kuro.py

Async API wrapper for KuroBBS and Waves game written in Python

## Usage

Basic usage example:

```python
import asyncio
import kuro

async def main() -> None:
    client = kuro.Client()
    login_result = await client.game_login("email@example.com", "password")
    print(login_result)

asyncio.run(main())
```

See [tests](tests) for more examples.

## Setting up the development environment

```bash
# Clone the repo
git clone https://github.com/Wuthery/kuro.py
cd kuro.py

# Install the dependencies
uv sync

# Install pre-commit
pre-commit install
```

## Running tests

1. Create a `.env` file in the root directory of the project and add your test account credentials:
    ```env
    TEST_EMAIL=""
    TEST_PASSWORD=""
    ```
2. Run the tests using pytest:
    ```bash
    pytest
    ```
matplotlib-cn 1.0.6
matplotlib_cn

# matplotlib_cn

## Description

`matplotlib_cn` is a Python package designed to simplify the use of Matplotlib for Chinese users. It provides localized documentation and examples to help users better understand and utilize Matplotlib for data visualization.

## Features

- Simplified setup for Matplotlib in Chinese environments.
- Localized examples and documentation.
- Compatible with Python 3.8.
- Supports Google Colab and Jupyter Notebook!

## Installation

You can install the package using `pip`:

```bash
pip install matplotlib_cn
```

## Usage
Here is a simple example of how to use `matplotlib_cn`:

```python
from matplotlib_cn import matplotlib_util

matplotlib_util.enable_chinese()
```

```python
# example 
import numpy as np
import matplotlib.pyplot as plt

from matplotlib_cn import matplotlib_util
matplotlib_util.enable_chinese()

x = np.linspace(-10, 10, 100)
y = x

plt.plot(x, y)
plt.title("中文标题：y = x")
plt.xlabel("横轴（x）")
plt.ylabel("纵轴（y）")
plt.show()
```


## Build & upload to pypi (For Developers)

prerequirement: twine is installed. If not, run the following command to install it:

```bash
pip install -U twine
```

build and upload:

```bash
## package
python setup.py sdist

## upload
twine upload dist/*
```