{"id":18439171,"url":"https://github.com/wsh032/pyproject-template","last_synced_at":"2025-04-14T14:26:06.124Z","repository":{"id":214802279,"uuid":"737384765","full_name":"WSH032/pyproject-template","owner":"WSH032","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-17T19:23:21.000Z","size":55,"stargazers_count":0,"open_issues_count":8,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-17T20:30:48.773Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://wsh032.github.io/pyproject-template/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WSH032.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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}},"created_at":"2023-12-30T20:51:36.000Z","updated_at":"2023-12-31T17:23:46.000Z","dependencies_parsed_at":"2023-12-30T22:26:08.888Z","dependency_job_id":"5b7040cd-f152-4eb4-ac36-cfb4f1fe9858","html_url":"https://github.com/WSH032/pyproject-template","commit_stats":null,"previous_names":["wsh032/pyproject-template"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WSH032%2Fpyproject-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WSH032%2Fpyproject-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WSH032%2Fpyproject-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WSH032%2Fpyproject-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WSH032","download_url":"https://codeload.github.com/WSH032/pyproject-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248895858,"owners_count":21179316,"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-06T06:23:38.337Z","updated_at":"2025-04-14T14:26:06.090Z","avatar_url":"https://github.com/WSH032.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- The content will be also use in `docs/index.md` by `pymdownx.snippets` --\u003e\n\u003c!-- Do not use any **relative link** and  **GitHub-specific syntax** ！--\u003e\n\u003c!-- Do not rename or move the file --\u003e\n\n# pyproject-template\n\n\u003cp align=\"center\"\u003e\n    \u003cem\u003eStubborn python project scaffold\u003c/em\u003e  \u003c!-- EDIT --\u003e\n    \u003cbr\u003e\n    \u003cem\u003e固执己见的python项目手脚架\u003c/em\u003e  \u003c!-- EDIT --\u003e\n\u003c/p\u003e\n\n## 用法\n\n1. 按照 `CONTRIBUTING.md` 初始化项目\n2. 修改所有带有 `EDIT` 注释的地方\n3. 将 `github仓库设置`，`环境变量机密`，`保护规则` 设置得和本仓库（`pyproject-template`）完全一致\n4. 申请[codecov](https://app.codecov.io/gh/)和[pre-commit.ci](https://results.pre-commit.ci/)的BOT APP\n5. 按照[pypa](https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/)的指南去 `pypi` 申请 `Trusted Publisher`\n6. 同步个人的`VSCode`设置和扩展\n7. 删掉本用法部分\n8. Python，启动！✨\n\n纯python打包参考 \u003chttps://github.com/WSH032/fastapi-proxy-lib\u003e\n带有不同平台的二进制依赖打包参考 \u003chttps://github.com/WSH032/aria2-wheel\u003e\n\n---\n\n| | |\n| - | - |\n| CI/CD   | [![CI: lint-test]][CI: lint-test#link] [![pre-commit.ci status]][pre-commit.ci status#link] \u003cbr\u003e [![CI: docs]][CI: docs#link] [![CI: publish]][CI: publish#link]  |\n| Code    | [![codecov]][codecov#link] [![Code style: black]][Code style: black#link] [![Ruff]][Ruff#link] [![Checked with pyright]][Checked with pyright#link] |\n| Package | [![PyPI - Version]][PyPI#link] [![PyPI - Downloads]][PyPI#link] [![PyPI - Python Version]][PyPI#link] |\n| Meta    | [![Hatch project]][Hatch project#link] [![GitHub License]][GitHub License#link] |\n\n---\n\nDocumentation: \u003chttps://wsh032.github.io/pyproject-template/\u003e  \u003c!-- EDIT --\u003e\n\nSource Code: \u003chttps://github.com/WSH032/pyproject-template/\u003e  \u003c!-- EDIT --\u003e\n\n---\n\n## development\n\n- If you find any issues, please don't hesitate to [open an issue](https://github.com/WSH032/pyproject-template/issues).  \u003c!-- EDIT: repo name --\u003e\n- If you need assistance, feel free to [start a discussion](https://github.com/WSH032/pyproject-template/discussions).  \u003c!-- EDIT: repo name --\u003e\n- Follow our `CONTRIBUTING.md`, [PR Welcome!](https://github.com/WSH032/pyproject-template/pulls)  \u003c!-- EDIT: repo name --\u003e\n- Security 😰❗: We value any security vulnerabilities, [please report to us privately](https://github.com/WSH032/pyproject-template/security), pretty appreciated for that.  \u003c!-- EDIT: repo name --\u003e\n\nEnglish is not the native language of the author (me), so if you find any areas for improvement in the documentation, your feedback is welcome.\n\nIf you think this project helpful, consider giving it a star ![GitHub Repo stars](https://img.shields.io/github/stars/wsh032/pyproject-template?style=social), which makes me happy. :smile:  \u003c!-- EDIT: repo name --\u003e\n\n\u003c!-- link --\u003e\n\n\u003c!-- ci/cd --\u003e\n\u003c!-- EDIT: repo name  👇 --\u003e\n[CI: lint-test]: https://github.com/WSH032/pyproject-template/actions/workflows/lint-test.yml/badge.svg\n[CI: lint-test#link]: https://github.com/WSH032/pyproject-template/actions/workflows/lint-test.yml\n[CI: docs]: https://github.com/WSH032/pyproject-template/actions/workflows/docs.yml/badge.svg\n[CI: docs#link]: https://github.com/WSH032/pyproject-template/actions/workflows/docs.yml\n[CI: publish]: https://github.com/WSH032/pyproject-template/actions/workflows/publish.yml/badge.svg\n[CI: publish#link]: https://github.com/WSH032/pyproject-template/actions/workflows/publish.yml\n[pre-commit.ci status]: https://results.pre-commit.ci/badge/github/WSH032/pyproject-template/main.svg\n[pre-commit.ci status#link]: https://results.pre-commit.ci/latest/github/WSH032/pyproject-template/main\n\u003c!-- EDIT: repo name 👆 --\u003e\n\u003c!-- code --\u003e\n[Code style: black]: https://img.shields.io/badge/code%20style-black-000000.svg\n[Code style: black#link]: https://github.com/psf/black\n\u003c!-- EDIT: repo name --\u003e [GitHub License]: https://img.shields.io/github/license/WSH032/pyproject-template?color=9400d3\n\u003c!-- EDIT: repo name --\u003e [GitHub License#link]: https://github.com/WSH032/pyproject-template/blob/main/LICENSE\n[Ruff]: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json\n[Ruff#link]: https://github.com/astral-sh/ruff\n[Checked with pyright]: https://microsoft.github.io/pyright/img/pyright_badge.svg\n[Checked with pyright#link]: https://microsoft.github.io/pyright\n\u003c!-- package --\u003e\n\u003c!-- EDIT: repo name  👇 --\u003e\n[PyPI - Version]: https://img.shields.io/pypi/v/\u003cEDIT\u003e?logo=pypi\u0026label=PyPI\u0026logoColor=gold\n[PyPI - Downloads]: https://img.shields.io/pypi/dm/\u003cEDIT\u003e?color=blue\u0026label=Downloads\u0026logo=pypi\u0026logoColor=gold\n[PyPI - Python Version]: https://img.shields.io/pypi/pyversions/\u003cEDIT\u003e?logo=python\u0026label=Python\u0026logoColor=gold\n[PyPI#link]: https://pypi.org/project/\u003cEDIT\u003e\n\u003c!-- EDIT: repo name 👆 --\u003e\n\u003c!-- meta --\u003e\n[Hatch project]: https://img.shields.io/badge/%F0%9F%A5%9A-Hatch-4051b5.svg\n[Hatch project#link]: https://github.com/pypa/hatch\n\u003c!-- EDIT: repo name --\u003e [codecov]: https://codecov.io/gh/WSH032/pyproject-template/graph/badge.svg?token=62QQU06E8X\n\u003c!-- EDIT: repo name --\u003e [codecov#link]: https://codecov.io/gh/WSH032/pyproject-template\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwsh032%2Fpyproject-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwsh032%2Fpyproject-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwsh032%2Fpyproject-template/lists"}