Skip to main content

GUI for Denario

Project description

DenarioApp

GUI for Denario, powered by streamlit.

Run locally

Install the GUI from source following one of the following steps.

  1. Install with pip

    pip install -e .
    
  2. Install with uv

    uv sync
    

Run the app with:

streamlit run src/app.py

Run in Docker

You may need sudo permission or use this link. To build the docker run:

docker build -t denario-app .

To run the app:

docker run -p 8501:8501 --rm \
    -v $(pwd)/project_app:/app/project_app \
    -v $(pwd)/data:/app/data \
    -v $(pwd).env/app/.env \
    denario-app

That command exposes the default streamlit port 8501, change it to use a different port. You can mount additional volumes to share data with the docker using the -v flag. The above command shares the project_app folder, where the project files are generated, a datafolder, where the required data would be present, and a .env file with the API keys (so no need to parse them manually). To run the docker in interactive mode, add the flag -it and bash at the end of the command.

You can also use docker compose, you can just run

docker compose up --watch

to build the image and run the container.

TODO

  • Prerender markdown files if they exist
  • Add option to browse files
  • Add option to set ideas, methods, results, through files
  • Ensure that plots are shown in markdown results
  • Render latex pdf in app
  • Refactor components code since there is a lot of duplication
  • Add keywords tab
  • Allow for providing API keys through the sidebar
  • Show total computing time
  • Run in Docker
  • Include API validators
  • Download .md files
  • Upload .env directly
  • Print console log in GUI
  • Show files in project
  • Allow to download plots
  • Allow to download tex and pdf
  • Allow to upload several project files at the same time
  • Modify dockerfile to build with uv for faster build
  • Generate pdf from latex for all journals
  • Allow to upload plots
  • Allow for different users
  • Allow to download generated code
  • Add download project button
  • Show API keys active if .env is uploaded
  • Add generate button if it fails instead of reloading page

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

denario_app-0.1.0.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

denario_app-0.1.0-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file denario_app-0.1.0.tar.gz.

File metadata

  • Download URL: denario_app-0.1.0.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.2

File hashes

Hashes for denario_app-0.1.0.tar.gz
Algorithm Hash digest
SHA256 131773c3eaa8f0b54164de858b1cf97d66c01d303e01c3bfa6175a9cf453ffc9
MD5 0dd988552054ad78b96076523d88d14a
BLAKE2b-256 27e1515f5e601b6fd9be67e0474816eadc54e25b84de99ed14c321571fa0f746

See more details on using hashes here.

File details

Details for the file denario_app-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for denario_app-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d632d36a132314c1acc8f8a883c2e176bdaec8d89e3c54b6a1ab755a04e5b7b1
MD5 1924ea01b69d994b697a5d4875803f12
BLAKE2b-256 bb768ccc606a1807f775549086367afaaea066fa9af1adc7b8c47e01a206c4c7

See more details on using hashes here.

Supported by

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