Metadata-Version: 2.4
Name: tses
Version: 0.1.0
Summary: TSES project scaffold generator for Django and FastAPI services.
Author: TSES
License: Proprietary
License-File: LICENSE
Keywords: cli,django,fastapi,scaffold,tses
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Code Generators
Classifier: Topic :: Utilities
Requires-Python: >=3.10
Provides-Extra: dev
Requires-Dist: build>=1.2.2.post1; extra == 'dev'
Requires-Dist: pytest>=8.4.0; extra == 'dev'
Description-Content-Type: text/markdown

# TSES

`tses` is the TSES scaffold generator CLI for bootstrapping curated Django and FastAPI service projects.

## Install

For local development:

```bash
pip install -e .[dev]
```

For end users after publishing:

```bash
pip install tses
```

A `pipx install tses` workflow can also be used for isolated CLI installs.

## Usage

Generate a Django scaffold into a new directory:

```bash
tses startproject my-django-service -f django
```

Generate a FastAPI scaffold into the current directory:

```bash
tses startproject . -f fastapi --force
```

Available options:

- `-f`, `--framework`: required framework choice, `django` or `fastapi`
- `--force`: overwrite scaffold-managed files in a non-empty target directory
- `--dry-run`: print planned file actions without writing files
- `--verbose`: print per-file actions during generation
- `--version`: print the installed `tses` version

## Development

Scaffold snapshots are vendored into `src/tses/templates`.
Use the sync script to refresh them from the scaffold repos:

```bash
python tools/sync_scaffolds.py
```

Default source repos:

- `/home/mike/django-scaffold`
- `/home/mike/fastapi-scaffold`

Before the first public release, confirm that the package name `tses` is available on the intended package index.
