Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 575 Bytes

File metadata and controls

37 lines (28 loc) · 575 Bytes

Python API Template

Template for a Python API project

Installation

Clone this template

git clone git@github.com:SamWarden/pyapi-template.git appname
cd appname
git remote rename origin template

Add origin

git remote add origin GIT_URI

Install its dependencies

uv venv
source .venv/bin/activate
uv sync --all-groups --all-extras

Install pre-commit hook to automatically lint your project

pre-commit install

Sync with the template

To sync changes with the template just execute

git pull template