Skip to main content

Create directories from skeletons, with templating support.

Project description


A utility to create directory from skeletons, with templating support.

This is a tool inspired by the functionality provided by ansible-galaxy init.


  • python 3.8+


Install and update using pip:

pip install -U skelate

Alternatively, you can package and run skelate in a docker container:

make image


Basic usage is to treat skelate like cp -r, with expansion of j2 files.

skelate this/dir that/dir

If this/dir contains no files with a j2 extension, this will act exactly like cp -r.

If this/dir does contain files with a j2 extension, these will be expanded into that/dir, minus their .j2 suffix.

You can pass variables to templates in two ways:

# Read variables from a JSON file
skelate --vars path/to/vars.json this/dir that/dir

# Read variables from command line
skelate --extra-vars "key=value" \
  --extra-vars 'key={"key": ["value", "value"]}' \
  this/dir that/dir

For more options:

skelate --help


Project details

Download files

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

Files for skelate, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size skelate-0.0.2-py3-none-any.whl (6.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size skelate-0.0.2.tar.gz (9.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page