{"id":22550976,"url":"https://github.com/louisdevie/jinja2-td","last_synced_at":"2025-07-26T11:10:43.494Z","repository":{"id":62702963,"uuid":"561871234","full_name":"louisdevie/jinja2-td","owner":"louisdevie","description":null,"archived":false,"fork":false,"pushed_at":"2022-11-04T17:55:53.000Z","size":24,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-04T04:47:45.610Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/louisdevie.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE_JINJA2","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-11-04T17:21:14.000Z","updated_at":"2024-01-29T10:45:36.000Z","dependencies_parsed_at":"2022-11-04T18:01:16.118Z","dependency_job_id":null,"html_url":"https://github.com/louisdevie/jinja2-td","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/louisdevie%2Fjinja2-td","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/louisdevie%2Fjinja2-td/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/louisdevie%2Fjinja2-td/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/louisdevie%2Fjinja2-td/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/louisdevie","download_url":"https://codeload.github.com/louisdevie/jinja2-td/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246009078,"owners_count":20708881,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-12-07T17:09:19.214Z","updated_at":"2025-07-26T11:10:43.479Z","avatar_url":"https://github.com/louisdevie.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jinja2-TD \n[![Read The Docs](https://readthedocs.org/projects/jinja2-td/badge/?version=latest)](https://jinja2-td.readthedocs.io)\n[![Tests](https://github.com/louisdevie/jinja2-td/actions/workflows/tests.yml/badge.svg)](https://github.com/louisdevie/jinja2-td/actions/workflows/tests.yml)\n[![PyPI](https://img.shields.io/pypi/v/jinja2-td)](https://pypi.org/project/Jinja2-TD)\n\nProvides information about Jinja2 template dependencies.\n\n## Install\n\n```sh\npip install jinja2-td=3.x.x\n```\n[About version requirements](https://jinja2-td.readthedocs.io/en/latest/setup.html#installation)\n\n## Example\n\n```python\n...\n\nmy_template = env.get_template(\"my_template.j2\")\n\n...\n\ntemplate_info = env.dependencies.get_template(\"my_template.j2\")\n\nparent = template_info.get_parent()\nif parent is not None:\n   print(\"This template extends\", parent.target.name)\nelse:\n   print(\"This template doesn't extend another\")\n```\n\n[Go read the docs !](https://jinja2-td.readthedocs.io)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flouisdevie%2Fjinja2-td","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flouisdevie%2Fjinja2-td","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flouisdevie%2Fjinja2-td/lists"}