All Projects → andfanilo → streamlit-component-template-vue

andfanilo / streamlit-component-template-vue

Licence: MIT license
Vue 2/3 template for Streamlit Components

Programming Languages

Vue
7211 projects
python
139335 projects - #7 most used programming language
typescript
32286 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects
shell
77523 projects

Projects that are alternatives of or similar to streamlit-component-template-vue

streamlit-observable
Embed Observable notebooks into Streamlit apps!
Stars: ✭ 50 (+56.25%)
Mutual labels:  streamlit, streamlit-components
farolcovid
🚦🏥. Ferramenta de monitoramento do risco de colapso no sistema de saúde em municípios brasileiros com a Covid-19 • Monitoring tool & simulation of the risk of collapse in Brazilian municipalities' health system due to Covid-19
Stars: ✭ 49 (+53.13%)
Mutual labels:  streamlit
data-storyteller
Automated tool for data story telling
Stars: ✭ 85 (+165.63%)
Mutual labels:  streamlit
streamlit-ace
Ace editor component for Streamlit.
Stars: ✭ 130 (+306.25%)
Mutual labels:  streamlit
gateCracker
No description or website provided.
Stars: ✭ 20 (-37.5%)
Mutual labels:  streamlit
Text-Summarization
Abstractive and Extractive Text summarization using Transformers.
Stars: ✭ 38 (+18.75%)
Mutual labels:  streamlit
Hand Written
HandWritten is a streamlit application that converts a digital text document to a handwritten document
Stars: ✭ 17 (-46.87%)
Mutual labels:  streamlit
streamlit-analytics
👀 Track & visualize user interactions with your streamlit app
Stars: ✭ 92 (+187.5%)
Mutual labels:  streamlit
cogviewer
Simple Cloud Optimized GeoTIFF viewer.
Stars: ✭ 21 (-34.37%)
Mutual labels:  streamlit
deepstack-ui
UI for working with Deepstack
Stars: ✭ 115 (+259.38%)
Mutual labels:  streamlit
map-floodwater-satellite-imagery
This repository focuses on training semantic segmentation models to predict the presence of floodwater for disaster prevention. Models were trained using SageMaker and Colab.
Stars: ✭ 21 (-34.37%)
Mutual labels:  streamlit
hydralit
A library to create multi-page Streamlit applications with ease.
Stars: ✭ 93 (+190.63%)
Mutual labels:  streamlit
streamlit-aggrid
Implementation of Ag-Grid component for Streamlit
Stars: ✭ 465 (+1353.13%)
Mutual labels:  streamlit
renewcast
Renewcast: Forecasting Renewable Electricity Generation in EU Countries.
Stars: ✭ 28 (-12.5%)
Mutual labels:  streamlit
leafmap
A Python package for interactive mapping and geospatial analysis with minimal coding in a Jupyter environment
Stars: ✭ 1,299 (+3959.38%)
Mutual labels:  streamlit
WebApp-Computer-Vision-streamlit
Computer Vision application in the web
Stars: ✭ 35 (+9.38%)
Mutual labels:  streamlit
geemap-apps
Interactive web apps created using geemap and streamlit
Stars: ✭ 24 (-25%)
Mutual labels:  streamlit
mune
Simple stock price analytics
Stars: ✭ 14 (-56.25%)
Mutual labels:  streamlit
jina-meme-search
Meme search engine built with Jina neural search framework. Search with captions or image files to find matching memes.
Stars: ✭ 21 (-34.37%)
Mutual labels:  streamlit
favv
Fullstack Web Application Framework With FastAPI + Vite + VueJS. Streamlit for rapid development.
Stars: ✭ 17 (-46.87%)
Mutual labels:  streamlit

Streamlit Component template in Vue.js

Vue 3 template to build a Streamlit component. Uses Vue.js scoped slot to send parameters from Streamlit Python script into args props of your component.

Setup

Copy paste of the original component-template quickstart.

  • Ensure you have Python 3.6+, Node.js, and npm installed.
  • Clone this repo.
  • Create a new Python virtual environment for the template:
$ python3 -m venv venv  # create venv
$ . venv/bin/activate   # activate venv
$ pip install streamlit # install streamlit
  • Initialize and run the component template frontend:
$ cd my_component/frontend
$ npm install    # Install npm dependencies
$ npm run serve  # Start the Webpack dev server
  • From a separate terminal, run the template's Streamlit app:
$ . venv/bin/activate  # activate the venv you created earlier
$ streamlit run my_component/__init__.py  # run the example
  • If all goes well, you should see something like this: Quickstart Success
  • Modify the frontend code at my_component/frontend/src/MyComponent.vue.
    • Parameters passed by Python script are made available in args props.
  • Modify the Python code at my_component/__init__.py.
  • Feel free to rename the my_component folder, MyComponent.vue file with its import in App.vue, and package name in setup.py and package.json.

Resources

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].