An open API service indexing awesome lists of open source software.

https://github.com/santoshshinde2012/streamlit-app

Streamlit Demo App
https://github.com/santoshshinde2012/streamlit-app

data-science python react streamlit

Last synced: 2 months ago
JSON representation

Streamlit Demo App

Awesome Lists containing this project

README

          

# 📦 Streamlit App

Streamlit is a powerful tool for creating interactive web applications using Python. However, there are times when the built-in components may not meet your specific needs. In such cases, you can create custom components using modern front-end technologies like Vite, React, and TypeScript. This guide will walk you through the process of setting up a custom component for your Streamlit app, enabling a seamless integration of sophisticated front-end features with the simplicity of Python.

## How to run locally

1. Make sure to install required python packages

```
pip install -r requirements.txt
```

2. Make sure to install all required npm packages in frontend project

```
cd streamlit-app/rbutton/frontend

npm install
```

3. If you want to run application dev mode update `.env` file

```
DEV_MODE=true

// this path is for your running frontend application
FRONTEND_HOST=http://localhost:5173
```

4. If you want to run production build

```
cd streamlit-app/rbutton/frontend

npm run build
```

## Demo App

[![Streamlit App](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://app-app-jxe6thwxf43qfvabwmrrlk.streamlit.app/)



demp

## Project Structure

````
streamlit-app/
├── streamlit_app.py
├── .env
├── requirements.txt
├── rbutton/
│ ├── __init__.py
│ ├── frontend/
│ │ ├── dist/
│ │ │ ├── index.html
│ │ │ ├── assets
│ │ │ │ ├── index.js
│ │ │ │ └── index.css
│ │ ├── src/
│ │ │ ├── App.tsx
│ │ │ ├── assets
│ │ │ │ └── ...
│ │ │ ├── components
│ │ │ │ └── ...
│ │ │ └── ...
│ │ ├── package.json
│ │ └── vite.config.ts
````

## Further Reading

- [30 Days of Streamlit](https://30days.streamlit.app/)
- [How to build your own Streamlit component](https://blog.streamlit.io/how-to-build-your-own-streamlit-component/)
- [Understanding Streamlit's client-server architecture](https://docs.streamlit.io/develop/concepts/architecture/architecture)
- [Wiki](https://github.com/streamlit/streamlit/wiki)

### Connect with me on



Twitter Badge


LinkedIn Badge


Medium Badge


Buy Me A Coffee