semvec/pypi-packages huggingface dataset:
metta-ul 0.1.0
Basic implementation of clustering algorithms in MeTTa language, including k-means, GMM, spectral clustering, and hierarchical
Requires Python: >=3.7

# metta-ul: Clustering Algorithms in MeTTa

## Overview

metta-ul is a basic implementation of clustering algorithms in the MeTTa language. It includes implementations of:

- K-Means
- Gaussian Mixture Models (GMM)
- Spectral Clustering
- Hierarchical Clustering

This project is packaged as a Python module and includes a Dockerized environment for running tests using `pytest`.

## Authors

- **Ramin Barati** - <rekino@gmail.com>
- **Amirhossein Nourani Zadeh** - <amirhossein.nouranizadeh@gmail.com>
- **Farhoud** - <farhoud.m7@gmail.com>

## Requirements

- Python 3.7 or later
- Docker
- `hyperon` >= 0.2.2
- `scikit-learn`

## Installation

### Using pip

```sh
pip install -e .
```

### Using Docker

Build and run the containerized environment:

```sh
docker build . -t metta_ul
```

## Running Tests

### Running tests inside Docker

You can run tests using the provided `Makefile`. This will:

1. Build the Docker image
2. Run tests inside a container
3. Clean up the container after the test run

To execute:

```sh
make test
```

Alternatively, if you want to run pytest directly inside Docker:

```sh
docker run -it --rm --mount type=bind,src=$(pwd),dst=/app --name metta_ul_run metta_ul pytest -s
```

## Contributing

1. Fork the repository
2. Create a new branch (`feature-branch`)
3. Commit changes and push to your branch
4. Submit a pull request

## License

This project is licensed under the MIT License.
ysdb-linux 0.1.13
YSDB Python SDK
Requires Python: >=3.7

# YSDB SDK

> 目前支持 Windows、CentOS 和 Debian 环境（Debian为K2Assets的python运行环境）。

此SDK为二次开发人员提供ysdb数据库的python开发接口。

ysdb提供标准C动态库，由python封装C动态库，对外提供标准python的接口SDK。用户只需要调用python的对象既可以访问ysdb数据库。

## 使用方法

安装SDK最新版本：
```
pip install -U ysdb_linux
```

在python代码里引用并建立到指定ysdb服务器的连接：
```
from ysdb.ysdbLib import RdbClient

client = RdbClient()
ret = client.connect("192.168.131.238", 30221)
```
以上代码若运行成功将返回下面的结果，表示连接成功：
```
rdbConnectOk, handle:1
```

要继续访问ysdb中数据，请参考《ysdb数据库开发接口（Python）》文档。