Visual layout for python.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file vizno-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: vizno-0.1.1-py3-none-any.whl
- Upload date:
- Size: 26.2 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34a895e518bc4f0528b2670658a26714aecb1850b8898106d1ff5b1bdc91659a |
|
MD5 | 62739d20c55ac3fb1b0f538f99290882 |
|
BLAKE2b-256 | ec9d980dc293ec2ade02734e7062bf2d100214cefee7513dccb63c08324589a0 |