All Projects → wemake-services → jinja2-git

wemake-services / jinja2-git

Licence: MIT license
Jinja2 extension to handle git-specific things

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to jinja2-git

ansible-role-k8s
This role render an arbitrary number of Jinja2 templates and deploys or removes them to/from Kubernetes clusters.
Stars: ✭ 26 (+116.67%)
Mutual labels:  jinja2, jinja2-templates
lbuild
lbuild: a generic, modular code generator in Python 3
Stars: ✭ 22 (+83.33%)
Mutual labels:  jinja2, jinja2-templates
ttl255.com
ttl255.com - Resources
Stars: ✭ 31 (+158.33%)
Mutual labels:  jinja2, jinja2-templates
Cookie
A Template-based File Generator. Like cookiecutter but works with file templates instead of project templates.
Stars: ✭ 261 (+2075%)
Mutual labels:  jinja2, cookiecutter
at-python-template
The official Python Project Template of Alexander Thamm GmbH
Stars: ✭ 34 (+183.33%)
Mutual labels:  cookiecutter
talkshow
A Call 4 Papers System - A simple base app as example of Flask Architecture
Stars: ✭ 56 (+366.67%)
Mutual labels:  cookiecutter
datasets
The primary repository for all of the CORGIS Datasets
Stars: ✭ 19 (+58.33%)
Mutual labels:  jinja2
cookiecutter-reveal.js
📊 A cookiecutter template for reveal.js presentations.
Stars: ✭ 15 (+25%)
Mutual labels:  cookiecutter
django-template
The ultimate Django template: production ready Django 3.2 with Docker, HTTPS and CI/CD using Github actions ‎️‍🔥
Stars: ✭ 20 (+66.67%)
Mutual labels:  cookiecutter
jinja2-time
📆 Jinja2 Extension for Dates and Times
Stars: ✭ 64 (+433.33%)
Mutual labels:  jinja2
web-7.0
The freenode website, home to our blog, knowledge base and policies
Stars: ✭ 112 (+833.33%)
Mutual labels:  jinja2
cookiecutter-qt-app
A cookiecutter to create Qt applications, with translations and packaging
Stars: ✭ 29 (+141.67%)
Mutual labels:  cookiecutter
dst
yet another custom data science template via cookiecutter
Stars: ✭ 59 (+391.67%)
Mutual labels:  cookiecutter
pypackage
Cookiecutter python package using Poetry, mypy, black, isort, autoflake, pytest, mkdocs, and GitHub Actions
Stars: ✭ 12 (+0%)
Mutual labels:  cookiecutter
minijinja
MiniJinja is a powerful but minimal dependency template engine for Rust
Stars: ✭ 540 (+4400%)
Mutual labels:  jinja2
roundup
un-official mirror of http://hg.code.sf.net/p/roundup/code -- used for CI. Please visit https://issues.roundup-tracker.org for finding starter issues or log new issues.
Stars: ✭ 20 (+66.67%)
Mutual labels:  jinja2
ansible-avd
Ansible Arista Validated Design
Stars: ✭ 134 (+1016.67%)
Mutual labels:  jinja2
Flask-QRcode
A concise Flask extension to easily render QR codes on Jinja2 templates using python-qrcode.
Stars: ✭ 89 (+641.67%)
Mutual labels:  jinja2
cookiecutter-pypackage-pythonic
Pythonic cookiecutter template for a Python package. See https://github.com/audreyr/cookiecutter.
Stars: ✭ 29 (+141.67%)
Mutual labels:  cookiecutter
flask-project-template
DO NOT FORK, CLICK "Use this template" - A github template to start a Flask Project - this uses github actions to generate your project based on the template.
Stars: ✭ 74 (+516.67%)
Mutual labels:  cookiecutter

Jinja2 extension to handle git-specific things

wemake.services test codecov Python versions wemake-python-styleguide

Installation

$ pip install jinja2-git

Reasoning

This plugin is used to render commit hash in jinja2 templates. We are using it to render our template version in cookicutter:

Usage

Add it as an extension for jinja2 or cookiecutter.

And then inside a template:

from jinja2 import Environment

env = Environment(extensions=['jinja2_git.GitExtension'])
template = env.from_string('Commit is: {% gitcommit %}')
# => Commit is: c644682f4899d7e98147ce3a61a11bb13c52b3a0

Or short version:

from jinja2 import Environment

env = Environment(extensions=['jinja2_git.GitExtension'])
template = env.from_string('Commit is: {% gitcommit short=True %}')
# => Commit is: c644682

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].