Skip to main content

Module to generate automatic web interface reports with visualizations

Project description

VueGen Logo

VueGen is a Python library that automates the creation of scientific reports.

Information Links
Package PyPI Latest Release Supported versions
Documentation Docs
Build CI Docs
Examples HTML5 Streamlit
Discuss on GitHub GitHub issues GitHub pull requests

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:

VueGen Abstract

Also, the class diagram for the project is presented below to illustrate the architecture and relationships between classes:

VueGen Class Diagram

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, try python -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
  • PDF
  • DOCX
  • ODT
  • Reveal.js
  • PPTX
  • Jupyter

Acknowledgements

Contact

If you have comments or suggestions about this project, you can open an issue in this repository.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vuegen-0.2.0.tar.gz (34.6 kB view details)

Uploaded Source

Built Distribution

vuegen-0.2.0-py3-none-any.whl (36.9 kB view details)

Uploaded Python 3

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

Hashes for vuegen-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5aca7bf8a2c3ed2b145bdbfd2c2b4eec104aaba695303b9ebe171af0ed74e21f
MD5 0ebb1f464389820960b8742c11c5b194
BLAKE2b-256 c3037bdf9f6d08180b9fc34f0411a7ca08c49ed584217cd644159546a64effe9

See more details on using hashes here.

Provenance

The following attestation bundles were made for vuegen-0.2.0.tar.gz:

Publisher: cdci.yml on Multiomics-Analytics-Group/vuegen

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for vuegen-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3dd37628a801ae303336f6cfe83564bb489496fb3a72480913eec2f318994c33
MD5 a3b03e97bb2a57ee885cb0b3aed28f7b
BLAKE2b-256 66502ab8251f41a94ce4f8e40abdc5aa45c2748c16c1da2c8774b289a0173657

See more details on using hashes here.

Provenance

The following attestation bundles were made for vuegen-0.2.0-py3-none-any.whl:

Publisher: cdci.yml on Multiomics-Analytics-Group/vuegen

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page