Skip to content

WSH032/pyproject-template

Repository files navigation

pyproject-template

Stubborn python project scaffold
固执己见的python项目手脚架

用法

  1. 按照 CONTRIBUTING.md 初始化项目
  2. 修改所有带有 EDIT 注释的地方
  3. github仓库设置环境变量机密保护规则 设置得和本仓库(pyproject-template)完全一致
  4. 申请codecovpre-commit.ci的BOT APP
  5. 按照pypa的指南去 pypi 申请 Trusted Publisher
  6. 同步个人的VSCode设置和扩展
  7. 删掉本用法部分
  8. Python,启动!✨

纯python打包参考 https://github.com/WSH032/fastapi-proxy-lib 带有不同平台的二进制依赖打包参考 https://github.com/WSH032/aria2-wheel


CI/CD CI: lint-test pre-commit.ci status
CI: docs CI: publish
Code [![codecov]][codecov#link] Code style: black Ruff Checked with pyright
Package PyPI - Version PyPI - Downloads PyPI - Python Version
Meta Hatch project [![GitHub License]][GitHub License#link]

Documentation: https://wsh032.github.io/pyproject-template/

Source Code: https://github.com/WSH032/pyproject-template/


development

English is not the native language of the author (me), so if you find any areas for improvement in the documentation, your feedback is welcome.

If you think this project helpful, consider giving it a star GitHub Repo stars, which makes me happy. 😄

[GitHub License]: https://img.shields.io/github/license/WSH032/pyproject-template?color=9400d3 [GitHub License#link]: https://github.com/WSH032/pyproject-template/blob/main/LICENSE [codecov]: https://codecov.io/gh/WSH032/pyproject-template/graph/badge.svg?token=62QQU06E8X [codecov#link]: https://codecov.io/gh/WSH032/pyproject-template