A simple Streamlit app for demonstrating the pxtextmining API.
To run the app locally on your computer:
- Fork or clone the repository to your machine.
- Create a virtual environment (e.g.
uv venv
). - Install the dependencies listed in
requirements.txt
(e.g.uv pip install -r requirements.txt
). - Create a
.streamlit/secrets.toml
file and add the variableAPI_URL=<API URL endpoint>
. - Run
streamlit run app/main.py
to open a preview of the app in the browser.
This repository was originally hosted and written by Nottinghamshire Healthcare NHS Foundation Trust in 2023 and passed to The Strategy Unit in 2025.
Unless stated otherwise, the codebase is released under the MIT Licence and covers both the codebase and any sample code in the documentation.