Metadata-Version: 2.4
Name: smiles-viz-trainer
Version: 0.2.0
Summary: Local training server for smiles-viz, exposing a FastAPI API for model training and evaluation.
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: fastapi>=0.110
Requires-Dist: uvicorn[standard]>=0.29
Requires-Dist: click>=8.0
Requires-Dist: scikit-learn>=1.3
Requires-Dist: numpy
Requires-Dist: pandas
Requires-Dist: sse-starlette>=1.6
Requires-Dist: torch>=2.0
Requires-Dist: gensim>=4.0
Requires-Dist: networkx>=3.0

# smiles-viz-trainer

Local training server for [smiles-viz](../README.md). Exposes a FastAPI API on `localhost:5000` that the Next.js frontend talks to for training and evaluating molecular property prediction models.

## Prerequisites

- Python 3.10+
- A conda environment with [RDKit](https://www.rdkit.org/) installed

## Installation

```bash
pip install -e .
```

## Usage

```bash
smiles-train
smiles-train --port 5001
```

By default the server binds to `127.0.0.1:5000`. Additional allowed CORS origins can be set via the `ALLOWED_ORIGINS` environment variable (comma-separated).
