{"id":22622545,"url":"https://github.com/betaboon/copier-python","last_synced_at":"2025-03-29T02:42:29.758Z","repository":{"id":219265555,"uuid":"748186602","full_name":"betaboon/copier-python","owner":"betaboon","description":"A Copier template for Python projects managed by PDM.","archived":false,"fork":false,"pushed_at":"2024-05-07T13:06:49.000Z","size":57,"stargazers_count":2,"open_issues_count":9,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-03T12:50:38.835Z","etag":null,"topics":["copier","copier-template","pdm","pre-commit","pypi","python","ruff","sphinx"],"latest_commit_sha":null,"homepage":"","language":"Jinja","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/betaboon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-01-25T13:08:06.000Z","updated_at":"2024-05-07T13:06:54.000Z","dependencies_parsed_at":"2024-01-30T08:41:53.888Z","dependency_job_id":"0dbf8446-ffdc-4c6c-bd4c-3b96fda4070b","html_url":"https://github.com/betaboon/copier-python","commit_stats":null,"previous_names":["betaboon/copier-python"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/betaboon%2Fcopier-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/betaboon%2Fcopier-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/betaboon%2Fcopier-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/betaboon%2Fcopier-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/betaboon","download_url":"https://codeload.github.com/betaboon/copier-python/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246131241,"owners_count":20728299,"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":["copier","copier-template","pdm","pre-commit","pypi","python","ruff","sphinx"],"created_at":"2024-12-08T23:16:35.169Z","updated_at":"2025-03-29T02:42:29.739Z","avatar_url":"https://github.com/betaboon.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Copier Python Template\n\nA [Copier](https://github.com/copier-org/copier) template for Python projects managed by [PDM](https://github.com/pdm-project/pdm).\n\n## Features\n\n| | |\n|-|-|\n| Package management | [![pdm](https://img.shields.io/badge/pdm-7e56c2?style=for-the-badge\u0026logo=pdm\u0026logoColor=white)](https://pdm-project.org) |\n| Linting and Formatting | [![ruff](https://img.shields.io/badge/ruff-d7ff64?style=for-the-badge\u0026logo=ruff\u0026logoColor=black)](https://astral.sh/ruff) [![gitlint](https://img.shields.io/badge/gitlint-blue?style=for-the-badge\u0026logo=conventionalcommits\u0026logoColor=white)](https://jorisroovers.com/gitlint/latest/)|\n| Testing | [![pytest](https://img.shields.io/badge/pytest-009fe3?style=for-the-badge\u0026logo=pytest\u0026logoColor=white)](https://pytest.org) |\n| Git hooks | [![precommit](https://img.shields.io/badge/pre_commit-fab040?style=for-the-badge\u0026logo=precommit\u0026logoColor=black)](https://pre-commit.com/) |\n| Documenting | [![sphinx](https://img.shields.io/badge/sphinx-blue?style=for-the-badge\u0026logo=sphinx\u0026logoColor=white)](https://www.sphinx-doc.org) |\n| Documentation hosting | [![githubpages](https://img.shields.io/badge/pages-black?style=for-the-badge\u0026logo=github\u0026logoColor=white)](https://pages.github.com) |\n| CI/CD | [![githubactions](https://img.shields.io/badge/actions-black?style=for-the-badge\u0026logo=github\u0026logoColor=white)](https://github.com/features/actions) |\n| Releasing | [![pypi](https://img.shields.io/badge/pypi-0073b7?style=for-the-badge\u0026logo=pypi\u0026logoColor=white)](https://pypi.org) [![semanticrelease](https://img.shields.io/badge/semantic_release-blue?style=for-the-badge\u0026logo=semanticrelease\u0026logoColor=white)](https://github.com/python-semantic-release/python-semantic-release)|\n| Container image | [![docker](https://img.shields.io/badge/docker-1d63ed?style=for-the-badge\u0026logo=docker\u0026logoColor=white)](https://docker.com)|\n\n\n## Installation\n\nTo install Copier use [`pipx`](https://pipx.pypa.io):\n```\npip install --user pipx\npipx install copier\n```\n\nAs this template uses custom extensions you have to install [`copier-templates-extensions`](https://github.com/copier-org/copier-templates-extensions):\n```\npipx inject copier copier-templates-extensions\n```\n\n## Usage\n\nTo create a project from this template:\n```\ncopier copy --trust \"gh:betaboon/copier-python\" /path/to/project\n```\n\n## PDM scripts\n\nThis template provides some [pdm scripts](https://pdm-project.org/latest/usage/scripts/)\n\nGet a full list with `pdm run --list`:\n\n| Name              | Description              |\n|-------------------|--------------------------|\n| test              | Run tests                |\n| lint              | Run pre-commit           |\n| docs-build        | Build docs               |\n| docs-serve        | Build and serve docs     |\n| install-git-hooks | Install pre-commit hooks |\n\n## GitHub configuration\n\nIt is suggested to [create a branch-protection rule for `main`](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/about-protected-branches).\n\nFor GitHub pages publishing, you need to [enable publishing with custom action](https://docs.github.com/en/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site#publishing-with-a-custom-github-actions-workflow).\n\n## PyPI configuration\n\nFor PyPI publishing, you need to [create a pypi project with a trusted publisher](https://docs.pypi.org/trusted-publishers/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbetaboon%2Fcopier-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbetaboon%2Fcopier-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbetaboon%2Fcopier-python/lists"}