moest-np / center-randomize

Script is to assign exam centers to students
MIT License
754 stars 359 forks source link

Add Streamlit app for UI #44

Closed dhirajraut1 closed 1 month ago

dhirajraut1 commented 1 month ago

This PR is for

PR Description

What does this PR do?

This PR adds the ability to calculate and view the generated data for non-technical users. The PR uses Streamlit to make the UI and show the data generated.

Features added

i. Upload files ii. View uploaded files iii. View calculated exam centers

Screenshots/Recordings

Demo Video: https://share.vidyard.com/watch/PrAWqnqHyY6RRmSXdamhFL

image image image

Added dependencies i. streamlit==1.33.0

Breaking changes None

Additional Notes

Final Checklist

sapradhan commented 1 month ago

this looks excellent. few asks for you -

dhirajraut1 commented 1 month ago

this looks excellent. few asks for you -

  • new to streamlit, seems like a hosted service. how is deployment handled? Can moest have its "official" deployment ?

Thank you. I'm working on other features such as filtering and maps as of now. About deployment:

  • can you add input fields so that the parameters can be modified from UI itself ?

I was thinking of doing something like this. I could work on this on my free time. Seems like cool thing to work on

sumanashrestha commented 1 month ago

Thank you @dhirajraut1 and @aashu-kattel. Merging this one as the demo and interface is more compelling.

streamlit seems to be a better alternative to google collab (#14) see if you can help out with map enhancements (#9)