-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chemics UI #30
Comments
I like the idea. Are you suggesting adding this to the chemics package or making a separate repository for the dashboard? Related to this, I used Streamlit to make an interface to the biomass composition function that's in chemics. You can view the app at https://biocomptool.streamlit.app. I chose Streamlit because it was easy to deploy the web app. |
Don't know honestly, it could be in the same package to give the users a sort of playground, but probably it would be cleaner to do it in another package so the user is not forced to install tons of library just for the UI. Though it could be physically stored in the same repo. So to recap the options:
Probably I would go with the last option and in general if you keep the UI in a separate package i.e. Ah ok, yes indeed streamlit is very similar to dash, and I didn't know they had an hosting service, good to know! BTW the app is not working for me. |
Another option that won't require a server would be to provide a notebook with embedded widgets to give a demo of how to use it and at the same time provide a nice interface. |
@lucafaggianelli If everything is in the same repo, the UI dependencies could be made optional with Regarding the Streamlit app, the link https://biocomptool.streamlit.app should work fine. Sometimes it can be slow to load but it should be working. I'm on a Mac and use Safari and Firefox so I can't verify if it works on Windows and Linux. But it's just a web app so I don't see why it wouldn't work on other platforms. @JeanBilheux Using notebooks is another option but I think the original person is suggesting a UI (web app) so people can use the features of chemics without having to know Python or install Jupyter notebooks. And if you use Streamlit you don't have to deal with a server. The web app is deployed from the GitHub repo. I don't know what options are available for Dash but Streamlit makes it easy to deploy without having to maintain a server or deal with an app hosting service. |
Yes in the end another repo would be better at this stage. And on how to run the UI, I would keep both options 1. host it online so anyone can use it and 2. run it locally so one can customise it and deploy its own version OK the problem with https://biocomptool.streamlit.app/ is that my company laptop was blocking some URLs, but on my personal laptop indeed the website works! |
Hi I stumbled upon your project and even though I'm not into chemistry it looks interesting :)
I've used a Python tool/framework called Plotly Dash for creating data-driven dashboards for several projects, so I thought your library would be a nice fit for a Dash app, here's what I've done with a couple of lines of code:
let me know if you like the idea, always happy to contribute to open-source
The text was updated successfully, but these errors were encountered: