Announcing Streamlit 1.0! 🎈

Streamlit used to be the simplest way to write data apps. Now it's also the most powerful.

Posted in Announcement, October 5 2021
Streamlit used to be the simplest way to write data apps. Now it's also the most powerful.

We launched Streamlit in 2019 with a radical idea: making data apps should be simple. Your response exceeded our highest hopes. Tens of thousands of data scientists and thousands of companies turned to Streamlit to share rich models, deep analyses, and complex datasets.

Overnight, expectations became sky-high. You filled our forums. You inundated our issue boards. You wanted Streamlit to be more beautiful, more powerful, more programmable, and faster.

Inspired by this swell of energy, we set out to make your dreams real. But the features you wanted threatened to complicate Streamlit. How could we make Streamlit a powerful, production-ready app framework while preserving its core simplicity?

We had to boil it down. Why was Streamlit simple? What made it so special?

The answer was our initial insight...

Apps were just scripts!

These two lines said it all:

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

In just two lines of Python, Streamlit dissolved all complexity of app development: layout, input, output, interaction, and callbacks. The learning curve was zero!

So far so good. But as data scientists, we didn't just square numbers. We built models. We conjured visualizations. We wrangled datasets. We harmonized geographic data with sentiment analysis and feature libraries. We shaped thinking.

Could Streamlit's simple scripting model scale?!

For help, we turned to Streamlit's guiding light. The community. You. We asked you questions. You listened and responded. Together, we worked on countless revisions to the APIs. We simplified. Then we simplified even more.

One by one, we tackled the challenges of making each of your dreams real:

1. Layouts. The first step was to make beautiful layouts that danced and reacted to user input. How could we fit this into Streamlit's simple scripting model?

This led us to code like this:

airports = ["La Guardia Airport", "JFK Airport", "Newark Airport"]
for airport, col in zip(airports, st.columns(len(airports)):
   with col:
      st.subheader(airport)
      render_airport(airport)

See how the columns fit perfectly into a simple for loop? Awesome! A new layout superpower! 💪

2. Components. Next, we wanted to transcend the structures of Streamlit's 37 core functions. So we added support for third-party components:

from webcam_component import webcam
captured_image = webcam()
if captured_image is not None:
   st.image(captured_image)

You swept in and filled our gallery with an incredible ecosystem of components. Now Streamlit apps could refract a full rainbow of web technologies:

3. State. Up next, we worked on state, adding new complexity in a few lines of code:

if st.button('Increment'):
    st.session_state.count += 1
st.write('Count = ', st.session_state.count)

4. Speed. You wanted speed. So we introduced powerful new caching primitives that made your apps fast:

@st.experimental_singleton
def connect_to_database(url):
   engine = create_engine(url)
   return sessionmaker(engine)
@st.experimental_memo
def query_database(_db):
   with _db() as session:
      query = session.query(user.id, user.last_name, user.ltv)
   return pd.read_sql(query.statement, query.session.bind)

With each challenge conquered, our confidence and excitement grew. Streamlit's core developers joined with the community to build more and more features, faster and faster.

But you didn't stop there. You hacked at our rough edges. You tore apart our abstractions. You encouraged us to make Streamlit even better, even simpler, and infinitely more powerful. You believed in us.

And then it happened. We have built powerful new features and preserved Streamlit's core simplicity. The abstractions scaled!

On the wave of this excitement, a new milestone came into view...

Streamlit 1.0! 🎈

Streamlit 1.0 release gif

This signifies the end of our first journey:

  • We've grown from three co-founders to a team of almost 50 (we're hiring!).
  • Our community has grown beyond our wildest dreams with more than 4.5 million downloads.
  • Streamlit now has more than 16,000 GitHub stars and is used by more than 10,000 organizations (including over half of the Fortune 50).

Funnily enough, we feel like we're back where we started. Once again, our community wants powerful features. But this time it's different. This time we know that the Streamlit model will scale.

So today we're also sharing with you our new roadmap:

  • Magical apps. We already made it 10x faster for you to make great apps. Now we want to make those apps even better. We'll be adding an unbeatable set of widgets—everything from sortable/filterable/editable databases and tables to clickable charts, to image selectors and editors, to amazing audio and video players and uploaders (and more options for layout and customization!).
  • First-class developer experience. We want everything about coding a Streamlit app to be an awesome experience. So we'll make it easier for you to connect to data sources, cache data, interact with it, and debug your apps.
  • Enhanced user experience. We want to help you make great apps for your users. We'll be designing a distinct user experience. App users will be able to understand the app, interact with it, and give you direct feedback.
  • Rapidly expanding ecosystem. You wanted it to be even easier for fellow developers to share code, components, apps, and answers. So we'll be launching new features that make it super simple to get started with new apps, find code snippets, search for the right add-on components, engage with the community, and get recognized for your contributions.

Oh, and one more exciting thing. We’re committing to follow a loose variant of semantic versioning. For details, see our upcoming release notes.

That's it for the Streamlit 1.0 announcement!

We're very proud to have shared our journey with you—our magical community. You are what makes Streamlit special. Thank you for inspiring us with your feedback, enthusiasm, and creativity. Please keep sharing your apps with the world. And keep sending us comments, ideas, bugs, feature requests, articles, and words of encouragement.

We wouldn't be here without you. ❤️


This is a companion discussion topic for the original entry at https://blog.streamlit.io/announcing-streamlit-1-0/
10 Likes

Congratulations Team Streamlit! I deployed my Capstone project which mapped Construction & Demolition Waste near NYC using Streamlit, and everyone from City and State officials to my professors at NYU, they all loved it! I can’t wait to build more powerful stuff with this latest release! Hoping for more seamless experiences with WebGL/ThreeJS and point clouds!

2 Likes

Congratulations :confetti_ball::clap: very well made tool

Very good. I’m looking forward to every new version. I’ll become a person who contributes to the streamlet.

2 Likes

Thanks so much!
It’s been an exciting and busy time for us here, and we are so happy to finally be able to share it with you all! :partying_face::partying_face::partying_face:

2 Likes

Congratulations to the whole team! Massive accomplishment! :clap:

3 Likes

2 Likes

Congratulations folks! You’re doing an amazing job, cheers

2 Likes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.