Skip to main content

Mako Template Command-Line Tool

Project description

Tests Codecov PyPI Read the Docs

mako2clix

This project aims to port Mako Template to a simple usage on command line

Installation

To install the mako2clix Python project, run this command in your terminal:

$ pip install mako2clix

Example

Create a file template.mako containing:

hello ${name}!

And a data file data.yaml:

name: world

Now you can render the file with:

$ m2cli -t template.mako -d data.yaml -o rendered

The output is saved to rendered:

hello world!

That's all!

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

mako2clix-0.1.2.tar.gz (4.6 kB view hashes)

Uploaded Source

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