1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[95405],{83229:function(e,t,a){let i=a(67294);e.exports={attributes:{title:"Home",seo:{sharingImage:"images/uploads/sharing-image-facebook.jpg"},color:"red",blocks:[{type:"hero",_uid:"1708105088",title:"A faster way to build and share data apps",description:"Turn your data scripts into shareable web apps in minutes.<br>\nAll in pure Python. No frontâend experience required.",button:{text:"Get started",url:"#install"},link:{text:"Try the live playground!",url:"/playground"},video:{video:"https://static.streamlit.io/videos/hero-video.mp4",ctaText:"Learn more with the",linkText:"Streamlit crash course on YouTube",linkURL:"https://www.youtube.com/watch?v=d7fnzDQ5qM8"}},{type:"logos",_uid:"1708119944",title:"Trusted by <b>over 90% of Fortune 50</b> companies",logoColumns:[],footnote:"As of 2024-11-15"},{type:"installCTA",title:"Get started in under a minute",introText:'Streamlit is an <a\n href="https://github.com/streamlit/streamlit" target="_blank" rel="noopener\n noreferrer">open-source</a> app framework that is a breeze to get started with.\nJust install it like any other Python library:',localInstall:" pip install streamlit\n streamlit hello",installDoneText:'And that\'s it! Next, check out our <a href="https://docs.streamlit.io/get-started"\n target="_blank" rel="noopener noreferrer">documentation</a> and <a\nhref="https://discuss.streamlit.io" target="_blank" rel="noopener noreferrer">forums</a> for more.',secondaryOptionsExplainer:"Or you can skip local installation altogether:",secondaryOptions:[{title:"Try a live playground in your browser",bodyText:"The easiest way to try Streamlit before you install.",href:"/playground"},{title:"Build in public with Streamlit Community Cloud",bodyText:"Public apps only. Totally free. You just need a GitHub account.",href:"https://share.streamlit.io/?utm_source=streamlit&utm_medium=referral&utm_campaign=main&utm_content=-ss-streamlit-io-getstarted"},{title:"Build like a pro on Snowflake",bodyText:"Unlimited private apps. Enterprise-grade reliability and security.",href:"https://signup.snowflake.com/?utm_source=streamlit&utm_medium=referral&utm_campaign=main&utm_content=-ss-streamlit-io-getstarted"}]},{type:"features",_uid:"1708381002",title:"Streamlit builds upon",decoratedTitleText:"three simple principles",features:[{selectFeature:"Code",title:"Embrace\nscripting",subtitle:'Build an app in a few lines of code with our <a href="https://docs.streamlit.io/library/api-reference">magically simple API</a>. Then see it automatically update as you iteratively save the source file.',codeBlock:{terminalCode:'import streamlit as st\nimport pandas as pd\n \nst.write("""\n# My first app\nHello *world!*\n""")\n \ndf = pd.read_csv("my_data.csv")\nst.line_chart(df)',image:"images/uploads/helloworld.png"},color:"indigo"},{selectFeature:"Widgets",title:"Weave in\ninteraction",subtitle:'Adding a widget is the same as <a\n href="https://docs.streamlit.io/library/get-started/main-concepts#widgets">declaring\n a variable</a>. No need to write a backend, define routes, handle HTTP\n requests, connect a frontend, write HTML, CSS, JavaScript, ...'},{selectFeature:"Video",title:"Deploy\ninstantly",subtitle:'The choice is yours — show off your public apps for free on <a href="https://share.streamlit.io/?utm_source=streamlit&utm_medium=referral&utm_campaign=main&utm_content=-ss-streamlit-io-deployinstantly">Streamlit Community Cloud</a>, go with <a href="https://docs.snowflake.com/developer-guide/streamlit/about-streamlit">Snowflake</a> for enterprise‑grade deployment, or pick <a href="https://docs.streamlit.io/deploy/tutorials">something else entirely!</a>',videoBlock:"https://static.streamlit.io/videos/streamlit_sharing_silent.mp4",color:"darkBlue"}],bottomPadding:"huge"},{type:"appGallery",hideSidebar:!1,_uid:"1708720333",title:"Build <div><b>powerful</b></div> apps",backgroundColor:"orange",titleAlignment:"Center",topPadding:"large",bottomPadding:"large"},{type:"quotes",_uid:"1708374414",title:"Used in\nthe worldâs top\ndata science groups",quotes:[{company:"Google X",name:"Neil Treat",quote:"Write production-level code while producing shareable artifacts."},{company:"Stitch Fix",name:"Kevin Zielnicki",quote:"...a great way to share machine learning models and analyses."}
1,{company:"Insight Data Science",name:"Emmanuel Ameisen",quote:"Streamlit bridges experimentation and production."},{company:"Vega-Lite",name:"Dominik Moritz",quote:"It's the next step in ML and data science tools."},{company:"Yelp",name:"Danny Nguyen",quote:"Streamlit apps are way easier to put together and iterate on."},{company:"Uber",name:"Koen Havlik",quote:"Streamlit democratizes building data apps."}],topPadding:"huge"},{type:"cardsGrid",title:"Compatible with",subtitle:"Basically everything!",cards:[{itemWidth:"4",title:"Bokeh",image:"images/uploads/bokeh.png",url:"https://bokeh.org"},{itemWidth:"2",title:"Altair",image:"/images/uploads/altair.png",url:"https://altair-viz.github.io"},{itemWidth:"4",image:"/images/uploads/pytorch.png",title:"PyTorch",url:"https://pytorch.org"},{itemWidth:"2",image:"/images/uploads/opencv.png",title:"OpenCV",url:"https://opencv.org"},{itemWidth:"2",image:"/images/uploads/deck-gl.png",title:"Deck.Gl",url:"https://deckgl.readthedocs.io/en/latest"},{itemWidth:"4",image:"/images/uploads/pandas.png",title:"Pandas",url:"https://pandas.pydata.org"},{itemWidth:"2",image:"/images/uploads/vega-lite.png",title:"Vega-Lite",url:"https://vega.github.io/vega-lite/"},{itemWidth:"4",image:"/images/uploads/matplotlib.png",title:"Matplotlib",url:"https://matplotlib.org"},{itemWidth:"2",image:"/images/uploads/numpy.png",title:"NumPy",url:"https://numpy.org"},{itemWidth:"2",image:"/images/uploads/scikitlearn.png",title:"Scikit Learn",url:"https://scikit-learn.org"},{itemWidth:"4",image:"/images/uploads/tensorflow.png",title:"Tensorflow",url:"https://www.tensorflow.org"},{itemWidth:"2",image:"/images/uploads/plotly.png",title:"Plotly",url:"https://plotly.com"},{itemWidth:"2",image:"/images/uploads/keras.png",title:"Keras",url:"https://keras.io"}],followUp:'And even more, with <a href="https://docs.streamlit.io/develop/concepts/custom-components">Streamlit Components</a>!<br>\nBuild your own, share with the community, bask in the glory.',color:"indigo",topPadding:"large",bottomPadding:"large"},{type:"tweets",_uid:"1708808975",title:'See why developers\n<span><img src="images/uploads/love.svg"></span> Streamlit'},{color:"darkBlue",linkText:"Learn more",ctaType:"boxed",text:"Try Streamlit in Snowflake. Code in the browser, collaborate with Git, deploy in one click. With the security and reliability of Snowflake.",_uid:"1708812378",backgroundColor:"lightGray",linkUrl:"https://signup.snowflake.com/?utm_source=streamlit&utm_medium=referral&utm_campaign=main&utm_content=-ss-streamlit-io-pagebottom",title:"Deploy on enterprise",type:"cta"}]},react:function(e){Object.keys(e).forEach(function(t){this[t]=e[t]});let t=i.createElement("div",{className:"frontmatter-markdown"});return t}}},75557:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return a(27052)}])},62133:function(e,t,a){"use strict";a.d(t,{Z:function(){return CustomHead}});var i=a(85893),r=a(9008),o=a.n(r);a(67294);var n=a(11163),l=a(55789);function CustomHead(e){let{pageTitle:t,pageDescription:a,sharingImage:r}=e,{defaultPageDescription:s,defaultPageTitle:d}=l.attributes,c=(0,n.useRouter)(),p=t?"".concat(t," ⢠Streamlit"):d,u=null!=a?a:s,m=r?"".concat("https://streamlit.io","/").concat(r):"".concat("https://streamlit.io","/sharing-image-facebook.jpg"),h=r?"".concat("https://streamlit.io","/").concat(r):"".concat("https://streamlit.io","/sharing-image-twitter.jpg");return(0,i.jsxs)(o(),{children:[(0,i.jsx)("title",{children:p}),(0,i.jsx)("meta",{content:p,property:"og:title"}),(0,i.jsx)("meta",{content:p,name:"twitter:title"}),(0,i.jsx)("meta",{content:u,name:"description"}),(0,i.jsx)("meta",{content:u,property:"og:description"}),(0,i.jsx)("meta",{content:u,name:"twitter:description"}),(0,i.jsx)("meta",{property:"og:type",content:"website"}),(0,i.jsx)("meta",{property:"og:url",content:"".concat("https://streamlit.io").concat(c.pathname)}),(0,i.jsx)("meta",{content:"summary_large_image",name:"twitter:card"}),(0,i.jsx)("meta",{property:"og:image",content:m}),(0,i.jsx)("meta",{name:"twitter:image",content:h})]})}},76834:function(e,t,a){"use strict";var i=a(85893),r=a(67294),o=a(5152),n=a.n(o);let l={appGallery:n()(()=>Promise.all([a.e(80783),a.e(85282)]).then(a.bind(a,49405)),{loadableGenerated:{webpack:()=>[49405]}}),blog:n()(()=>Promise.all([a.e(28051),a.e(21876),a.e(67414),a.e(95061)]).then(a.bind(a,95061)),{loadableGenerated:{webpack:()=>[95061]}}
1),cardsGrid:n()(()=>a.e(37090).then(a.bind(a,37090)),{loadableGenerated:{webpack:()=>[37090]}}),creators:n()(()=>a.e(99273).then(a.bind(a,99273)),{loadableGenerated:{webpack:()=>[99273]}}),cta:n()(()=>a.e(17251).then(a.bind(a,17251)),{loadableGenerated:{webpack:()=>[17251]}}),deployCTA:n()(()=>Promise.all([a.e(28051),a.e(15710)]).then(a.bind(a,15710)),{loadableGenerated:{webpack:()=>[15710]}}),eventCarousel:n()(()=>a.e(14892).then(a.bind(a,14892)),{loadableGenerated:{webpack:()=>[14892]}}),eventDashboard:n()(()=>a.e(62789).then(a.bind(a,62789)),{loadableGenerated:{webpack:()=>[62789]}}),faqAccordian:n()(()=>Promise.all([a.e(28051),a.e(14524)]).then(a.bind(a,14524)),{loadableGenerated:{webpack:()=>[14524]}}),featuredApps:n()(()=>Promise.all([a.e(28051),a.e(9049)]).then(a.bind(a,9049)),{loadableGenerated:{webpack:()=>[9049]}}),featuredCard:n()(()=>a.e(32727).then(a.bind(a,32727)),{loadableGenerated:{webpack:()=>[32727]}}),featuredCreators:n()(()=>a.e(64207).then(a.bind(a,64207)),{loadableGenerated:{webpack:()=>[64207]}}),features:n()(()=>Promise.all([a.e(50910),a.e(21876),a.e(83824),a.e(57),a.e(43827)]).then(a.bind(a,43827)),{loadableGenerated:{webpack:()=>[43827]}}),hero:n()(()=>Promise.all([a.e(83824),a.e(48822)]).then(a.bind(a,30267)),{loadableGenerated:{webpack:()=>[30267]}}),heroAvatarBubbles:n()(()=>a.e(81722).then(a.bind(a,81722)),{loadableGenerated:{webpack:()=>[81722]}}),installCTA:n()(()=>a.e(18957).then(a.bind(a,18957)),{loadableGenerated:{webpack:()=>[18957]}}),iconGrid:n()(()=>Promise.all([a.e(28051),a.e(66572)]).then(a.bind(a,66572)),{loadableGenerated:{webpack:()=>[66572]}}),imageAndTextCards:n()(()=>a.e(95743).then(a.bind(a,95743)),{loadableGenerated:{webpack:()=>[95743]}}),logos:n()(()=>a.e(78229).then(a.bind(a,78229)),{loadableGenerated:{webpack:()=>[78229]}}),resources:n()(()=>Promise.all([a.e(28051),a.e(74381)]).then(a.bind(a,74381)),{loadableGenerated:{webpack:()=>[74381]}}),richText:n()(()=>Promise.all([a.e(28051),a.e(93062)]).then(a.bind(a,93062)),{loadableGenerated:{webpack:()=>[93062]}}),socialMediaGrid:n()(()=>a.e(65397).then(a.bind(a,65397)),{loadableGenerated:{webpack:()=>[65397]}}),stepsTimeline:n()(()=>a.e(23385).then(a.bind(a,23385)),{loadableGenerated:{webpack:()=>[23385]}}),tabs:n()(()=>a.e(83333).then(a.bind(a,83333)),{loadableGenerated:{webpack:()=>[83333]}}),testimonials:n()(()=>a.e(33823).then(a.bind(a,33823)),{loadableGenerated:{webpack:()=>[33823]}}),textAndImage:n()(()=>a.e(81136).then(a.bind(a,81136)),{loadableGenerated:{webpack:()=>[81136]}}),textCards:n()(()=>a.e(22794).then(a.bind(a,22794)),{loadableGenerated:{webpack:()=>[22794]}}),textAndImageCards:n()(()=>
1a.e(99150).then(a.bind(a,99150)),{loadableGenerated:{webpack:()=>[99150]}}),tweets:n()(()=>Promise.all([a.e(50910),a.e(31945),a.e(11454)]).then(a.bind(a,11454)),{loadableGenerated:{webpack:()=>[11454]}}),quotes:n()(()=>a.e(39746).then(a.bind(a,39746)),{loadableGenerated:{webpack:()=>[39746]}}),videoCTA:n()(()=>a.e(97589).then(a.bind(a,97589)),{loadableGenerated:{webpack:()=>[97589]}})};t.Z=e=>{let{block:t,allAppsData:a,allCreatorsData:o,allCategoriesData:n,allEventsData:s}=e,d=null,c=null,p=null,u=null;return(["appGallery","creators","featuredCreators","eventDashboard","eventCarousel"].includes(t.type)&&(d=a,c=o,p=n,u=s),void 0!==l[t.type])?r.createElement(l[t.type],{key:t.type+"-"+t._uid,block:t,allAppsData:d,allCreatorsData:c,allCategoriesData:p,allEventsData:u}):r.createElement(()=>(0,i.jsxs)("div",{children:["The component ",t.type," has not been created yet."]}),{key:t._uid})}},10291:function(e,t,a){"use strict";a.d(t,{D:function(){return createColorPalette},V:function(){return c}});var i=a(67294);let r={text:{color:"text-red-70"},link:{color:"text-red-80 hover:text-red-60"},button:{hollow:"border-2 rounded-md border-red-50 bg-white hover:bg-red-70 hover:text-white"},background:{color:"bg-red-30"}},o={button:{base:"bg-yellow-90 text-white hover:bg-opacity-90"}},n={text:{color:"text-green-70"},button:{base:"bg-green-50 text-gray-90 hover:bg-opacity-90"}},l={text:{color:"text-indigo-60"},link:{color:"text-indigo-60 hover:text-indigo-50",childLink:"child-link:text-indigo-60 child-link-hover:text-indigo-50"},buttonText:"text-white"},s={link:{color:"text-darkBlue-70 hover:text-darkBlue-60",childLink:"child-link:text-darkBlue-70 child-link-hover:text-darkBlue-60"}},d={text:{color:"text-orange-70"}},createColorPalette=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a={text:{color:"text-".concat(e,"-50"),headline:"text-gray-90",body:"text-gray-70"},link:{base:"text-gray-80 hover:text-gray-100 active:text-gray-80",color:"text-".concat(e,"-80 hover:text-").concat(e,"-60"),childLink:"child-link:text-".concat(e,"-80 child-link-hover:text-").concat(e,"-60")},background:{lightGray:"bg-gray-10",gray:"bg-gray-20",darkGray:"bg-gray-90",black:"bg-gray-100",color:"bg-".concat(e,"-10")},button:{base:"bg-".concat(e,"-70 text-white hover:bg-opacity-90"),hollow:"border-".concat(e,"-50 bg-white text-gray-70 hover:bg-").concat(e,"-70 border-2 rounded-md")},baseColor:e};if(!t)switch(e){case"red":t=r;break;case"orange":t=d;break;case"yellow":t=o;break;case"green":t=n;break;case"indigo":t=l;break;case"darkBlue":t=s}return function deepMergeObject(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=JSON.parse(JSON.stringify(e)),i=JSON.parse(JSON.stringify(t));
1return Object.keys(i).forEach(e=>{"object"!=typeof i[e]||Array.isArray(i[e])?a[e]=i[e]:a[e]=deepMergeObject(a[e],i[e])}),a}(a,t)},c=(0,i.createContext)(createColorPalette("red"))},27052:function(e,t,a){"use strict";a.r(t),a.d(t,{__N_SSG:function(){return p}});var i=a(85893),r=a(94777),o=a(10291),n=a(35701),l=a(62133),s=a(76834),d=a(83229),c=a.n(d),p=!0;t.default=e=>{let{allAppsData:t,allCreatorsData:a,allCategoriesData:d,allEventsData:p}=e,{seo:u,blocks:m,color:h}=c().attributes,b=(0,o.D)(h);return(0,i.jsx)(o.V.Provider,{value:b,children:(0,i.jsxs)(n.Z,{children:[(0,r.f0)(u)&&(0,i.jsx)(l.Z,{pageTitle:u.pageTitle,pageDescription:u.pageDescription,sharingImage:u.sharingImage}),(null==m?void 0:m.length)&&m.map(e=>(0,i.jsx)(s.Z,{block:e,allAppsData:t,allCreatorsData:a,allCategoriesData:d,allEventsData:p},"root-"+e.type+"-"+e._uid))]})})}}},function(e){e.O(0,[63616,35701,49774,92888,40179],function(){return e(e.s=75557)}),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.