streamlit · PyPI 您所在的位置:网站首页 streamlet streamlit · PyPI

streamlit · PyPI

2023-09-10 04:56| 来源: 网络整理| 查看: 265

Streamlit logo

Welcome to Streamlit 👋

A faster way to build and share data apps.

Streamlit lets you turn data scripts into shareable web apps in minutes, not weeks. It’s all Python, open-source, and free! And once you’ve created an app you can use our Community Cloud platform to deploy, manage, and share your app.

Installation

Open a terminal and run:

$ pip install streamlit $ streamlit hello

If this opens our sweet Streamlit Hello app in your browser, you're all set! If not, head over to our docs for specific installs.

The app features a bunch of examples of what you can do with Streamlit. Jump to the quickstart section to understand how that all works.

Streamlit Hello

Quickstart A little example

Create a new file streamlit_app.py with the following code:

import streamlit as st x = st.slider("Select a value") st.write(x, "squared is", x * x)

Now run it to open the app!

$ streamlit run streamlit_app.py

Little example

Give me more!

Streamlit comes in with a ton of additional powerful elements to spice up your data apps and delight your viewers. Some examples:

Input widgets Dataframes Charts Layout Multi-page apps Fun

Our vibrant creators community also extends Streamlit capabilities using  🧩 Streamlit Components.

Get inspired

There's so much you can build with Streamlit:

🧬  Science & technology apps 💬  NLP & language apps 👀  Computer vision apps 🏦  Finance & business apps 🗺  Geography & society apps and more!

Check out our gallery! 🎈

Community Cloud

Deploy, manage and share your apps for free using our Community Cloud! Sign-up here.

Resources Streamlit docs, community forum and blog. Extend Streamlit's capabilities by installing or creating your own Streamlit Components. Help others find and play with your app by using the Streamlit GitHub badge in your repository: [![Streamlit App](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](URL_TO_YOUR_APP)

Streamlit App

License

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



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有