{"id":16407600,"url":"https://github.com/ks6088ts/template-python","last_synced_at":"2026-02-22T09:04:00.569Z","repository":{"id":228015885,"uuid":"771796670","full_name":"ks6088ts/template-python","owner":"ks6088ts","description":"A GitHub template repository for Python","archived":false,"fork":false,"pushed_at":"2026-02-18T05:59:00.000Z","size":1110,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-18T10:33:06.296Z","etag":null,"topics":["black","pytest","ruff","trivy","uv"],"latest_commit_sha":null,"homepage":"https://ks6088ts.github.io/template-python/","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/ks6088ts.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-03-14T00:55:59.000Z","updated_at":"2026-02-18T05:56:43.000Z","dependencies_parsed_at":"2024-03-16T11:19:22.223Z","dependency_job_id":"294146ca-cc92-463d-a96f-2a63e5ed89e5","html_url":"https://github.com/ks6088ts/template-python","commit_stats":{"total_commits":84,"total_committers":3,"mean_commits":28.0,"dds":"0.47619047619047616","last_synced_commit":"5bd25df34954931770297da6ca89094b4c6a43ae"},"previous_names":["ks6088ts/template-python"],"tags_count":10,"template":true,"template_full_name":null,"purl":"pkg:github/ks6088ts/template-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ks6088ts%2Ftemplate-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ks6088ts%2Ftemplate-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ks6088ts%2Ftemplate-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ks6088ts%2Ftemplate-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ks6088ts","download_url":"https://codeload.github.com/ks6088ts/template-python/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ks6088ts%2Ftemplate-python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29707521,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-22T05:59:28.568Z","status":"ssl_error","status_checked_at":"2026-02-22T05:58:46.208Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["black","pytest","ruff","trivy","uv"],"created_at":"2024-10-11T06:14:21.527Z","updated_at":"2026-02-22T09:04:00.553Z","avatar_url":"https://github.com/ks6088ts.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![test](https://github.com/ks6088ts/template-python/actions/workflows/test.yaml/badge.svg?branch=main)](https://github.com/ks6088ts/template-python/actions/workflows/test.yaml?query=branch%3Amain)\n[![docker](https://github.com/ks6088ts/template-python/actions/workflows/docker.yaml/badge.svg?branch=main)](https://github.com/ks6088ts/template-python/actions/workflows/docker.yaml?query=branch%3Amain)\n[![docker-release](https://github.com/ks6088ts/template-python/actions/workflows/docker-release.yaml/badge.svg)](https://github.com/ks6088ts/template-python/actions/workflows/docker-release.yaml)\n[![ghcr-release](https://github.com/ks6088ts/template-python/actions/workflows/ghcr-release.yaml/badge.svg)](https://github.com/ks6088ts/template-python/actions/workflows/ghcr-release.yaml)\n[![docs](https://github.com/ks6088ts/template-python/actions/workflows/github-pages.yaml/badge.svg)](https://github.com/ks6088ts/template-python/actions/workflows/github-pages.yaml)\n\n# template-python\n\nThis is a template repository for Python\n\n## Prerequisites\n\n- [Python 3.10+](https://www.python.org/downloads/)\n- [uv](https://docs.astral.sh/uv/getting-started/installation/)\n- [GNU Make](https://www.gnu.org/software/make/)\n\n## Development instructions\n\n### Local development\n\nUse Makefile to run the project locally.\n\n```shell\n# help\nmake\n\n# install dependencies for development\nmake install-deps-dev\n\n# run tests\nmake test\n\n# run CI tests\nmake ci-test\n```\n\n### Docker development\n\n```shell\n# build docker image\nmake docker-build\n\n# run docker container\nmake docker-run\n\n# run CI tests in docker container\nmake ci-test-docker\n```\n\n## Deployment instructions\n\n### Docker Hub\n\nTo publish the docker image to Docker Hub, you need to [create access token](https://app.docker.com/settings/personal-access-tokens/create) and set the following secrets in the repository settings.\n\n```shell\ngh secret set DOCKERHUB_USERNAME --body $DOCKERHUB_USERNAME\ngh secret set DOCKERHUB_TOKEN --body $DOCKERHUB_TOKEN\n```\n\n### Azure Static Web Apps\n\n```shell\nRESOURCE_GROUP_NAME=your-resource-group-name\nSWA_NAME=your-static-web-app-name\n\n# Create a static app\naz staticwebapp create --name $SWA_NAME --resource-group $RESOURCE_GROUP_NAME\n\n# Retrieve the API key\nAZURE_STATIC_WEB_APPS_API_TOKEN=$(az staticwebapp secrets list --name $SWA_NAME --query \"properties.apiKey\" -o tsv)\n\n# Set the API key as a GitHub secret\ngh secret set AZURE_STATIC_WEB_APPS_API_TOKEN --body $AZURE_STATIC_WEB_APPS_API_TOKEN\n```\n\nRefer to the following links for more information:\n\n- [Deploying to Azure Static Web App](https://docs.github.com/en/actions/use-cases-and-examples/deploying/deploying-to-azure-static-web-app)\n- [Create a static web app: `az staticwebapp create`](https://learn.microsoft.com/en-us/cli/azure/staticwebapp?view=azure-cli-latest#az-staticwebapp-create)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fks6088ts%2Ftemplate-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fks6088ts%2Ftemplate-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fks6088ts%2Ftemplate-python/lists"}