Metadata-Version: 2.4
Name: seraplot
Version: 2.4.25
Summary: Rust data visualization framework - The modern Plotly alternative
Author: feur25
License: MIT
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Source Code, https://github.com/seraplots/seraplot

SeraPlot — High-Performance Data Visualization & ML Framework

**SeraPlot v2.4.0+** is a production-grade framework written in **Rust**, delivering blazing-fast interactive charts and built-in machine learning pipelines. Designed as a modern alternative to Plotly + scikit-learn, it combines visualization and ML preprocessing in a single Rust binary — no dependencies, no bloat.

📖 **Documentation:** https://feur25.github.io/seraplot/introduction.html

---

## Why Choose SeraPlot?

**100–8000× faster** than Plotly & Matplotlib on chart generation  
**Minimal memory footprint** — runs on edge devices, embedded systems, low-power servers  
**Production-ready** — enterprise-grade stability, zero fluff, maximum efficiency  
**Multi-language** — Python, JavaScript/WebAssembly, C/C++, C#  
**60+ chart types** — 2D, 3D, maps, statistical plots, all GPU-accelerated  
**ML preprocessing & metrics** — StandardScaler with Welford `partial_fit` (online learning), Pipeline with `score`/`predict_proba`/`decision_function`, OneHotEncoder/OrdinalEncoder with incremental category union  
**WebAssembly** — npm package `@seraplot/wasm` for browser visualization & ML inference  
**Streaming data** — online scalers and encoders for incremental model training  

---

## Installation

**Python** (PyPI — wheel for CPython 3.11+)

```bash
pip install seraplot
```

Alternative package managers:
```bash
conda install -c conda-forge seraplot
uv pip install seraplot
```

**JavaScript/WebAssembly** (npm)

```bash
npm install seraplot
```

---

### Gallery — Chart Types

#### 2D Charts
| | | | |
|:---:|:---:|:---:|:---:|
| ![2D-1](https://raw.githubusercontent.com/feur25/seraplot-documentation/main/2d/1.png) | ![2D-2](https://raw.githubusercontent.com/feur25/seraplot-documentation/main/2d/2.png) | ![2D-3](https://raw.githubusercontent.com/feur25/seraplot-documentation/main/2d/3.png) | ![2D-4](https://raw.githubusercontent.com/feur25/seraplot-documentation/main/2d/4.png) |
| ![2D-5](https://raw.githubusercontent.com/feur25/seraplot-documentation/main/2d/5.png) | ![2D-6](https://raw.githubusercontent.com/feur25/seraplot-documentation/main/2d/6.png) | ![2D-7](https://raw.githubusercontent.com/feur25/seraplot-documentation/main/2d/7.png) | ![2D-8](https://raw.githubusercontent.com/feur25/seraplot-documentation/main/2d/8.png) |

#### 3D Charts  
| | | | |
|:---:|:---:|:---:|:---:|
| ![3D-1](https://raw.githubusercontent.com/feur25/seraplot-documentation/main/3d/1.png) | ![3D-2](https://raw.githubusercontent.com/feur25/seraplot-documentation/main/3d/2.png) | ![3D-3](https://raw.githubusercontent.com/feur25/seraplot-documentation/main/3d/3.png) | ![3D-4](https://raw.githubusercontent.com/feur25/seraplot-documentation/main/3d/4.png) |
| ![3D-5](https://raw.githubusercontent.com/feur25/seraplot-documentation/main/3d/5.png) | ![3D-6](https://raw.githubusercontent.com/feur25/seraplot-documentation/main/3d/6.png) | ![3D-7](https://raw.githubusercontent.com/feur25/seraplot-documentation/main/3d/7.png) | ![3D-8](https://raw.githubusercontent.com/feur25/seraplot-documentation/main/3d/8.png) |

---

###  Benchmark — SeraPlot vs Plotly vs Matplotlib

| | | |
|:---:|:---:|:---:|
| ![Bench-1](https://raw.githubusercontent.com/feur25/seraplot-documentation/main/benchmark/1.png) | ![Bench-2](https://raw.githubusercontent.com/feur25/seraplot-documentation/main/benchmark/2.png) | ![Bench-3](https://raw.githubusercontent.com/feur25/seraplot-documentation/main/benchmark/3.png) |

**SeraPlot outperforms Plotly and Matplotlib by 100–8000× on chart generation speed.**

