Skip to content
Streamlit — The fastest way to build custom ML tools
Python TypeScript CSS Makefile Shell JavaScript Other
Branch: develop
Clone or download
arraydude Screencast (#929)
* Screencast workflow

* Removing console.log from App

* Recording screen and showing it in a dialog

* Fixing lint

* Showing unsupported browser dialog and moving screencast dialog to the hoc

* Fixing displayName lint

* Fixing App test

* UnsupportedBrowserDialog test

* VideoRecordedDialog test

* Simplifying import

* Simplifying import

* make headers

* ScreencastDialog test

* make format

* no encoding

* Generating fileName from script+hash, i've also cleaned the bindings from App

* Adding test for fileName

* Upgrading cypress and App test

* New snapshots

* withScreencast unit test

* Alert and removing sharing enabled check

* disabled

* Fixing starting bug without permissions

* recording

* Fixing esc bug

* Main menu w/ screencast snapshot

* Filename being created as streamlit-{reportName}-{YYYY-MM-DD-HH-MM-SS}.webm

* Fix reportHash

* Adding screencast test for App

* Testing if esc button to stop screencast

* Cleaning mock code

* ScreencastDialog comments from Tim:
- docstring
- code style

* VideoRecordedDialog message

* ScreenCastRecorder docstring

* typo

* forcing type to slider e2e

* New screencast dialog

* New spec for recorded dialog

* New spec for recorded dialog

* Removing size from modal

* Adding webm disclaimer

* Updating supported browser versions

* Fixing comments

* Using enum instead of different booleans

* String literals
Latest commit df828ad Jan 23, 2020

README.md

Welcome to Streamlit 👋

The fastest way to build custom ML tools.

Streamlit lets you create apps for your machine learning projects with deceptively simple Python scripts. It supports hot-reloading, so your app updates live as you edit and save your file. No need to mess with HTTP requests, HTML, JavaScript, etc. All you need is your favorite editor and a browser. Take a look at Streamlit in action:

Example of live coding a dashboard in Streamlit|635x380

Check out our launch blog post!!

Installation

pip install streamlit
streamlit hello

Example

Streamlit lets you build interactive apps ridiculously easily:

import streamlit as st

x = st.slider('Select a value')
st.write(x, 'squared is', x * x)

A Bigger Example

Despite its simplicity Streamlit lets you build incredibly rich and powerful tools. This demo project lets you browse the entire Udacity self-driving-car dataset and run inference in real time using the YOLO object detection net.

Making-of Animation

The complete demo is implemented in less than 300 lines of Python. In fact, the app contains only 23 Streamlit calls which illustrates all the major building blocks of Streamlit. You can try it right now with:

pip install --upgrade streamlit opencv-python
streamlit run https://raw.githubusercontent.com/streamlit/demo-self-driving/master/app.py

More Information

Streamlit for Teams

Streamlit for Teams is our enterprise edition, with single-click deploy, authentication, web editing, versioning, and more. Please contact us if you would like to learn more.

License

Streamlit is completely free and open source and licensed under the Apache 2.0 license.

You can’t perform that action at this time.