Skip to main content

A cli template tool based on jinja

Project description

Build Total alerts License PyPI Downloads Code style

yashiro is just a thin wrapper around jinja.

In a nutshell

Installation

The easiest way is to use poetry to manage your dependencies and add yashiro to them.

[tool.poetry.dependencies]
yashiro = "*"

Usage

yashiro, once installed offers a single command, yashiro, that parses the templated based on a JSON file. yashiro follows the GNU recommendations for command line interfaces, and offers:

  • -h or --help to print help, and

  • -V or --version to print the version

You can use yashiro to parse a template.

usage: yashiro [-h] [-V] [-m MAPPING] [-s] -t TEMPLATE

optional arguments:
    -h, --help             Show this help message and exit
    -m/--mappings MAPPINGS The path to the file that contains the mappings
    -t/--template TEMPLATE The path to the template
    -V/--version           Print the version and exit

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

yashiro-0.9.0.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

yashiro-0.9.0-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file yashiro-0.9.0.tar.gz.

File metadata

  • Download URL: yashiro-0.9.0.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.2 Linux/5.16.13-arch1-1

File hashes

Hashes for yashiro-0.9.0.tar.gz
Algorithm Hash digest
SHA256 986a8173be42b34bcff29b929457a934db380bf8dc6ec6abb6e7937eadb17676
MD5 8689dd8e152ab012b2086e632d0d8db1
BLAKE2b-256 ce0a558c775e9073547ed805ca8b18ffdea52b1085894a4077d24791ddf31a1a

See more details on using hashes here.

File details

Details for the file yashiro-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: yashiro-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.2 Linux/5.16.13-arch1-1

File hashes

Hashes for yashiro-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c5fc4afe29a035703a4a8693c568839d0d7e47de568ad3b1e15c857252fa40b1
MD5 7e3742041aea03cc9d0d786b8ea77045
BLAKE2b-256 29a300169a7f123947533099a9b9e17ffd03455cfb9fcfc41ed7e8bbd4f0b898

See more details on using hashes here.

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