Skip to main content

Get started with a streamlit app template code in style

Project description

StartLit ⭐

PyPI - Version GitHub License PyPI - Downloads example workflow

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:

Features:

  • Package Installation: Now you can easily install StartLit from PYPI using pip install startlit.

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 👀
💡 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

Other functions

# 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)

Feedback and Contribution:

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


© Indraneel Chakraborty | 2024 🧑‍💻LinkedIn | X/Twitter

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.4.tar.gz (8.0 kB view hashes)

Uploaded Source

Built Distribution

startlit-0.0.4-py3-none-any.whl (9.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page