TSES project scaffold generator for Django and FastAPI services.
Project description
TSES
tses is the TSES scaffold generator CLI for bootstrapping curated Django and FastAPI service projects.
Install
For local development:
pip install -e .[dev]
For end users after publishing:
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:
tses startproject my-django-service -f django
Generate a FastAPI scaffold into the current directory:
tses startproject . -f fastapi --force
Available options:
-f,--framework: required framework choice,djangoorfastapi--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 installedtsesversion
Development
Scaffold snapshots are vendored into src/tses/templates.
Use the sync script to refresh them from the scaffold repos:
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.
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
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 tses-0.1.0.tar.gz.
File metadata
- Download URL: tses-0.1.0.tar.gz
- Upload date:
- Size: 51.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a7ddde9a4ad42dd84c9f7def85bb2d9c6de56baa550a4bf9319903f4d37dd3cf
|
|
| MD5 |
fd0c767cf98849d7439ce54ac84a240c
|
|
| BLAKE2b-256 |
115f5b209599567c4c80380902e07de8731181ee21aa051216538e334cc20d41
|
File details
Details for the file tses-0.1.0-py3-none-any.whl.
File metadata
- Download URL: tses-0.1.0-py3-none-any.whl
- Upload date:
- Size: 87.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2d69acc9f7efe5a2a1ac31ad20fec4626357a6135ed4198477260bb50afe311
|
|
| MD5 |
e6e4301ec8df2c10d219f1f4461cd5f3
|
|
| BLAKE2b-256 |
e053c83e8fdd040ed1bf8fd82a0f1c1a71638b9f8640b848f4a02022ddf3b6a6
|