Skip to main content

Stencil

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

Installation

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.

History

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

Metadata

Release files for Stencil 0.2.1

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

Source distribution (sdist)

Source distribution for Stencil 0.2.1
File Size Uploaded Provenance
Stencil-0.2.1.tar.gz 6.4 kB Without provenance Details

Release files / Stencil-0.2.1.tar.gz

Download URL Stencil-0.2.1.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c68196d1f0b27a2981d98c61d28de5777c766f10356207dd8f068e2469c2c2ac
BLAKE2b-256 checksum
How to use checksums
79d7202e0593f2e03ace807daaccd4190dfb81890c92d57443c873bd88eca4dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for Stencil 0.2.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.

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