Module to generate automatic web interface reports with visualizations
Project description
VueGen is a Python library that automates the creation of scientific reports.
Information | Links |
---|---|
Package | |
Documentation | |
Build | |
Examples | |
Discuss on GitHub |
Table of contents:
About the project
VueGen automates the creation of reports based on a directory with plots, dataframes, and other files in different formats. A YAML configuration file is generated from the directory to define the structure of the report. Users can customize the report by modifying the configuration file, or they can create their own configuration file instead of passing a directory as input.
The configuration file specifies the structure of the report, including sections, subsections, and various components such as plots, dataframes, markdown, html, and API calls. Reports can be generated in various formats, including documents (PDF, HTML, DOCX, ODT), presentations (PPTX, Reveal.js), notebooks (Jupyter) or Streamlit web applications.
An overview of the VueGen workflow is shown in the figure below:
Also, the class diagram for the project is presented below to illustrate the architecture and relationships between classes:
Installation
Vuegen is available on PyPI and can be installed using pip:
pip install vuegen
You can also install the package for development from this repository by running the following command:
pip install -e path/to/vuegen # specify location
pip install -e . # in case your pwd is in the vuegen directory
Quarto installation
Vuegen uses Quarto to generate various report types. The pip insallation includes quarto using the quarto-cli Python library. To test if quarto is installed in your computer, run the following command:
quarto check
If quarto is not installed, you can download the command-line interface from the Quarto website for your operating system.
Execution
Run VueGen using a directory with the following command:
cd docs
vuegen --directory example_data/Earth_microbiome_vuegen_demo_notebook --report_type streamlit
💡 If
vuegen
does not work, trypython -m vuegen
instead.
By default, the streamlit_autorun
argument is set to False, but you can use it in case you want to automatically run the streamlit app.
It's also possible to provide a configuration file instead of a directory:
vuegen --config example_data/Earth_microbiome_vuegen_demo_notebook/Earth_microbiome_vuegen_demo_notebook_config.yaml --report_type streamlit
The current report types supported by VueGen are:
- Streamlit
- HTML
- DOCX
- ODT
- Reveal.js
- PPTX
- Jupyter
Acknowledgements
- Vuegen was developed by the Multiomics Network Analytics Group (MoNA) at the Novo Nordisk Foundation Center for Biosustainability (DTU Biosustain).
- The vuegen logo was designed based on an image created by Scriberia for The Turing Way Community, which is shared under a CC-BY licence. The original image can be found at Zenodo.
Contact
If you have comments or suggestions about this project, you can open an issue in this repository.
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 Distribution
Built Distribution
File details
Details for the file vuegen-0.2.0.tar.gz
.
File metadata
- Download URL: vuegen-0.2.0.tar.gz
- Upload date:
- Size: 34.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5aca7bf8a2c3ed2b145bdbfd2c2b4eec104aaba695303b9ebe171af0ed74e21f |
|
MD5 | 0ebb1f464389820960b8742c11c5b194 |
|
BLAKE2b-256 | c3037bdf9f6d08180b9fc34f0411a7ca08c49ed584217cd644159546a64effe9 |
Provenance
The following attestation bundles were made for vuegen-0.2.0.tar.gz
:
Publisher:
cdci.yml
on Multiomics-Analytics-Group/vuegen
-
Statement:
- Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
vuegen-0.2.0.tar.gz
- Subject digest:
5aca7bf8a2c3ed2b145bdbfd2c2b4eec104aaba695303b9ebe171af0ed74e21f
- Sigstore transparency entry: 168923623
- Sigstore integration time:
- Permalink:
Multiomics-Analytics-Group/vuegen@e8a8973f25b33b2765369cd46ce91f1e26d4f01c
- Branch / Tag:
refs/tags/v0.2.0
- Owner: https://github.com/Multiomics-Analytics-Group
- Access:
public
- Token Issuer:
https://token.actions.githubusercontent.com
- Runner Environment:
github-hosted
- Publication workflow:
cdci.yml@e8a8973f25b33b2765369cd46ce91f1e26d4f01c
- Trigger Event:
release
- Statement type:
File details
Details for the file vuegen-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: vuegen-0.2.0-py3-none-any.whl
- Upload date:
- Size: 36.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3dd37628a801ae303336f6cfe83564bb489496fb3a72480913eec2f318994c33 |
|
MD5 | a3b03e97bb2a57ee885cb0b3aed28f7b |
|
BLAKE2b-256 | 66502ab8251f41a94ce4f8e40abdc5aa45c2748c16c1da2c8774b289a0173657 |
Provenance
The following attestation bundles were made for vuegen-0.2.0-py3-none-any.whl
:
Publisher:
cdci.yml
on Multiomics-Analytics-Group/vuegen
-
Statement:
- Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
vuegen-0.2.0-py3-none-any.whl
- Subject digest:
3dd37628a801ae303336f6cfe83564bb489496fb3a72480913eec2f318994c33
- Sigstore transparency entry: 168923624
- Sigstore integration time:
- Permalink:
Multiomics-Analytics-Group/vuegen@e8a8973f25b33b2765369cd46ce91f1e26d4f01c
- Branch / Tag:
refs/tags/v0.2.0
- Owner: https://github.com/Multiomics-Analytics-Group
- Access:
public
- Token Issuer:
https://token.actions.githubusercontent.com
- Runner Environment:
github-hosted
- Publication workflow:
cdci.yml@e8a8973f25b33b2765369cd46ce91f1e26d4f01c
- Trigger Event:
release
- Statement type: