vizno
Layout python visualizations in HTML reports.
vizno lays out and renders your Python visualizations in lightweight web pages. They can either be shared as standalone files, or rendered with fastAPI.
Quickstart
You can use vizno with your existing Python code in no time:
from vizno import Report
r = Report()
f = ... # your existing figure generating code
r.widget(f)
r.render(output_dir) # output a standalone HTML report to a directory
Refer to the documentation for more information.
Content supported
vizno supports rendering objects from the major Python visualization libraries:
It also supports displaying pandas dataframes as tables (using tabulator).
Finally, vizno supports advanced typesetting within the reports:
- Markdown titles, labels and all text with snarkdown
- code display with highlightjs
- LaTeX documents with latex.js
- MathJax formulas with mathjax
Features
vizno is easy to use and involves little boilerplate code. Just create a Report and pass it existing figure objects.
vizno pages can straightforwardly be served with fastapi, or as HTML files renderable in any browser
vizno is lightweight, it uses Preact and will only retrieve and load libraries that are used in each page. The size of the complete vizno overhead code is < 10kB.
vizno is extendable, adding your own components to render arbitrary code is very simple.
vizno includes sensible tooling that allows you to quickly iterate on your reports.
Contributing
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
License
Distributed under the MIT License. See LICENSE for more information.
Metadata
Release files for vizno 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vizno-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Release files / vizno-0.1.1-py3-none-any.whl
| Download URL | vizno-0.1.1-py3-none-any.whl |
|---|---|
| Size | 26.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
34a895e518bc4f0528b2670658a26714aecb1850b8898106d1ff5b1bdc91659a
|
|
BLAKE2b-256 checksum How to use checksums |
ec9d980dc293ec2ade02734e7062bf2d100214cefee7513dccb63c08324589a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.7.7
|