Skip to main content

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

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

MIT 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)

Source distribution for plyra 0.1.1
File Size Uploaded Provenance Actions
plyra-0.1.1.tar.gz 4.1 kB Without provenance Details for plyra-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for plyra 0.1.1
File Interpreter ABI Platform Actions
plyra-0.1.1-py3-none-any.whl Python 3 none any Details for plyra-0.1.1-py3-none-any.whl

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

Security for plyra 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page