template python project with necessary configurations
Project description
pyproject-tmpl
features
- pytest
- pre-commit
- darker for code format
- ruff for lint
- commitlint for commit message format
使用方式
-
初始化环境:
./scripts/setup -
执行测试:
uv run -m pytest -
启动服务:
uv run main.py -
构建发布:
./scripts/publish
Project details
Release history Release notifications | RSS feed
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.0.tar.gz
(44.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyproject_tmpl-0.1.0.tar.gz.
File metadata
- Download URL: pyproject_tmpl-0.1.0.tar.gz
- Upload date:
- Size: 44.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0fc36ca459b7864d8123e9efe60b86fc4b4a284eb814c38442b9be06c1ae0bd
|
|
| MD5 |
04886a31b57008e12975feafd3855aae
|
|
| BLAKE2b-256 |
05b5a7045905dbb1377f233a1ec97f769ae5f9bc8fe484fd6b3f3799ee1f3313
|
File details
Details for the file pyproject_tmpl-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pyproject_tmpl-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc3079546edb0b22c349fa579a5caad039cabc2e19c325dc59d92795cb4b7cc8
|
|
| MD5 |
deb17d96c2d80accc437d1189a4df4d6
|
|
| BLAKE2b-256 |
e7fad5a909738989dd3482acd253a6eddacde4f900d4ac877675b17e3671ccfa
|