{"id":15429458,"url":"https://github.com/evindunn/jinplate","last_synced_at":"2026-02-24T06:42:48.710Z","repository":{"id":248875207,"uuid":"823939285","full_name":"evindunn/jinplate","owner":"evindunn","description":"A command line Jinja2 renderer","archived":false,"fork":false,"pushed_at":"2024-07-19T15:15:52.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-25T19:31:13.899Z","etag":null,"topics":["ansible","cli","devops","jinja2","template","tools"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/evindunn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-04T03:49:24.000Z","updated_at":"2024-07-19T15:15:55.000Z","dependencies_parsed_at":"2024-07-23T03:03:53.961Z","dependency_job_id":null,"html_url":"https://github.com/evindunn/jinplate","commit_stats":{"total_commits":17,"total_committers":1,"mean_commits":17.0,"dds":0.0,"last_synced_commit":"482900cac3d794499d61dcfacbf7dedd61a248bf"},"previous_names":["evindunn/jinplate"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/evindunn/jinplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evindunn%2Fjinplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evindunn%2Fjinplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evindunn%2Fjinplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evindunn%2Fjinplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/evindunn","download_url":"https://codeload.github.com/evindunn/jinplate/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evindunn%2Fjinplate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29774447,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-24T04:54:30.205Z","status":"ssl_error","status_checked_at":"2026-02-24T04:53:58.628Z","response_time":75,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","cli","devops","jinja2","template","tools"],"created_at":"2024-10-01T18:10:19.705Z","updated_at":"2026-02-24T06:42:48.674Z","avatar_url":"https://github.com/evindunn.png","language":"Python","readme":"# jinplate\n\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![linting: pylint](https://img.shields.io/badge/linting-pylint-yellowgreen)](https://github.com/pylint-dev/pylint)\n\nA command line [Jinja2](https://github.com/pallets/jinja) renderer inspired\nby [gomplate](https://github.com/hairyhenderson/gomplate)\n\njinplate can read from local and remote variable files in a number of formats and use them\nto render a local Jinja2 template file.\n\njinplate uses URIs to identify how to fetch and parse Jinja2 variable files.\n\n# Installation\n```\npip install jinplate\n```\n\nTo install with support for the tests and filters included with ansible, use\n\n```\npip install jinplate[ansible]\n```\n\n# Usage\n\n```\njinplate --help\nUsage: jinplate [OPTIONS] TEMPLATE_FILE DATASOURCES...\n\n  A command line renderer for jinja2 templates. If ansible is available,\n  jinplate uses its template engine. If not, uses plain jinja2.\n\n  TEMPLATE_FILE is the path to a jinja template file to render\n\n  DATASOURCES is a list of URIs to data sources supported by jinplate which\n  contain the template variables\n\n  -e allows specifying individual vars in the format key=value. Example: -e\n  test1=1 -e test2=2\n\n  --jinja-ext allows specifying a comma-separated list of import paths\n  containing jinja extensions. Example: --jinja-ext jinja2.ext.i18n\n\nOptions:\n  --jinja-ext TEXT  A comma-separated list of jinja extensions to load\n  -e TEXT           Individual template vars in the format key=value\n  --help            Show this message and exit.\n```\n\n# Local Vars Example\n\ntest.j2\n```yaml\n---\n\nkey: {{ test1.key }}\narr: {{ test2.arr }}\n```\n\nvars.json\n```json\n{\n  \"test1\": {\n    \"key\": \"val\"\n  },\n  \"test2\": {\n    \"arr\": [1, 2, 3]\n  }\n}\n```\n\n```\njinplate test.j2 \"file:///$(pwd)/vars.json\"\n\n---\n\nkey: val\narr: [1, 2, 3]\n```\n\n# Remote Vars example\n\n```\npython -m http.server\n```\n\n```\njinplate test.j2 \"http://127.0.0.1:8000/vars.json\"\n\n---\n\nkey: val\narr: [1, 2, 3]\n```\n\n\n# Supported Vars File Schemes\n| URI Scheme | Plugin                         | Example                             |\n|------------|--------------------------------|-------------------------------------|\n| file       | `jinplate.plugins.scheme.file` | `file:////path/to/vars.yaml`        |\n| http       | `jinplate.plugins.scheme.http` | `http://127.0.0.1:8000/vars`        |\n\n\n# Supported Vars File Types\nFile types are determined by extension, but can also be overridden by appending\n`+\u003cfile_type\u003e` to the datasource URI scheme, as in `http+json://`\n\n| File type | Matching extensions | Plugin                             | Example                                                          |\n|-----------|---------------------|------------------------------------|------------------------------------------------------------------|\n| json      | `.json`             | `jinplate.plugins.filetype.json`   | `http+json://127.0.0.1:8000/vars`                                |\n| yaml      | `.yaml`, `.yml`     | `jinplate.plugins.filetype.yaml`   | `http://127.0.0.1:8000/vars.yml`\u003cbr\u003e`file:////path/to/vars.yaml` |\n| dotenv    | `.env`              | `jinplate.plugins.filetype.dotenv` | `file+env:////path/to/vars`                                      |\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevindunn%2Fjinplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevindunn%2Fjinplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevindunn%2Fjinplate/lists"}