$ jinja2
A CLI interface to Jinja2
Fork of jinja2-cli
Changelog
- Add -F to read value from files
Installation
pipx
This is the recommended installation method.
$ pipx install jinja2-cli-tddschn
pip
$ pip install jinja2-cli-tddschn
Usage
Usage: jinja2 [options] <input template> <input data>
Options:
--version show program's version number and exit
-h, --help show this help message and exit
--format=FORMAT format of input variables: auto, ini, json,
querystring, yaml, yml
-e EXTENSIONS, --extension=EXTENSIONS
extra jinja2 extensions to load
-D key=value Define template variable in the form of key=value
-F key=<path-to-file>, --file=key=<path-to-file>
Define template variable with a file content in the
form of key=<path-to-file>
-s SECTION, --section=SECTION
Use only this section from the configuration
--strict Disallow undefined variables to be used within the
template
Optional YAML support
If PyYAML is present, you can use YAML as an input data source.
$ pip install jinja2-cli-tddschn[yaml]
Optional TOML support
If toml is present, you can use TOML as an input data source.
$ pip install jinja2-cli-tddschn[toml]
Optional XML support
If xmltodict is present, you can use XML as an input data source.
$ pip install jinja2-cli-tddschn[xml]
Optional HJSON support
If hjson is present, you can use HJSON as an input data source.
$ pip install jinja2-cli-tddschn[hjson]
Optional JSON5 support
If json5 is present, you can use JSON5 as an input data source.
$ pip install jinja2-cli-tddschn[json5]
Develop
$ git clone https://github.com/tddschn/jinja2-cli-tddschn.git
$ cd jinja2-cli-tddschn
$ poetry install
Metadata
Release files for jinja2-cli-tddschn 0.9.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| jinja2_cli_tddschn-0.9.2.tar.gz | 6.5 kB | Without provenance | Details for jinja2_cli_tddschn-0.9.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| jinja2_cli_tddschn-0.9.2-py3-none-any.whl | Python 3 | none | any | Details for jinja2_cli_tddschn-0.9.2-py3-none-any.whl |
Total release size: 14.0 kB
Release files / jinja2_cli_tddschn-0.9.2.tar.gz
| Download URL | jinja2_cli_tddschn-0.9.2.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5e7f4d86446c1ac197b440aed81994b80dc1726a2ebf66c8a26a58dee1956b9e
|
|
BLAKE2b-256 checksum How to use checksums |
04d9735d876f205054d98f6ecd929d07b4dba56a5d08c53c9fe999a7c7c0e0e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.12.0 Darwin/23.1.0
|
Release files / jinja2_cli_tddschn-0.9.2-py3-none-any.whl
| Download URL | jinja2_cli_tddschn-0.9.2-py3-none-any.whl |
|---|---|
| Size | 7.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e4c570fc205a1d6b44866597c106dc4281be5bc5aa16386a7fe0b043777376bc
|
|
BLAKE2b-256 checksum How to use checksums |
70e4751a9d36d44ac6f6e7dbe2231135379be02e62293a4c8939b6a127279cc5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.12.0 Darwin/23.1.0
|
Security for jinja2-cli-tddschn 0.9.2
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.