question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Plug-in architecture for Streamlit

See original GitHub issue

Problem

It would be nice if users could create their own plugins for Streamlit without forking the repo.

This issue has also come up in the community forums.

Starting point for the discussion

I think it would be cool if the basic approach was to simply write a react component in pure jsx and then run it through a Streamlit compiler, e.g.

streamlit compile my_widget.jsx

which would produce a wheel file (e.g. my_widget-VERSIONN-py2.py3-none-any.whl)

which could be pip installed or uploaded to pypi.

What about your ideas?

Please add comments below with your thoughts on requirements for this feature.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:26
  • Comments:23 (11 by maintainers)

github_iconTop GitHub Comments

11reactions
gregmuelleggercommented, Oct 8, 2019

Rather important is also to have the ability to write very customized widgets that are part of a project - i.e. they are not installed separately via pip. So besides the suggestion to compile an JSX file to a wheel, it would be nice to have the ability to directly load the JSX file so that it is compiled on load.

4reactions
tc87commented, Jul 16, 2020

Wanted to let everyone know that the API for Streamlit Components was released on 0.63.0! 🥳

Here are some helpful links:

Read more comments on GitHub >

github_iconTop Results From Across the Web

Streamlit • The fastest way to build and share data apps
Streamlit is an open-source app framework for Machine Learning and Data Science teams. Create beautiful web apps in minutes.
Read more >
5 Streamlit Components To Build Better Applications
Streamlit components are external Python libraries that you install on top of Streamlit to provide additional functionalities — you can simply view them...
Read more >
Streamlit Tutorial: How To Build Applications in ...
Streamlit is a Python-based rapid prototype development framework for using data, Python code, and machine learning models to build standalone ...
Read more >
How to Build an Instant Machine Learning Web Application ...
Overview of Streamlit and FastAPI. Streamlit, an open-source app framework, aims to simplify the process of building web applications for ...
Read more >
Fast Data Apps with Streamlit - Case: How Much Will the ...
Streamlit essentially turns a Python script into a responsive web app that you might think was custom-built with a modern front-end framework, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found