spinup-py
Agentic Python scaffolding — spin up production-ready projects pre-wired for AI-assisted development. Ships a Claude Code plugin with slash commands, deterministic linters and type-checkers tuned for agentic workflows, and everything you need for testing, CI/CD, and deployment. Supports the following features:
- uv for dependency management
- Supports src layout
- CI/CD with GitHub Actions
- Pre-commit hooks with pre-commit
- Code quality with ruff, mypy, wemake-python-styleguide, deptry and prettier
- Publishing to PyPI by creating a new release on GitHub
- Testing and coverage with pytest and codecov
- Documentation with Docusaurus
- Compatibility testing for multiple versions of Python with tox-uv
- Containerization with Docker
- Development environment with VSCode devcontainers
Quickstart
Navigate to the directory where you want your new project and run:
uvx spinup-py my-project
Or install globally first:
uv tool install spinup-py
spinup-py my-project
Follow the guided prompts to configure your project. Once complete, a new directory my-project/ will be created with everything set up.
To skip the prompts, put the settings in a JSON file (the fields of ProjectConfig: project_name, description, author, email, github_handle, plus optional python_version, dockerfile, and so on) and run:
spinup-py --config project.json
To retrofit an existing project with the latest tooling:
spinup-py --update /path/to/existing-project
spinup-pyis the Python sibling ofspinup-ts, the equivalent TypeScript project scaffolder.
Install from source
For local or development use (e.g. running it as a Claude Code plugin), install the checkout directly with an editable install:
uv tool install --editable .
Usage
# Scaffold a new project (bare form — positional name)
spinup-py my-project
# Same thing via the explicit subcommand
spinup-py new my-project
# Retrofit an existing project with the current tooling
spinup-py update /path/to/existing-project
# Or via the root flag (equivalent to `update`)
spinup-py --update /path/to/existing-project
# Print the installed version
spinup-py --version
Flags
| Flag / command | Description |
|---|---|
spinup-py <name> |
Scaffold a new project with the given name (runs the guided prompts). |
spinup-py new [<name>] |
Explicit subcommand for scaffolding a new project. |
spinup-py update [<dir>] |
Retrofit an existing project at <dir> (defaults to the current directory). |
--update, -u <dir> |
Root-level equivalent of update — retrofit an existing project at <dir>. |
--non-interactive, -y |
Scaffold with sensible defaults and no prompts. |
--version, -v |
Print the installed version and exit. |
Offline / custom template
By default the published CLI fetches its project template from GitHub (gh:joeblackwaslike/spinup-py). To use a local or custom template instead — handy when working offline or from a fork — set the SPINUP_PY_TEMPLATE environment variable to any Cookiecutter reference (a local path, a different GitHub repo, etc.):
SPINUP_PY_TEMPLATE=/path/to/template spinup-py my-project
Acknowledgements & Lineage
- This project is partially based on Florian Maas's great cookiecutter-uv repository. Many additional improvements have been added from all the projects I've worked on over the last 12 years or so.
- Florian also credits Audrey Feldroy's great cookiecutter-pypackage repository.
Feedback and contributing
My mission with this is to build the best project starter for python projects that has everything you can want, the ability to customize and/or opt out of most everything, and save you the most time!
I am only one person with very specific preferences. If you have any feedback you can email me at me@joeblack.nyc. If you find any bugs, mistakes, missed opportunities, or would like to contribute new functionality in any way, I would love to hear about it in an issue, feel free to email me the issue to get my attention.
This project is under continuous iterative improvements as I find bugs, and better and more effective ways to do things. But I can only do so much on my own, so please open an issue if you want to help/contribute and we can iterate and discuss how we can make this happen. If you find an outright bug or mistake, just open a PR and describe all the details there.
Metadata
Release files for spinup-py 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| spinup_py-0.4.0.tar.gz | 79.9 kB | With provenance | Details for spinup_py-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| spinup_py-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for spinup_py-0.4.0-py3-none-any.whl |
Total release size: 97.6 kB
Release files / spinup_py-0.4.0.tar.gz
| Download URL | spinup_py-0.4.0.tar.gz |
|---|---|
| Size | 79.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7f0ecc2346a4d724030d45a3dd643944a8cbad4a3e1d6ae25a0700159d249692
|
|
BLAKE2b-256 checksum How to use checksums |
f8c569349e95aaff6a9292d204039e4603570c1ffdc2f33940cf7a064adde2a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.
Transparency logRelease files / spinup_py-0.4.0-py3-none-any.whl
| Download URL | spinup_py-0.4.0-py3-none-any.whl |
|---|---|
| Size | 17.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5faafea4ea2ec57cfc8d068e58076ade11ae51ad7e491a351161e144aad23d22
|
|
BLAKE2b-256 checksum How to use checksums |
18748919cd7e389c6e176ef5ab2eb6143905d46d4a5ac9cce9201e67a3f8f39d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.
Transparency logSecurity for spinup-py 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for spinup_py-0.4.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.