Mako Template Command-Line Tool
Project description
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
Release history Release notifications | RSS feed
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 details)
File details
Details for the file mako2clix-0.1.2.tar.gz
.
File metadata
- Download URL: mako2clix-0.1.2.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe4601f14fe1ac905f941b3a0f78a14288541b4194c81488d6489977732ef4d9 |
|
MD5 | 7f530010761e3d38496d65f169d16cc5 |
|
BLAKE2b-256 | 263ef87ca0dc4d3e6a75c8ccd997c12c77d345282984f520396c79d185e5210c |