plotski
Package to generate easily generate interactive figures and export them to HTML documents.
The idea behind this package is to provide an easy-to-use interface to generate structured
HTML documents with interactive visualisations. The library is not meant to fill every gap
but to provide several common plot types such as line, scatter or image type-plots and
additional annotations and enable easy exportation to HTML document.
All plots are generated using the excellent bokeh library.
Supported runtime baseline:
- Python 3.10+
- NumPy 2+
- pandas 2+ environments are supported, although
plotskidoes not require pandas directly
Typical usage might be
import numpy as np
from plotski import PlotStore
x = np.arange(100)
y = np.random.randint(0, 500, 100)
store = PlotStore(
".", # this will save the plot to current working directory.
)
tab_name = store.add_tab("Random plot")
# data is provided in dictionary. Data validation happens during plot generation
store.plot_spectrum(tab_name, {"x": x, "y": y})
# this will generate the HTML document (in memory using temporary file)
store.show()
# you can instead save to disk which will save the document to disk
store.save()
Features
Planned
- Improve generation of layouts.
- Improve modification of plot parameters.
- Add custom JS support.
Licence
Free software: MIT license
Documentation
Metadata
Release files for plotski 0.2.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 | Actions |
|---|---|---|---|---|
| plotski-0.2.2.tar.gz | 37.1 kB | Without provenance | Details for plotski-0.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| plotski-0.2.2-py3-none-any.whl | Python 3 | none | any | Details for plotski-0.2.2-py3-none-any.whl |
Total release size: 65.8 kB
Release files / plotski-0.2.2.tar.gz
| Download URL | plotski-0.2.2.tar.gz |
|---|---|
| Size | 37.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
34f3b1475b4b1ba4695da9ae0f4f103553d97dc6405c380ad50d0bd7077e8e47
|
|
BLAKE2b-256 checksum How to use checksums |
7940d148d924bc645358d2749659946b964c7e0db0fef2a518b17f21670020f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / plotski-0.2.2-py3-none-any.whl
| Download URL | plotski-0.2.2-py3-none-any.whl |
|---|---|
| Size | 28.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f94c645314ddc76cf75cfd75b9d5806d4a484da8229af5f7eee8816e7a155572
|
|
BLAKE2b-256 checksum How to use checksums |
22cf1b0448613b0d8680d541f9c0033aef00d07c9e311f96d5399b6c6197b620
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Security for plotski 0.2.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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.