Skip to content

Releases: ineelhere/startlit

startlit 0.0.5

22 Jun 21:05
e6a928e
Compare
Choose a tag to compare

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)

Snowflake Demo Apps

Usage

app_keyword = "chat_app"
destination_directory = "./folder"
snowflake_demo_app(app_keyword, destination_directory)

Output

Cloning from https://github.com/Snowflake-Labs/snowflake-demo-streamlit.git 📦
Using the main branch 🌿
Target directory created: ./folder 🛠️
Fetched folder: Chat app using Snowflake Cortex 📁
Fetched LICENSE file 📜
Fetched README.md file 📖
Demo app files fetched successfully to /content/folder 🎉🎊
Please make sure to read the README.md 📖 and LICENSE 📜 files for important information.

The following table lists the app keywords (used in the above example) and their corresponding folder names in the repository:

Keyword Folder Description
chat_app Chat app using Snowflake Cortex
email_generator LLM Email Generator
ci_demo Continuous Integration - Summit Demo
customer_engagement Customer Engagement App
rag Retrieval Augmented Generation (RAG)
external_access_chat_app External Access: Chat app using 3rd party LLM
github_insights Github Popularity Insights
h3_mapping H3 Mapping and Timeseries Visualization
sql_optimizer SQL Query Optimizer App using Snowflake Cortex
inventory_tracker Inventory Tracker
usage_monitoring Streamlit in Snowflake Usage Monitoring
metrics_app Key Metrics App
retention_analytics User Retention Analytics App
language_insights Language Usage Insights
data_io Writing and reading data back to Snowflake

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

startlit 0.0.4

12 Apr 16:09
cb623b1
Compare
Choose a tag to compare

Release Notes - Version 0.0.4

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

startlit 0.0.3

11 Apr 11:58
4998265
Compare
Choose a tag to compare
startlit 0.0.3 Pre-release
Pre-release

Release Notes - Version 0.0.3

StartLit ⭐

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.
  • Simple Usage: Import the package and run hello() to receive a friendly welcome message.
  • Basic help: Use the help() function to get started with more support
  • Starter App: Use the starter() function to download a very simple starter app template, including an app.py file and a requirements.txt file.
  • Multipage App: Use the multipage() function to download an app template for building multipage Streamlit apps. The files/folders will be available in your working directory.
  • Fragments App: Use the fragments() function to download an app that allows you to run independent components in the streamlit app.
  • List active streamlit apps - Use the list_streamlit_apps() function to get a list of currently running
  • Kill active streamlit apps - Use the kill_streamlit_apps(app_id) function to kill desired running streamlit apps. app_id is the app ID you get from the list_streamlit_apps() function.

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

# List all active apps
list_streamlit_apps()

# Kill a specific app
kill_streamlit_apps(app_id)

Feedback and Contribution:

Excited to hear your feedback and suggestions for improvements.
Feel free to open issues or submit pull requests.

Enjoy your streamlit journey with StartLit and happy coding! 🚀🎉


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

Collaborations and Contributions are welcome 🤝

startlit 0.0.2

08 Apr 11:05
57ca5d9
Compare
Choose a tag to compare
startlit 0.0.2 Pre-release
Pre-release

Release Notes - Version 0.0.2

StartLit ⭐

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.
  • Simple Usage: Import the package and run hello() to receive a friendly welcome message.
  • Basic help: Use the help() function to get started with more support
  • Starter App: Use the starter() function to download a very simple starter app template, including an app.py file and a requirements.txt file.
  • Multipage App: Use the multipage() function to download an app template for building multipage Streamlit apps. The files/folders will be available in your working directory.
  • Fragments App: Use the fragments() function to download an app that allows you to run independent components in the streamlit app.

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

Feedback and Contribution:

Excited to hear your feedback and suggestions for improvements.
Feel free to open issues or submit pull requests.

Enjoy your streamlit journey with StartLit and happy coding! 🚀🎉


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

Collaborations and Contributions are welcome 🤝

startlit 0.0.1

05 Apr 05:31
6908b37
Compare
Choose a tag to compare
startlit 0.0.1 Pre-release
Pre-release

Release Notes - Version 0.0.1

Welcome to StartLit!

StartLit is your gateway to building Streamlit apps with ease. Version 1.0.0 brings a simple, streamlined way to start your Streamlit projects. Here's what's included in this release:

Features:

  • Package Installation: Now you can easily install StartLit from PYPI using pip install startlit.
  • Simple Usage: Import the package and run hello() to receive a friendly welcome message.
  • Starter App: Use the starter() function to download a very simple starter app template, including an app.py file and a requirements.txt file.
  • Basic help: Use the help() function to get started with more support

Example Usage:

# Install the package
pip install startlit

# Import and run hello() for a welcome message
from startlit import *
hello()

# Download a starter app
starter()

Feedback and Contributions:

Excited to hear your feedback and suggestions for improvements.
Feel free to open issues or submit pull requests.

Enjoy your streamlit journey with StartLit and happy coding! 🚀🎉