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.expressandplotly.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_updatesfor fine-grained customization
🚀 Installation
pip install plyra
🧪 Quick Example
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:
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
Metadata
Release files for plyra 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| plyra-0.1.1.tar.gz | 4.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| plyra-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.8 kB
Release files / plyra-0.1.1.tar.gz
| Download URL | plyra-0.1.1.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5ab80ab58ffe7020fb737a703a3af3da2b93b8683303c439ed07239999c4d7ce
|
|
BLAKE2b-256 checksum How to use checksums |
9e30acd4546b44b1485fff80a7010481da4ff1561d8243b664c28d100e87c8f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.1
|
Release files / plyra-0.1.1-py3-none-any.whl
| Download URL | plyra-0.1.1-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8f5c705760ba40cd9b6e930dec9084545ed5dabbfccc58bee999e099aed3ba27
|
|
BLAKE2b-256 checksum How to use checksums |
84ddb3c5b3faa9ab60e49b573febe70e89d26e7453400c201260f3764e94acad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.1
|