Skip to main content

template python project with necessary configurations

Project description

pyproject-tmpl

features

  1. pytest
  2. pre-commit
  3. darker for code format
  4. ruff for lint
  5. commitlint for commit message format

使用方式

  • 初始化环境:./scripts/setup

  • 执行测试:uv run -m pytest

  • 启动服务:uv run main.py

  • 构建发布:./scripts/publish

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyproject_tmpl-0.1.1.dev0.tar.gz (45.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyproject_tmpl-0.1.1.dev0-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

File details

Details for the file pyproject_tmpl-0.1.1.dev0.tar.gz.

File metadata

  • Download URL: pyproject_tmpl-0.1.1.dev0.tar.gz
  • Upload date:
  • Size: 45.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for pyproject_tmpl-0.1.1.dev0.tar.gz
Algorithm Hash digest
SHA256 32fceef18d7fac1eb53a401cc3d66cfc0a8ac7fcaa8ea7ccf537418a301b5e97
MD5 3e4fe47b9dad07c34c494735022c069c
BLAKE2b-256 4363f0d2dde2e209070f1f6059e70b4b73b81109ca2e330a95e852e8a6cb7723

See more details on using hashes here.

File details

Details for the file pyproject_tmpl-0.1.1.dev0-py3-none-any.whl.

File metadata

File hashes

Hashes for pyproject_tmpl-0.1.1.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 261da165b5a12d2efe18855578d65fb898dca67ac44dca6b06ef8b0acc8c0835
MD5 aee4da0822d5eb95158ae2735834094f
BLAKE2b-256 9321507d81b1f1d7066b6697c742933483c53cf79e709fea8322cf5d2a533c2f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page