liveBook · Manning

Uri

As explained in Build Python Web Apps with Streamlit

A URL is a standardized web address that identifies where a network resource or service can be accessed.

A URL is a standardized web address that identifies where a network resource or service can be accessed. A browser uses it to connect to a running server, while an API uses it to identify a service or endpoint. section 2.5.4 section 5.3.1

URLs support several practical tasks:

  • Open a locally running application, such as http://localhost:8501, through a browser. section 2.5.4
  • Give other users a different address when an application is deployed instead of accessed through localhost. section 5.1.1
  • Carry parameters that customize an API request, such as a forecast date. section 5.3.1
  • Preserve application state through deeplinks, allowing another user to open the same filtered view. section 7.6

Sharing a dashboard view

A dashboard can place user inputs into its URL and restore those inputs when someone opens the link. A copied URL can therefore reproduce a selected date range, demographic filter, or display granularity without screenshots or manual instructions. section 7.6

https://duckduckgo.com/?t=h_&q=streamlit&ia=web

This example shows how a query value in a URL directs a user to specific search results. section 7.6

How Build Python Web Apps with Streamlit covers it

How deep it goes
Explains local access, deployment, query parameters, and deeplinks, while deferring broader URL and port mechanics.
Examples
Uses localhost app addresses, deployed app addresses, API endpoints, weather parameters, and dashboard deeplinks.
What it assumes
Assumes familiarity with a browser and introduces localhost, ports, API endpoints, and URL parameters through practical examples.
What you can do after
Apply it via browsers and HTTP requests to open apps, call endpoints, deploy services, and share application state.
How it connects
Links URLs to web browsers, web servers, HTTP, APIs, query parameters, deployment, and deeplinking.

Also explained in

Compare how 9 books explain uri →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Build Python Web Apps with Streamlit. The section links point to the parts of the book it draws on.