https://github.com/predicthq/streamlit-parking-demo
Streamlit Parking Demo App
https://github.com/predicthq/streamlit-parking-demo
predicthq python streamlit
Last synced: about 1 year ago
JSON representation
Streamlit Parking Demo App
- Host: GitHub
- URL: https://github.com/predicthq/streamlit-parking-demo
- Owner: predicthq
- Created: 2023-03-27T22:38:00.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-22T07:25:42.000Z (about 3 years ago)
- Last Synced: 2024-04-16T00:28:58.893Z (about 2 years ago)
- Topics: predicthq, python, streamlit
- Language: Python
- Homepage: https://predicthq-parking-example.streamlit.app/
- Size: 66.4 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PredictHQ Parking Demo App
This is a [Streamlit](https://streamlit.io) app designed to show how easy it is to get up and running quickly with the PredictHQ APIs. Please feel free to take a copy of this code and modify it for your own use, or take the bits you need to make your integration with PredictHQ easier and faster.
Learn more about integrating with the PredictHQ APIs at [https://docs.predicthq.com](https://docs.predicthq.com).
## Running the app
To run the app locally:
```
$ cd streamlit-parking-demo
$ python3 -m venv .venv
$
$ source .venv/bin/activate
$ pip install --upgrade pip
$ pip install -r requirements.txt
$
$ streamlit run map.py
```
You'll need to get an API token by following the instructions at [https://docs.predicthq.com/api/authenticating](https://docs.predicthq.com/api/authenticating) and create a [Streamlit secrets](https://docs.streamlit.io/streamlit-community-cloud/get-started/deploy-an-app/connect-to-data-sources/secrets-management) file `.streamlit/secrets.toml` with the following contents:
```
api_key = ""
```