Skip to main content

quickscaff 🚀

Tests PyPI version License: MIT Python Version

quickscaff is a modern, lightweight Python CLI tool designed to instantly scaffold project file trees, directory structures, and boilerplate templates.

quickscaff demo


✨ Features

  • ⚡ Fast Scaffolding: Create production-ready folder structures in milliseconds.
  • 📦 Built-in Templates: Choose from pre-configured layouts (basic, package, cli).
  • 🎨 Template Engine: Dynamic variable substitution ($name, $author, $version, $year).
  • 🛡️ Safe Filesystem Operations: Cross-platform path handling using Python's pathlib.
  • 🧪 Tested & Reliable: 100% automated unit test coverage with pytest.

💻 Installation

Install via pip:

pip install quickscaff

For local development:

git clone https://github.com/Abdulla/quickscaff.git
cd quickscaff
pip install -e .

🚀 Quick Start

1. Scaffold a Basic Project

quickscaff new my_script --type basic
Output
[quickscaff] Scaffolding 'my_script' using 'basic' template...
[success] Created project at: /home/user/my_script

Next steps:
  cd my_script

my_script/
├── .gitignore
├── README.md
└── main.py

2. Scaffold a Full Python Package

quickscaff new my_package --type package --author "Abdulla" --description "A custom Python library"
Output
[quickscaff] Scaffolding 'my_package' using 'package' template...
[success] Created project at: /home/user/my_package

Next steps:
  cd my_package

my_package/
├── .gitignore
├── README.md
├── pyproject.toml
├── my_package/
│   ├── __init__.py
│   └── module.py
└── tests/
    ├── __init__.py
    └── test_module.py

3. Scaffold a CLI Application

quickscaff new my_cli --type cli --author "Abdulla"
Output
[quickscaff] Scaffolding 'my_cli' using 'cli' template...
[success] Created project at: /home/user/my_cli

Next steps:
  cd my_cli

my_cli/
├── .gitignore
├── README.md
├── pyproject.toml
├── my_cli/
│   ├── __init__.py
│   └── cli.py
└── tests/
    ├── __init__.py
    └── test_cli.py

4. List All Supported Templates

quickscaff list
Output
Available quickscaff Templates:
  - basic
  - package
  - cli

📂 Supported Templates

Template Description Key Files Generated
basic Minimal python script README.md, main.py, .gitignore
package Standard Python library pyproject.toml, README.md, {name}/module.py, tests/
cli CLI Application template pyproject.toml, {name}/cli.py, tests/test_cli.py

🛠️ Development & Testing

Run unit tests with pytest:

pytest -v

Lint and format code with ruff:

ruff check .
ruff format .

📜 License

Distributed under the MIT License.

Metadata

Release files for quickscaff 0.1.2

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

Source distribution (sdist)

Source distribution for quickscaff 0.1.2
File Size Uploaded
quickscaff-0.1.2.tar.gz 9.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for quickscaff 0.1.2
File Interpreter ABI Platform
quickscaff-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 18.8 kB

Release files / quickscaff-0.1.2.tar.gz

Download URL quickscaff-0.1.2.tar.gz
Size 9.9 kB
Tags Source
SHA-256 checksum
How to use checksums
2653cfb0b2c1b2bfe710d88711cfaf9c5a1724a4b61be406e6e0a84700eaef49
BLAKE2b-256 checksum
How to use checksums
4f54768d68c1f0d7057fdadaad3d6facaf7049d1956a49bb9b22a32f01f17dea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / quickscaff-0.1.2-py3-none-any.whl

Download URL quickscaff-0.1.2-py3-none-any.whl
Size 8.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5318dc7ce4dea2d02f34fd6cdd464cf7d58e809a684205a22284a73710598f4e
BLAKE2b-256 checksum
How to use checksums
182474c4f976cd909ecec127b4cd02258ce2b55c0a59b34a2e90bcc7c510860f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

0.2.0

2 release files

0.1.3

2 release files

This release

0.1.2 This release

2 release files

0.1.1

2 release files

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