Get started with a streamlit app template code in style
Project description
StartLit
Get started with a streamlit app template code in style.
Install the package from PYPI
pip install startlit
Import the package
from startlit import *
hello()
Running hello()
should give you a simple welcome message -
Hello there 👋
Welcome to Startlit! 🚀
Download a very simple starter app
starter()
Output -
📥 Starter app downloaded!📥
👀 Look for 'app.py' and 'requirements.txt' file in your working directory 👀
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
© Indraneel Chakraborty
| 2024 🧑💻 Email | LinkedIn | GitHub
Collaborations and Contributions are welcome 🤝
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
startlit-0.0.1.tar.gz
(5.7 kB
view hashes)