Skip to main content

auto-gen-py-project

Python project generator — scaffolds production-ready repos from templates, with plugins, an interactive wizard, and optional tooling (Docker, GitHub Actions, pre-commit, venv).

CI PyPI version Python 3.12+ License: MIT

Install

pip install auto-gen-py-project

From source:

python -m pip install -e ".[dev]"

Quick start

auto-gen-py-project create
auto-gen-py-project new MyApp --template fastapi --docker
auto-gen-py-project init ./service --name payments --template microservice
auto-gen-py-project list-templates
auto-gen-py-project doctor

Also available as: python -m auto_gen_py_project …

Commands

Command Description
init Non-interactive init into a directory
create Interactive wizard
new NAME Create a project from a template
list-templates List templates / project types
install-template Install a template plugin (or local sample)
doctor Environment diagnostics
update Upgrade from PyPI
version Show version (1.2.5)
config Show / write user defaults
plugin list|install|remove Plugin management

Project types

library, cli, fastapi, flask, django, data-science, machine-learning, ai, computer-vision, rest-api, microservice, desktop, automation, async, pypi-package, jupyter

Configuration

User defaults (TOML / YAML / JSON), searched in the current directory, ~/.config/auto-gen-py-project/, and $HOME:

  • auto-gen-py-project.toml
  • auto-gen-py-project.yaml
  • auto-gen-py-project.json

Example:

[defaults]
author = "Ada Lovelace"
email = "ada@example.com"
license = "MIT"
python_version = "3.12"
package_manager = "pip"
ci_provider = "github-actions"
use_docker = false
use_git = true

Plugins

Third-party packages can expose entry points:

[project.entry-points."auto_gen_py_project.plugins"]
my = "my_pkg.plugin:MyPlugin"

[project.entry-points."auto_gen_py_project.templates"]
extra = "my_pkg.templates:get_root"
pip install auto-gen-py-project-fastapi
auto-gen-py-project plugin list

Template hints

Pass a short description to pick a matching built-in template by keywords (no external services):

auto-gen-py-project new Shop --describe "FastAPI inventory service with Docker"

Documentation

Development

python -m pip install -e ".[dev]"
pytest

Git Flow branches: main, develop, feature/*, release/*, hotfix/*.

License

MIT — see LICENSE.md.

Metadata

Release files for auto-gen-py-project 1.2.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for auto-gen-py-project 1.2.5
File Size Uploaded Provenance
auto_gen_py_project-1.2.5.tar.gz 27.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for auto-gen-py-project 1.2.5
File Interpreter ABI Platform
auto_gen_py_project-1.2.5-py3-none-any.whl Python 3 none any Details

Total release size: 63.8 kB

Release files / auto_gen_py_project-1.2.5.tar.gz

Download URL auto_gen_py_project-1.2.5.tar.gz
Size 27.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d415c129603dac8be86a0cf444e02be9e3ae571b2d87a75e7e31f40fef533ad6
BLAKE2b-256 checksum
How to use checksums
183b2c80670e9be988c7b3b93b77543d13bd18ad70c66f938711baf2a6a541ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.14

Release files / auto_gen_py_project-1.2.5-py3-none-any.whl

Download URL auto_gen_py_project-1.2.5-py3-none-any.whl
Size 36.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8a6efad61cad2ff51c0be7f76ec579588dc0d76dfa42166d473b1d7d71d3c45f
BLAKE2b-256 checksum
How to use checksums
df9ba4012b21d2620a8a362e65d17e572c1691df86d4e2cc4ceb9faa43a294b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.14

Security for auto-gen-py-project 1.2.5

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page