[![Tests](https://github.com/leaningdiggers/mako2clix/workflows/Tests/badge.svg)](https://github.com/leaningdiggers/mako2clix/actions?workflow=Tests)
[![Codecov](https://codecov.io/gh/leaningdiggers/mako2clix/branch/master/graph/badge.svg)](https://codecov.io/gh/leaningdiggers/mako2clix)
[![PyPI](https://img.shields.io/pypi/v/mako2clix.svg)](https://pypi.org/project/mako2clix/)
[![Read the Docs](https://readthedocs.org/projects/mako2clix/badge/)](https://mako2clix.readthedocs.io/)
# 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:
```mako
hello ${name}!
```
And a data file `data.yaml`:
```yaml
name: world
```
Now you can render the file with:
```bash
$ m2cli -t template.mako -d data.yaml -o rendered
```
The output is saved to `rendered`:
```
hello world!
```
That's all!
Raw data
{
"_id": null,
"home_page": "https://github.com/fbagagli/mako2clix",
"name": "mako2clix",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "mako,template,cli",
"author": "fbagagli",
"author_email": "francesco.bagagli@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/26/3e/f87ca0dc4d3e6a75c8ccd997c12c77d345282984f520396c79d185e5210c/mako2clix-0.1.2.tar.gz",
"platform": null,
"description": "[![Tests](https://github.com/leaningdiggers/mako2clix/workflows/Tests/badge.svg)](https://github.com/leaningdiggers/mako2clix/actions?workflow=Tests)\n[![Codecov](https://codecov.io/gh/leaningdiggers/mako2clix/branch/master/graph/badge.svg)](https://codecov.io/gh/leaningdiggers/mako2clix)\n[![PyPI](https://img.shields.io/pypi/v/mako2clix.svg)](https://pypi.org/project/mako2clix/)\n[![Read the Docs](https://readthedocs.org/projects/mako2clix/badge/)](https://mako2clix.readthedocs.io/)\n\n# mako2clix\n\nThis project aims to port Mako Template to a simple usage on command line\n\n## Installation\n\nTo install the mako2clix Python project,\nrun this command in your terminal:\n\n```\n$ pip install mako2clix\n```\n\n## Example\n\nCreate a file `template.mako` containing:\n\n```mako\nhello ${name}!\n```\n\nAnd a data file `data.yaml`:\n\n```yaml\nname: world\n```\n\nNow you can render the file with:\n\n```bash\n$ m2cli -t template.mako -d data.yaml -o rendered\n```\n\nThe output is saved to `rendered`:\n\n```\nhello world!\n```\n\nThat's all!\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Mako Template Command-Line Tool",
"version": "0.1.2",
"project_urls": {
"Documentation": "https://mako2clix.readthedocs.io",
"Homepage": "https://github.com/fbagagli/mako2clix",
"Repository": "https://github.com/fbagagli/mako2clix"
},
"split_keywords": [
"mako",
"template",
"cli"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "263ef87ca0dc4d3e6a75c8ccd997c12c77d345282984f520396c79d185e5210c",
"md5": "7f530010761e3d38496d65f169d16cc5",
"sha256": "fe4601f14fe1ac905f941b3a0f78a14288541b4194c81488d6489977732ef4d9"
},
"downloads": -1,
"filename": "mako2clix-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "7f530010761e3d38496d65f169d16cc5",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 4629,
"upload_time": "2023-12-13T02:04:47",
"upload_time_iso_8601": "2023-12-13T02:04:47.699282Z",
"url": "https://files.pythonhosted.org/packages/26/3e/f87ca0dc4d3e6a75c8ccd997c12c77d345282984f520396c79d185e5210c/mako2clix-0.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-13 02:04:47",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "fbagagli",
"github_project": "mako2clix",
"github_not_found": true,
"lcname": "mako2clix"
}