template python project with necessary configurations
Project description
fastapi-starter
features
- pytest
- pre-commit
- darker for code format
- ruff for lint
- commitlint for commit message format
- typer for cli
使用方式
-
初始化环境:
./scripts/setup -
执行测试:
uv run -m pytest -
运行cli:
uv run main.py --help -
运行服务:
uv run main.py serve -
构建发布:
cp .pypirc.example .pypirc- replace your token in
.pypirc git tag vx.y.z./scripts/publish
-
构建可执行文件:
./scripts/build
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
ipa_fms-0.0.1.tar.gz
(132.0 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 ipa_fms-0.0.1.tar.gz.
File metadata
- Download URL: ipa_fms-0.0.1.tar.gz
- Upload date:
- Size: 132.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f2c9ef2a91dae466d77b954246955be5e93c700f1530254dbc22bf41a10eda7c
|
|
| MD5 |
2c9ec51e0d1c20fe7ddc82dcaa71b06b
|
|
| BLAKE2b-256 |
d47b552a13f6c37ea0c802f983e036fe58b75e0a009159f806eb9db7d6820bd1
|
File details
Details for the file ipa_fms-0.0.1-py3-none-any.whl.
File metadata
- Download URL: ipa_fms-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.2 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 |
715f8c12b92463ad887186ccea81e4fb780a469b801551ab0d0c6d97a4694c9f
|
|
| MD5 |
e09160671977114c26c33efd5a8b939c
|
|
| BLAKE2b-256 |
1e23522ec10d67b3eae725ad8a8f75846e714e2a1b5ee60c86c866e761d522c4
|