Skip to main content

Creates files and directories from templates

Project description

Stencil creates files and directories from templates. It is inspired by Paste Templates, but Stencil has no dependencies.


Install Stencil with pip:

$ pip install Stencil

It will also install argparse for python < 2.7. There is no python 3 support yet.

Usage example

To create new file or directory of files and subdirectories from <stencil> use:

$ stencil [global args] <stencil> [stencil args]

For example, using stencil new you can create a new project containing a new stencil:

$ stencil new mystencil

For creating stencils use new stencil as example. All stencils are collected together using entry points from Distribute.


0.2.1 (2011-08-10)

  • Better handling of target directory creation
  • Fix stencils order in command output

0.2 (2011-08-05)

  • Overridable resources
  • Use Jinja2 for templates

0.1.2 (2011-08-05)

  • Fix resource target path rendering

0.1.1 (2011-07-28)

  • Add possibility to collect resources from multiple dirs

0.1 (2011-04-14)

  • Initial release

Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
Stencil-0.2.1.tar.gz (6.4 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page