Metadata-Version: 2.4
Name: pyproject-tmpl
Version: 0.1.1.dev9
Summary: template python project with necessary configurations
Author-email: xdewx <present150608@sina.com>
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: alembic>=1.17.2
Requires-Dist: ipa-python-kit>=0.0.7
Requires-Dist: sqlmodel>=0.0.31
Requires-Dist: typer>=0.20.0
Requires-Dist: typing-extensions>=4.15.0
Provides-Extra: system
Requires-Dist: psutil>=7.2.1; extra == "system"
Provides-Extra: all
Requires-Dist: pyproject-tmpl[system]; extra == "all"

# pyproject-tmpl

## features

1. pytest
2. pre-commit
3. darker for code format
4. ruff for lint
5. commitlint for commit message format
6. typer for cli
7. sqlmodel for database ORM
8. alembic for database migration

## introduction

before development, must run `./scripts/setup`

### unit test

`uv run -m pytest`

### run cli

`uv run main.py --help`

### release sdk

1. `cp .pypirc.example .pypirc`
2. replace your token in `.pypirc`
3. `git tag vx.y.z`
4. `./scripts/publish`

### build executable file

`./scripts/build`
