Metadata-Version: 2.4
Name: cobra-algo
Version: 0.1.0
Summary: A lightweight and extensible Python library for algorithm implementations in data processing and machine learning.
Author-email: Zhen Tian <zhen.tian.cs@gmail.com>
Project-URL: Homepage, https://github.com/tinchen777/cobra-algo.git
Project-URL: Repository, https://github.com/tinchen777/cobra-algo.git
Project-URL: Issues, https://github.com/tinchen777/cobra-algo.git/issues
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy>=1.21
Provides-Extra: torch
Requires-Dist: torch>=1.11.0; extra == "torch"
Provides-Extra: sklearn
Requires-Dist: scikit-learn>=1.1; extra == "sklearn"
Provides-Extra: dev
Requires-Dist: pytest; extra == "dev"
Requires-Dist: pytest-cov; extra == "dev"
Dynamic: license-file

<div align="center">

<h2 id="title">🐱‍👤 cobra-algo 🐱‍👤</h2>


[![PyPI version](https://img.shields.io/pypi/v/cobra-algo.svg)](https://pypi.org/project/cobra-algo/)
![Python](https://img.shields.io/pypi/pyversions/cobra-algo?color=brightgreen)
[![codecov](https://codecov.io/gh/tinchen777/cobra-algo/branch/main/graph/badge.svg)](https://codecov.io/gh/tinchen777/cobra-algo)
![License](https://img.shields.io/github/license/tinchen777/cobra-algo.svg)

[![Tests](https://github.com/tinchen777/cobra-algo/actions/workflows/test.yml/badge.svg)](https://github.com/tinchen777/cobra-algo/actions/workflows/test.yml)
![Github stars](https://img.shields.io/github/stars/tinchen777/cobra-algo.svg)

</div>

## About

A lightweight and extensible Python library for algorithm implementations in data processing and machine learning.

- Python: 3.9+
- Runtime deps: NumPy (>=1.21)

## Features

- 🚀 Lightweight and Flexible. Minimal dependencies with optional backend support (e.g., PyTorch) for easy integration.
- 🚀 Extensible Algorithm Collection. A modular toolkit of data processing and machine learning algorithms designed for easy extension.

## Installation

### Install from PyPI

This installs the core package with minimal dependencies.

```bash
pip install cobra-algo
```

### Install with Optional Dependencies

PyTorch support.

```bash
pip install cobra-algo[torch]
```

## Quick Start

## Requirements

- Python >= 3.9
- `NumPy` >= 1.21
- (Optional) `PyTorch` >= 1.11.0

## License

See LICENSE in the repository.

## Links

- [Homepage/Repo](https://github.com/tinchen777/cobra-algo.git)
- [Issues](https://github.com/tinchen777/cobra-algo.git/issues)
