Metadata-Version: 2.4
Name: plyra
Version: 0.1.1
Summary: A modern, one-liner visualization library built on top of Plotly
Home-page: https://github.com/Unknownuserfrommars/ProjectPlyra
Author: Unknownuserfrommars
Author-email: kev1511@gmail.com
License: MIT
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Developers
Classifier: Topic :: Scientific/Engineering :: Visualization
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: plotly>=6.0.0
Requires-Dist: pandas>=2.0.0
Requires-Dist: numpy>=2.0.0
Requires-Dist: scipy>=1.12.0
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# ProjectPlyra

> A modern, one-liner visualization library built on top of Plotly.

**Plyra** gives you the power of Plotly with the simplicity of Seaborn. It's built for developers, data scientists, and learners who want beautiful interactive plots with minimal code.

###### One liner: seaborn-style code, but interactive graphs

---

## 🔧 Features

- Built on `plotly.express` and `plotly.graph_objects`
- One-liner plotting: `scatter`, `hist`, `bar`, `box`, `kde`, `heatmap`, `countplot`
- Easy theming (`plotly`, `ggplot2`, `plotly_dark`, etc.)
- Utilities for merging plots (`Utils.join`)
- Supports `additional_updates` for fine-grained customization

---

## 🚀 Installation

```bash
pip install plyra
```

## 🧪 Quick Example
```python
import plyra as pl
import pandas as pd
import numpy as np

df = pd.DataFrame({
    "age": np.random.randint(10, 60, 100),
    "score": np.random.normal(75, 10, 100),
    "gender": np.random.choice(["Male", "Female"], 100)
})

pl.set_theme("ggplot2")
fig = pl.scatter(df, x="age", y="score", color="gender")
fig.show()
```
---
## 📊 Plot Types
Plot: Function
Scatter: `pl.scatter()`
Histogram: `pl.hist()`
KDE: `pl.kde()`
Bar: `pl.bar()` / `pl.barh()`
Box: `pl.box()`
Heatmap: `pl.heatmap()`
Count: `pl.countplot()`

---
## 🔍 Fine-tuning Your Plot
All plot functions accept:

```python
additional_updates = {
    "layout": {"title_font_size": 24},
    "xaxis": {"tickangle": -45}
}
```
Use them for full customization without writing messy code.

---
## 🧠 Want to Join?
Plyra is indie-built and open-source.
Feel free to fork, contribute, or suggest features.

## 📄 License
[MIT License](LICENSE)
