Skip to main content

A cookiecutter clone. A command-line utility that creates projects from templates.

Project description

license documentation pipelines coverage

mk-scaffold -- make scaffold

A cookiecutter clone. A command-line utility that creates projects from templates.

Features

  • Conditional questions.
  • Templated answers.
  • Jinja2 extensions per template project.
  • You don't have to know/write Python code to use.
  • Project templates can be in any programming language or markup format: Python, JavaScript, Ruby, CoffeeScript, RST, Markdown, CSS, HTML, you name it. You can use multiple languages in the same project template.

Installation

You can install the latest version from PyPI package repository.

python3 -mpip install -U mk-scaffold

Usage

Sample command line usage:

mk-scaffold clone https://gitlab.com/cappysan/scaffolds/python-cli-template.git

Sample scaffold template file scaffold.yml:

questions:
  - name: "project_name"
    schema:
      min_length: 1

  - name: "project_short_description"
    schema:
      default: "Lorem ipsum sit dolor amet."
      max_length: 120

License

This project is licensed under the MIT License - see the LICENSE file for details.

Locations

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mk_scaffold-1.6.0.tar.gz (15.6 kB view details)

Uploaded Source

Built Distribution

mk_scaffold-1.6.0-py2.py3-none-any.whl (17.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file mk_scaffold-1.6.0.tar.gz.

File metadata

  • Download URL: mk_scaffold-1.6.0.tar.gz
  • Upload date:
  • Size: 15.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for mk_scaffold-1.6.0.tar.gz
Algorithm Hash digest
SHA256 455f7d62d5041944a04e417adf9a6c7eaa23e8c113c06ed96264b1c85478c6bf
MD5 db2689599a212393f95b4fd702d67e74
BLAKE2b-256 065461ea2d2549fdaaa80891111e1d26c8818997e7d54401c3dcce1f4a3252b0

See more details on using hashes here.

File details

Details for the file mk_scaffold-1.6.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for mk_scaffold-1.6.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 23729f17c729bbcda707190a3a167003ac9e873bfd9c623eb7bb7855e96916b9
MD5 aa1e3a6718898bee4f197c395f6f5204
BLAKE2b-256 f4729c1cf4949828336c72f4c5cd0e2986acabb45757ec715fb28dbcb5456f0f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page