ezio (just an altair wrapper)
I will dedicate my life to make people stop using plotly.
-- Benjamin Franklin
The idea behind this package is quite simple: create a wrapper of altair similar to what plotly-express did for plotly.
My hope is to remove friction while creating simple plots. Big focus on interaction between subplots that I think is the killing feature of altair.
The motto of this packae is modularity. No fuctions with 1 billion parameters (I'm looking at you plotly) but rather multiple methods to concatenate at will.
Demo
In this marimo you will find few examples.
Here a tiny demo:
import polars as pl
import ezioaltair as ez
import numpy as np
from datetime import date
N = 100
data = pl.DataFrame({
'time': pl.date_range(start=date(2025, 1, 1),
end=date(2025, 1, 1) + pl.duration(days=N-1),
interval='1d',
eager=True),
'var1': (np.random.randn(N) + np.linspace(0, 10, N)).tolist(),
'var2': (np.random.randn(N)*0.2 + np.sin(np.linspace(0, 10, N))).tolist(),
})
(
ez.LineChart(data=data,
x='time',
y=['var1', 'var2'],
colors=['red', 'black'], ytitle='y axis title', xtitle='x axis')
.add_view(y=['var1'])
.add_scatter(x='var1', y='var2', highlight_color='green', color='blue')
.add_title('This is a title')
.render(height=300, width=500)
)
Metadata
Release files for ezioaltair 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| ezioaltair-0.1.2.tar.gz | 8.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ezioaltair-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.4 kB
Release files / ezioaltair-0.1.2.tar.gz
| Download URL | ezioaltair-0.1.2.tar.gz |
|---|---|
| Size | 8.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f46660f73404ef3197a361144b45c8f7a0236bd1328cc56554e3b1387c076601
|
|
BLAKE2b-256 checksum How to use checksums |
8dce5043e55499216de87ab839ab6e5a6496d2cd2ff91f509589d45753f059e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.0
|
Release files / ezioaltair-0.1.2-py3-none-any.whl
| Download URL | ezioaltair-0.1.2-py3-none-any.whl |
|---|---|
| Size | 9.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d86376b2494e45da9c335d683d164eaf2f5a37c3ffe03a4f6b2cfe94f6004494
|
|
BLAKE2b-256 checksum How to use checksums |
90729a3c6b317a8b5e976b780ffc82b550ae02be89b03342d4940d50352b0dc7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.0
|
Security for ezioaltair 0.1.2
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.