A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/cedanl/streamlit-app-template below:

GitHub - cedanl/streamlit-app-template: ✅ [TEMPLATE]

Note

Quick Start: → Clone Locally → → Run uv run streamlit run src/main.py

The CEDA Streamlit App Template helps researchers and data scientists quickly build interactive web applications for data analysis and visualization. Perfect for creating:


Warning

Do not skip these steps if this is your first time using this template. It will not work without them.

Tip

Save the repository in a Projects/CEDA folder on your main drive for quick access.

Option A: Use Template (For CEDA Members)
  1. Click the green "Use this template" button on GitHub
  2. Name your new app repository
  3. Choose Public or Private
  4. Click "Create repository"

After downloading, extract the ZIP file and navigate into the folder.

2. Install
curl -LsSf https://astral.sh/uv/install.sh | sh
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

Close and reopen your terminal after installation.

Ready to see your app come to life? It's just one command away! ✨

First, get to the right spot:

Open a terminal in your app folder - it's super easy!

Or navigate there:

cd path/to/your-app-folder
Then, launch with a single command:
uv run streamlit run src/main.py

That's it! Your app will automatically open in your browser. If you've completed the setup correctly, this is the only command you'll need going forward. 🎉


🎯 Building Your First App
  1. Create a new .py file in the src/frontend/ folder
  2. Add your page to the navigation in src/main.py
  3. Your page appears automatically in the sidebar!
import streamlit as st

def show():
    st.title("My New Page")
    st.write("Hello, world!")
    
    # Add your content here
    user_input = st.text_input("Enter something:")
    if user_input:
        st.success(f"You entered: {user_input}")

If you find this template helpful, please consider:

Need help? Feel free to open an issue or contact us at a.sewnandan@hhs.nl

Thank you to all the people who have contributed to this template.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4