Closed kripnerl closed 5 months ago
Thank you @kripnerl ! I am very glad that OMAS is working for you, and these are all excellent suggestions.
I was not aware of Streamlit
. It seems pretty neat. This is something that perhaps @AreWeDreaming @wdeshazer and @smithsp can investigate!
For the other two proposals (+
operator and pathlib
) where you planning of opening a PR?
Thanks again!
Hi @orso82, not at the moment, since I am quite overloaded; however, it may happened 😊. No promises.
Main concept of streamlit is that whole scripted is rerun on any event. It is excellent for prototypes of dashboards. However, heavy calculations may make it unusable.
nicegui
project seems to be also very promising. It grans much more freedom in the look and behaviour. For the cost of slightly more complicated code.
Cheers, Lukáš
Stale issue message
On hold and on my TODO.
Stale issue message
Hi,
since I have been working with OMAS package lately, I have found some things that may be pretty handy to implement.
Feel free to check the Streamlit app, even though it is trivial. I find it pretty handy.
Support "+" operator
This one is simple:
An implementation may be pretty straightforward:
not sure how memory heavy this is...
Support ByteIO in "load" function.
This one is quite important with the increase in the number of web services. I have created a simple Streamlit OMAS viewer:
with installed
Streamlit
, you can run it asstreamlit run app.py
.However, you may notice
load_uploaded_omas_file
function here. I need to create a temporary file, save and reload the downloaded IDS. I can imagine a lot of similar applications when working with IDS/OMAS data.ods2json
function.As mentioned above, working with JSON "in" memory" is handy. Esp. when JSON saving function supports only the filename and no file object.
Support
pathlib
Fallowing example
should be equivalent to