NorwegianVeterinaryInstitute / shinylims

A Python Shiny app for LIMS reporting
MIT License
0 stars 0 forks source link

Refactor #7

Open magnulei opened 2 months ago

magnulei commented 2 months ago

Main reason for refactoring

Move away from ui_pages.py and ui_server.py and replace it with a separate python modules for each page in the app. Makes it easier to add new pages or edit existing ones.

Also, manage the project with uv?

howto: https://discindo.org/post/using-uv-to-manage-the-environment-for-a-python-shiny-app-and-set-up-a-workflow-to-publish-it-to-posit-connect/ repo: https://github.com/novica/pyshinywikidata demo: https://connect.posit.vetinst.no/connect/#/apps/ddccb0a1-dca4-49c9-a9a1-6105d384ffcd/info

Also, maybe implement Tapyr Python framework

https://www.youtube.com/watch?v=ewyHk9jsZFc https://connect.appsilon.com/tapyr-docs/

Also, maybe making some interavtive plots?

I think the latest iTables now support using data only from selected rows, enabling some cool interactive plotting for the sequencing tab. https://mwouts.github.io/itables/select.html

plot with this maybe?: https://github.com/pyecharts/pyecharts/blob/master/README.en.md