{"id":16729053,"url":"https://github.com/kyleking/calcipy_template","last_synced_at":"2026-04-02T12:57:20.966Z","repository":{"id":53880231,"uuid":"361501020","full_name":"KyleKing/calcipy_template","owner":"KyleKing","description":"Project scaffold for Python packages built on calcipy. Utilizes copier to keep projects up to date","archived":false,"fork":false,"pushed_at":"2026-01-19T16:07:48.000Z","size":729,"stargazers_count":1,"open_issues_count":5,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-19T22:39:42.950Z","etag":null,"topics":["calcipy","copier-template","doit","mkdocs-material","python-poetry"],"latest_commit_sha":null,"homepage":"","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/KyleKing.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2021-04-25T18:00:21.000Z","updated_at":"2026-01-19T16:08:00.000Z","dependencies_parsed_at":"2023-02-15T04:46:25.431Z","dependency_job_id":"469cf8ca-6ac1-4d43-9265-b8241137c32e","html_url":"https://github.com/KyleKing/calcipy_template","commit_stats":null,"previous_names":[],"tags_count":200,"template":false,"template_full_name":null,"purl":"pkg:github/KyleKing/calcipy_template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KyleKing%2Fcalcipy_template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KyleKing%2Fcalcipy_template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KyleKing%2Fcalcipy_template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KyleKing%2Fcalcipy_template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KyleKing","download_url":"https://codeload.github.com/KyleKing/calcipy_template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KyleKing%2Fcalcipy_template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28659399,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"online","status_checked_at":"2026-01-22T02:00:07.137Z","response_time":144,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["calcipy","copier-template","doit","mkdocs-material","python-poetry"],"created_at":"2024-10-12T23:13:06.404Z","updated_at":"2026-04-02T12:57:20.954Z","avatar_url":"https://github.com/KyleKing.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Copier Calcipy\n\nProject scaffold for Python packages built on `calcipy` ([kyleking/calcipy](https://github.com/KyleKing/calcipy)). Built with `copier` so projects can be kept up-to-date\n\n## Quick Start\n\n```sh\n# Install uv if you haven't already\nbrew install uv\n# Install copier globally with pipx or use your preferred method\npipx install copier\n\n# For end users, get the template with the below snippet. Replace dest_folder_name (can use \".\")\ncopier copy --UNSAFE gh:KyleKing/calcipy_template dest_folder_name\n\n# Updates can be retrieved with:\ncopier update . --UNSAFE\n# I personally have aliases for:\nalias copier-update='copier update --UNSAFE --conflict=rej'\nalias copier-auto-update='copier-update --defaults'\n```\n\n## Alternatives\n\nThis project scaffold is primarily for my personal use, so you may find that there are other templates that better support your use case. I would recommend any of these:\n\n- [pawamoy/copier-poetry](https://github.com/pawamoy/copier-poetry) or [pawamoy/copier-pdm](https://github.com/pawamoy/copier-pdm) (both have heavily inspired this version!)\n- [cjolowicz/cookiecutter-hypermodern-python](https://github.com/cjolowicz/cookiecutter-hypermodern-python)\n\n## Local Development\n\n```sh\n# Local changes need to be committed to take effect (at a later point squash all \"tmp\" commits)\ngit add . \u0026\u0026 git commit -m \"tmp\" \u0026\u0026 copier . ../test_template  --UNSAFE --conflict=rej --vcs-ref=HEAD\n\n# For testing update from within the target directory\n#   Note: make sure to commit changes in test directory before running copier\n#   If not, after answering all of the questions, you may see this error and need to restart:\n#     \"Destination repository is dirty; cannot continue. Please commit or stash your local changes and retry.\"\ncd test_template\ncopier copy --UNSAFE ../calcipy_template .\ncopier update . --UNSAFE --conflict=rej --defaults\n```\n\n## Releases\n\nAny push to the repository `main` branch will trigger a version bump based on [`commitizen` rules (`fix`, `feat`, etc.)](https://commitizen-tools.github.io/commitizen/)\n\n## Support\n\nBelow are a couple of useful snippets related to maintaining a package that utilizes this template\n\n### Bulk Removing a Specific GitHub Action's History\n\nAfter renaming or removing a workflow, run this script to tidy up the list of Actions and avoid folding under \"See More.\" This script will delete all runs for a specific workflow and could be extended as needed.\n\n```sh\n#!/bin/zsh -e\n\n# GitHub API docs: https://docs.github.com/en/rest/actions/workflow-runs?apiVersion=2022-11-28\n#   GH CLI Docs: https://cli.github.com/manual/gh_api\n# Inspiration: https://qmacro.org/blog/posts/2021/03/26/mass-deletion-of-github-actions-workflow-runs/\n\nOWNER=kyleking\nREPO=tail-jsonl\nWORKFLOW_ID=upgrade-dependencies.yml\n\nrun_ids=$( \\\n        gh api \\\n        --header \"Accept: application/vnd.github+json\" \\\n        --header \"X-GitHub-Api-Version: 2022-11-28\" \\\n        \"/repos/$OWNER/$REPO/actions/workflows/$WORKFLOW_ID/runs\" \\\n        --method=GET \\\n        --raw-field='per_page=100' \\\n        --jq '.workflow_runs[].id' \\\n    )\necho $run_ids | xargs -I_ echo _\necho $run_ids | xargs -I_ gh api -X DELETE \"/repos/$OWNER/$REPO/actions/runs/_\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyleking%2Fcalcipy_template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkyleking%2Fcalcipy_template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyleking%2Fcalcipy_template/lists"}