semvec/pypi-packages huggingface dataset:
bzapi 0.0.1
Python API for talking to Boltzbit services.
Requires Python: >=3.8

# BoltzbitPythonAPI
Python API for talking to Boltzbit services.

## To generate

From `bz-backend/flowbackend` run the `build_bzapi.sh` script. This will generate the client code under `src/bz-api`

## To package
```
pip install --upgrade build
python3 -m build
```

## To publish
Increment the version in the .toml file. Delete the `dist` folder then re-package (`python3 -m build`) then:
```
pip install --upgrade twine
python3 -m twine upload --repository testpypi dist/*
```
wiki-api-client 1.0.2
Request to wiki-api.ir APIs
Requires Python: >=3.6

# Python Wiki Client

`python-wiki-client` is a Python package for interacting with the [wiki-api](https://wiki-api.ir) APIs. This package allows you to send GET requests to various URLs, retrieve responses, and work with the Wiki-API endpoints.

## Prerequisites

To use this package, you need to have **Python 3.6 or higher** installed.

## Installation

To install this package via `pip`, run the following command:

### Install via PyPI

```bash
pip install wiki-api-client
```

## Usage

Once the package is installed, you can use it in your Python project as follows:

### Synchronous Example

```python
from WikiClient import Get

wiki = Get.SyncAPI()

data = wiki.request(
    'apis-1/ChatGPT-4o', # API address in Wiki-API.ir without domain name
    {'q': 'hello'}       # Required data
)

print(data)

# Output:
# {'status_code': 200, 'body': {'status': True, 'channel': '@Wiki_API', 'site': 'Wiki-Api.ir', 'developers': '@B3dev, @Dumacel', 'results': 'Hi there! How can I help you today? 😊'}}
```

### Asynchronous Example

If you want to make requests asynchronously, you can use the asynchronous version of the API:

```python
from WikiClient import Get

wiki = Get.AsyncAPI()

async def sendReq():
    response = await wiki.request(
        'apis-1/ChatGPT-4o', # API address in Wiki-API.ir without domain name
        {'q': 'hello'}       # Required data
    )
    print(response)

# Output:
# {'status_code': 200, 'body': {'status': True, 'channel': '@Wiki_API', 'site': 'Wiki-Api.ir', 'developers': '@B3dev, @Dumacel', 'results': 'Hi there! How can I help you today? 😊'}}
```
lbpytest 0.4.0
Utilities for Python-driven integration tests at LINBIT
Requires Python: >=3.10

# lbpytest

[![PyPI](https://img.shields.io/pypi/v/lbpytest)](https://pypi.org/project/lbpytest/)

Utilities for Python-driven integration tests at LINBIT.

## Installation

```bash
pip install lbpytest
```

## Usage

### [ControlMaster](./src/lbpytest/controlmaster.py)

```python
from lbpytest.controlmaster import SSH
from io import StringIO
import subprocess
import sys

try:
    ssh = SSH("myhost.example.org")
except subprocess.CalledProcessError as e:
    print(e.stderr.decode('utf-8'), file=sys.stderr)
    raise e

# Run command using the hosts stdin/stdout/stderr
ssh.run("echo 'Hello, World!'")

# Save command output
output = StringIO()
ssh.run("echo 'Hello, World!'", stdout=output)
print(output.getvalue()) # prints Hello, World!

ssh.close()
```

### [Logscan](./src/lbpytest/logscan.py)

See [`test_logscan.py`](./src/lbpytest/test_logscan.py) and
[`test_logscan_ssh.py`](./src/lbpytest/test_logscan_ssh.py).

## Testing

The unit tests for this project can be run using `pytest`:

```
$ pytest src/lbpytest
```

Note that for the `ControlMaster` tests, a `--host` option is required. This should specify the IP address or hostname
of an SSH server to use for the test.

## Type Checking

This library uses [type annotations](https://docs.python.org/3/library/typing.html).
The [mypy](http://mypy-lang.org/) tool can be used to verify these annotations:

```
$ mypy src/lbpytest
```

## License

[Apache License 2.0](https://choosealicense.com/licenses/apache-2.0/)