Metadata-Version: 2.2
Name: sftkit
Version: 0.2.3
Maintainer-Email: =?utf-8?q?Michael_Loipf=C3=BChrer?= <milo@sft.lol>
License: MIT
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Project-URL: Source, https://github.com/SFTTech/sftkit
Requires-Python: >=3.11
Requires-Dist: fastapi>=0.111.0
Requires-Dist: typer>=0.12.3
Requires-Dist: uvicorn[standard]>=0.22.0
Requires-Dist: asyncpg>=0.29.0
Requires-Dist: pydantic[email]==2.7.4
Description-Content-Type: text/markdown
Dynamic: description

# SFTKit

A general purpose collection of base building blocks and utilities to make building 
python applications on the basis of postgresql (asyncpg) + fastapi a breeze.

To get started simply run

```bash
pip install sftkit
```

## Usage


### Dev CLI

Configure sftkit in your `pyproject.toml`

```toml
[tool.sftkit]
db_code_dir = "<path-to-your-sql-code-folder>"
db_migrations_dir = "<path-to-your-sql-data-migrations>"
```

Create new migrations via

```bash
sftkit create-migration <name>
```