Welcome to StartLit!
StartLit is your gateway to building Streamlit apps with ease. It brings a simple, streamlined way to start your Streamlit projects. Here's what's included in the latest release:
-
Package Installation: Now you can easily install StartLit from PYPI using
pip install startlit
.
- 🤗
hello()
- Just a welcome text. - 📥
starter()
- A very simple starter app template. Quick-peek: https://startlit-starter.streamlit.app/ - 📃
multipage()
- An app template for building multipage Streamlit apps. Quick-peek: https://startlit-multipage.streamlit.app/ - 📚
fragments()
- An app that allows you to run independent components in the streamlit app. Quick-peek: https://startlit-fragments.streamlit.app/ - 💬
chat()
- A dummy chatbot app. Quick-peek: https://startlit-chat.streamlit.app/ - 📜
list_streamlit_apps()
- List running Streamlit apps. - 🔪
kill_streamlit_apps()
- Kill running Streamlit apps. - 💡
help()
- Display help menu with list of available functions. - 🐙 Need more help? Post an issue at https://github.com/ineelhere/startlit/issues
pip install startlit
from startlit import *
hello()
Running hello()
should give you a simple welcome message -
Hello there 👋
Welcome to Startlit! 🚀
starter()
Output -
📥 Starter app downloaded!📥
👀 Look for 'app.py' and 'requirements.txt' file in your working directory 👀
💡 Visit https://startlit-starter.streamlit.app/ for a quick look to the starter app
If you look up in your local/working directory, you should find the 2 files present as mentioned above.
# just to check - files have been downloaded
!ls
Output -
app.py requirements.txt
# just to check - app.py actually has streamlit code
!cat app.py
Output -
import streamlit as st
# Display a title
st.title('Hello, World! 🌎🚀')
# Add a description with an inline comment
st.write("This is my first app in Streamlit! 📝") # Comment: Don't forget to smile
# get a list of available ftrs
help()
# Download a starter app template
starter()
# Download a multipage app template
multipage()
# Download a fragment app template
fragments()
# Download a dummy chatbot app template
chat()
# List all active apps
list_streamlit_apps()
# Kill a specific app by app_id
kill_streamlit_apps(app_id)
Excited to hear your feedback and suggestions for improvements.
Collaborations and Contributions are welcome 🤝 Feel free to open issues or submit pull requests.
Enjoy your streamlit journey with StartLit and happy coding! 🚀🎉
Check package download stats at https://pypistats.org/packages/startlit