This is a simple demo in Shiny for Python to access data on Wikidata for politicians and their closes relatives as an attempt to get data on politically exposed persons.
This is also a python package managed with uv
and automated to be deployed to Posit Connect. To run it clone the repository and install the package with:
uv sync
Then, run the app with:
uv run uvicorn pyshinywikidata.app:app
Deployment to Posit Connect (for more see: Git-Backed Content) is automated by the github actions workflow deploy.yml
.
Since we use uv
to manage the project, the requirements.txt
and manifest.json
files needed by Posit,
are created automatically and only added to the deploy branch.