Metadata-Version: 2.3
Name: syna
Version: 0.2.0a1
Summary: Syna is a lightweight machine learning framework inspired by DeZero.
Author: sql-hkr
Author-email: sql-hkr <sql.hkr@gmail.com>
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: gymnasium[classic-control]>=1.2.1
Requires-Dist: matplotlib>=3.10.6
Requires-Dist: numpy>=2.2.6
Requires-Python: >=3.13
Description-Content-Type: text/markdown

# Syna

![PyPI - Version](https://img.shields.io/pypi/v/syna)
![GitHub License](https://img.shields.io/github/license/sql-hkr/syna)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/syna)
![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/sql-hkr/syna/ci.yml?label=CI)


Syna is a lightweight machine learning framework inspired by [DeZero](https://github.com/oreilly-japan/deep-learning-from-scratch-3). Built from scratch using only NumPy, it follows a define-by-run (dynamic computation graph) approach and includes a basic reinforcement learning framework.

Unlike most frameworks that implement reinforcement learning as a separate library, Syna provides everything in a single library.

Designed for beginners and researchers, Syna helps you learn the fundamentals of machine learning and the inner workings of frameworks like [PyTorch](https://github.com/pytorch/pytorch). Performance is not the focus, and GPU support is intentionally omitted to keep the code simple and easy to understand.


## Installation

Get the Syna Source

```bash
git clone https://github.com/sql-hkr/syna.git
cd syna
uv venv
source .venv/bin/activate
uv sync
```

Or, from [PyPI](https://pypi.org/project/syna/):

```bash
uv add syna
```

## License

Syna is licensed under the MIT License. See [LICENSE](LICENSE) for details.

