You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tutorial/markdown/python/streamlit/flight_search_streamlit_couchbase.md
+25-29Lines changed: 25 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ length: 30 Mins
22
22
# Building an Interactive Flight Search App with Streamlit and Couchbase
23
23
24
24
## Introduction
25
-
This tutorial will guide you through building a fully functional Streamlit application on top of Couchbase. The app will leverage Couchbase's [`travel-sample`](https://docs.couchbase.com/ruby-sdk/current/ref/travel-app-data-model.html) dataset to enable users to search for flights between cities and visualize routes dynamically on an interactive map. By following this tutorial, you will learn how to:
25
+
This tutorial will guide you through building a fully functional Streamlit application on top of Couchbase. The app will leverage Couchbase's [`travel-sample`](https://docs.couchbase.com/python-sdk/current/ref/travel-app-data-model.html) dataset to enable users to search for flights between cities and visualize routes dynamically on an interactive map. By following this tutorial, you will learn how to:
26
26
27
27
- Connect a Streamlit app to a Couchbase database
28
28
- Query and filter flight data efficiently
@@ -33,6 +33,26 @@ By the end of this tutorial, you will have a working flight visualization tool a
33
33
34
34
The final app will look like this hosted Streamlit application: [Couchbase Connector Demo App](https://couchbase-connector-demo-app.streamlit.app/). The original code for this demo is available [here](https://github.com/couchbase-examples/streamlit-quickstart/blob/main/Demo.py).
@@ -78,7 +98,7 @@ Couchbase organizes data into a hierarchical structure:
78
98
By understanding these key concepts, you'll be well-prepared to build and optimize applications using Couchbase and Streamlit.
79
99
80
100
## Dataset Overview
81
-
The [`travel-sample`](https://docs.couchbase.com/ruby-sdk/current/ref/travel-app-data-model.html) dataset in Couchbase consists of multiple scopes and collections related to travel and transportation data. The primary scope used in this application is `inventory`, which contains five collections:
101
+
The [`travel-sample`](https://docs.couchbase.com/python-sdk/current/ref/travel-app-data-model.html) dataset in Couchbase consists of multiple scopes and collections related to travel and transportation data. The primary scope used in this application is `inventory`, which contains five collections:
82
102
83
103
-**airline (190 documents)**: Contains information about airlines, including their name, country, ICAO, IATA codes, and callsigns.
0 commit comments