Streamlit Cheat Sheet

I love how easy streamlit makes making apps.

However, when learning it, I searched for a ā€œcheat sheetā€ summary of the docs, but couldnā€™t find one anywhere.

So I decided to make one myself:

35 Likes

Feedback, comments, corrections all welcome.
Itā€™s also under the MIT License, so feel free to develop, change, modify, keep, etc etc etc

Hey @daniellewisDL ! Welcome to the community !

I like the PDF output of the cheatsheet. Are you planning to release the source code too, as I canā€™t find it in the linked repo :slight_smile: ? That way people could also just pull your repo and run the Streamlit app!

Fanilo

2 Likes

Hey @daniellewisDL, welcome to the Streamlit community! Thanks for sharing this, it looks like an invaluable resource.

2 Likes

This is so, so awesome. Would be great to see how / if we could reference this in Streamlitā€™s documentation!

2 Likes

Love it!

1 Like

Thanks - i have now added app.py and requirements.txt to the repo.

I had been trying to columnise it to get the output on ā€˜one pageā€™ like the pdf, but Iā€™m struggling, so I just uploaded the vanilla single column version.

To get the cheat sheet on one page for the pdf, I actually cheated by using the streamlit design language but on a (hush!) powerpoint slide.

1 Like

Thanks! I think itā€™s a good idea (obviously as I tried to implement it!) but Iā€™m sure others can build on it and improve my initial attempt. If anyone wants to use it for any purpose (including in the docs!) it is freely mutable.

There is also now an app.py version in the repo. Any feedback welcome!

thanks! please let me know how it can be improved.

This is really great! I love it!

1 Like

i have now deployed the app.py version to heroku:

https://streamlit-cheat-sheet.herokuapp.com/

3 Likes

Excellent work! Will use this frequently. Thank you!

2 Likes

thatā€™s nice @daniellewisDL! Thanks for sharing.

2 Likes

thats really helpful, thanks

3 Likes

Updates October 2020

  • New version of the cheat sheet
  • Updated for streamlit v0.68.0
  • Version numbers of cheat sheet now aligned to streamlit version numbers for ease of user reference
  • v0.68.0 of the app cheat sheet is columnised using 0.68.0 layout update
  • Cheat sheet app version deployed via both:
    • streamlit sharing; and
    • heroku
  • .pdf replaced by .png in the github repo - the .png version is just a screencap of the app

https://share.streamlit.io/daniellewisdl/streamlit-cheat-sheet/master/app.py
https://streamlit-cheat-sheet.herokuapp.com/

2 Likes

Thanks for sharing this resource. Would become a bit more popular if you could add the corresponding output with the code snippet!
Thanks