Skip to content
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

Simulated Cheat Sheet #6

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

r0han99
Copy link

@r0han99 r0han99 commented Jan 2, 2021

Hello Danielle, I’m Rohan, A Computer Science Student. In the Duration of me working with Streamlit for different projects or ideas the moment I came across your concise cheat sheet made things easier for me to reference various functionalities available. While it being really useful, initially when I was new to streamlit and referring your cheatsheet, I always wondered what would be the rendered widgets look like So, seeing that you've deployed your cheat sheet with streamlit-share, I decided to fork your cheat sheet repo and branch out a section within the application called "Simulated Cheat Sheet" where I carefully organised sections for each streamlit's native functionality and their "rendered view". I believe the novice streamlit users who refer to your cheat-sheet will also be able to acknowledge the post renders of this framework's widgets and text-related functions.

Change Log

  • Application/Cheatsheet is now segmented into Sections called Descriptive Cheatsheet and Simulated Cheatsheet using st.beta_expander().
  • Descriptive cheatsheet ( your work ) is left untouched.
  • Simulated Cheatsheet will have its own sidebar ( called Control shelf ) where the sections (radio buttons) for Display text, Display Charts, Display Media, Display Widgets, Display Progress and Status are available.
  • Each section will have the method name associated with that section, its parameters and optionally a code snippet for conventional usage or to display the control-flow of the operation using widgets.
  • For Display Media section, I've added a Soundtrack from a movie ( Interstellar ) which in case concerns copyright actions, can be replaced with another one. Video, on the other hand, is taken from a free-source which was also used in streamlit's official documentation site.
  • Total new Files added to the repository are 3; 2 of which are an Audio File and a Video File under Media Directory and the other is a PNG of a HEAD encapsulating a BRAIN in reference to your logo.
  • Editing the requirements.txt file to incorporate libraries numpy, pandas and matplotlib which are used for provided examples

Preview:

  • Front-Page
    Front-Page
  • Simulated Cheatsheet
    Simulated-CS

Note - Observing your Code format and acknowledging how structured it really is I didn't want to divert the aesthetic by inserting my work so I stuck with your beautiful code organisation and adapted to it as much as possible. The Merge should be a direct fast-forward kind without any Merge-conflicts hindering you with any changes for further to be made.
I hope you to accept this contribution, if something from the above seems unconventional, I'm sorry, this is the process through which I want to learn stuff from smarter people like you correcting my mistakes. Thank you;

r0han99 and others added 3 commits December 2, 2020 14:30
- application is segmented into two sections one being the original cheatsheet and other with actual renders of streamlit's widgets
all organised systematically
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant