{"id":18352038,"url":"https://github.com/posit-dev/py-shiny-templates","last_synced_at":"2025-07-04T19:05:42.261Z","repository":{"id":211151388,"uuid":"728341850","full_name":"posit-dev/py-shiny-templates","owner":"posit-dev","description":"Templates for Shiny for Python","archived":false,"fork":false,"pushed_at":"2025-06-06T05:10:24.000Z","size":2224,"stargazers_count":40,"open_issues_count":12,"forks_count":24,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-06-06T06:19:57.926Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://shiny.posit.co/py/templates ","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/posit-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-12-06T18:26:49.000Z","updated_at":"2025-06-05T23:34:12.000Z","dependencies_parsed_at":"2024-03-14T18:41:30.972Z","dependency_job_id":"a4d7f1da-7297-47aa-831c-5ccfe15cf564","html_url":"https://github.com/posit-dev/py-shiny-templates","commit_stats":null,"previous_names":["posit-dev/py-shiny-templates"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/posit-dev/py-shiny-templates","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posit-dev%2Fpy-shiny-templates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posit-dev%2Fpy-shiny-templates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posit-dev%2Fpy-shiny-templates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posit-dev%2Fpy-shiny-templates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/posit-dev","download_url":"https://codeload.github.com/posit-dev/py-shiny-templates/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posit-dev%2Fpy-shiny-templates/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263603876,"owners_count":23487212,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T21:34:30.984Z","updated_at":"2025-07-04T19:05:42.240Z","avatar_url":"https://github.com/posit-dev.png","language":"Python","readme":"# Shiny for Python Templates\n\nThis repository hosts source files behind [Shiny for Python templates](https://shiny.posit.co/py/templates).\n\n## Installation\n\nTo install dependencies for _every_ template, run:\n\n```bash\nmake install\n```\n\nTo install dependencies for a specific template, use the `requirements.txt` file in the template's directory. For example:\n\n```bash\npip install -r basic-app-plot/requirements.txt\n```\n\n## Running a template\n\nFrom the terminal, you can then run a template like so:\n\n```bash\nshiny run basic-app-plot/app-core.py\n```\n\nAlternatively, open the app file of interest in VSCode and [run it from there](https://shiny.posit.co/py/docs/install-create-run.html#run).\n\n# Deployment\n\nApps are automatically deployed to shinyapps.io.\nThis should just work for applications that have been previously deployed, but you need to follow a few steps to\ndeploy a new application.\nEach deployment retries three times to avoid spurious failures, and caches the result so as not to redeploy applications which have not changed since the last successful deployment.\n\n# Contributing\n\n1. Create a new folder for the application, the folder should contain at least an `app-core.py` file and a `requirements.txt` file. Optionally add an `app-express.py` file if you want to give people the option to use Shiny Express.\n  * Make sure also to add this `requirements.txt` file to the root `./requirements.txt` file.\n\n2. Deploy the app to shinyapps.io in the `gallery` account, if you don't have access to this account mention it in the PR and a member of the Shiny team will do this and the following step for you.\n\n3. Add your application to `deployments.json`, you will need to login to shinyapps.io to get the guid.\n  - Note that this `guid` is the same as the `app_id` left in the `rsconnect-python/` manifest created by `rsconnect deploy shiny`.\n\n4. Raise a PR with your changes\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fposit-dev%2Fpy-shiny-templates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fposit-dev%2Fpy-shiny-templates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fposit-dev%2Fpy-shiny-templates/lists"}