Pykickoff
Pykickoff is a lightweight, interactive CLI scaffolding tool designed to bootstrap new Python projects. By guiding users through a series of questions, it generates standard project files, sets up package structures, initializes Git repositories, and creates virtual environments automatically.
If you like the repo, it would be awesome if you could add a star to it! It really helps out the visibility. Also for any questions at all we'd love to hear from you at ds.pydev@gmail.com also you can check our wesite Pykickoff.
Usage
- Install Pykickoff
python -m pip install pykickoff
- Run Pykickoff
python -m pykickoff
Wizard Options
The setup guide will prompt you to configure:
- Project Name: The directory name and package namespace.
- Description: A short description printed in the package's generated
README.mdand metadata. - Author Name: Used to populate your package author fields in
pyproject.toml. - Project Type: Selection between "Basic", "FastAPI", or "CLI Tool".
- CLI configuration: Option to configure Python CLI entry points.
- Automation: Choices to automatically run
git initand/orpython -m venv .venvin the generated folder structure.
Features
- Interactive Setup: Guided terminal wizard powered by
questionary. - Project Structure Generation: Creates a standardized source layout (
src/project_name/) containing a package package setup (__init__.pyandmain.py). - Template Rendering: Generates configuration files (
pyproject.toml,.gitignore, andREADME.md) using Jinja2 templating. - Automation Support: Optional automated Git initialization and Python virtual environment (
.venv) creation during generation.
Contributing
Contributions are welcome and encouraged! If you'd like to improve Pykickoff, add new project templates (eg: FastAPI or Docker scaffolding), or fix bugs, please follow these steps:
- Fork the repository on GitHub.
- Clone your fork locally and install the dependencies.
- Create a new branch for your feature or bugfix (
git checkout -b feature/add-docker-template). - Make your changes to the codebase. If you are adding new project types, be sure to update
wizard.pyand add the required Jinja2 templates to thetemplates/directory. - Test your changes by running the tool locally to ensure the wizard and generation process execute cleanly.
- Commit your changes with descriptive commit messages.
- Push your branch to your fork (
git push origin feature/add-docker-template). - Open a Pull Request against the main Pykickoff repository.
If you find a bug or have a feature request, feel free to open an issue in the issue tracker!
Directory Layout
This project is structured as a standard Python module package:
pykickoff/
├── __init__.py # Package entrypoint exporter
├── __main__.py # Main execution CLI script
├── generator.py # File creation and Jinja2 rendering logic
├── utils.py # Automation helpers (Git, venv subprocess calls)
├── wizard.py # User prompt questions and CLI validation
└── templates/ # Jinja2 template categories
├── base/
├── cicd/
├── docker/
├── fastapi/
└── package/
Under the Hood
- Validation: Project names are automatically validated using regular expressions to prevent illegal characters in folder and module names.
- Rendering: Values gathered by
wizard.pyare mapped into Jinja2 templates. If a project is specified as a CLI, those conditions are handled dynamically when building out thepyproject.tomlconfiguration. - Process Automation: The tool uses Python's
subprocessmodule to run CLI tools (git,python) directly inside the generated directory paths to ensure seamless environment preparation.
Release Notes
[2.4.0] - CI/CD & Packaged Project Extras
Added:
- GitHub Actions CI/CD pipeline option with automated test file scaffolding (
test_basic.py/test_api.py). - Extensive package templates for the "Packaged Project" type (choose between
.pre-commit-config.yaml,MANIFEST.in,requirements.txt,requirements_dev.txt, andtox.ini). - Full dependency automation: automatically installs
requirements.txt/requirements_dev.txtand executespre-commit installif chosen.
Updated:
- Separated Jinja2 template environments into distinct categorical sub-directories (
base,package,fastapi,docker,cicd). wizard.pyexpanded with multi-select checkboxes for package extras and new yes/no flows for GitHub actions.__main__.pybranched out execution methods (run_basic,run_package,run_fastapi) for cleaner project generation logic.
[2.3.0] - Docker Release
Added:
- Docker option.
Updated:
- Templates: add docker folder with
Dockerfile.j2anddockerignore.txt main.py,generator.pyandwizard.pywith new docker option.test_project_generatorwith new tests for docker options.
[2.2.0] - FastAPI Release
Added:
- FastAPI python project setup.
Updated:
- Templates: add fastapi folder with
main.py.j2andrequirements.txt.j2 main.py,generator.pyandwizard.pywith new fastapi option.test_project_generatorwith new tests for fastapi options.
[2.1.0] - Minor Updates
Updated:
- Python project options.
[2.0.0] - Basic Release
Added:
- Basic python project setup.
Updated:
- Templates: moved
pyproject.toml.j2to package folder. main.py,generator.pyandwizard.pywith new basic option.test_project_generatorwith new tests for basic options.
[1.0.0] - Initial Release
Added:
- Interactive CLI wizard using
questionaryto capture user project requirements. - Core generator logic utilizing
Jinja2to dynamically renderpyproject.tomlandREADME.mdfiles. - Regex validation for safe Python package and directory naming.
- Scaffolding for standard
src/directory layouts. - Automation utilities to automatically initialize Git repositories and create Python virtual environments (
.venv).
Metadata
Release files for pykickoff 2.4.1
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 |
|---|---|---|---|---|
| pykickoff-2.4.1.tar.gz | 544.5 kB | Without provenance | Details for pykickoff-2.4.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pykickoff-2.4.1-py3-none-any.whl | Python 3 | none | any | Details for pykickoff-2.4.1-py3-none-any.whl |
Total release size: 562.3 kB
Release files / pykickoff-2.4.1.tar.gz
| Download URL | pykickoff-2.4.1.tar.gz |
|---|---|
| Size | 544.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
828ddefa300a809b3dec0ded42e92e0e107715a9e37fb73ed8ac49fb535388fb
|
|
BLAKE2b-256 checksum How to use checksums |
ad5347ea2eef7ed2a871324bc938cbacf25a0d54141bf6814c2ef4320cdc6132
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.0
|
Release files / pykickoff-2.4.1-py3-none-any.whl
| Download URL | pykickoff-2.4.1-py3-none-any.whl |
|---|---|
| Size | 17.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
854a97246c935301bdf02ffa4c0a53d60c1d73d795dd28ffc44f5922ddbcf21d
|
|
BLAKE2b-256 checksum How to use checksums |
1d59d817af3fe24afd43aeb7a34969ea9bf4fbff0fc7c848f8edab9989957225
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.0
|
Security for pykickoff 2.4.1
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.