{"library":"pypugjs","title":"PyPugJS","description":"PyPugJS is a Python port of the PugJS (formerly Jade) template engine. It provides a syntax adapter for Django, Jinja2, Mako, and Tornado templates. The current version is 6.0.3, with an active development cadence. Note that v6.0.0 dropped support for Python versions below 3.10.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install pypugjs"],"cli":{"name":"pypugjs","version":"Usage: pypugjs [options] [file [output]]"}},"imports":["from pypugjs.ext.django import PyPugJSTemplate","from pypugjs.ext.jinja import Preprocessor"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from pypugjs.ext.django import PyPugJSTemplate\n\n# Use as Django template backend:\nTEMPLATES = [\n    {\n        'BACKEND': 'django.template.backends.django.DjangoTemplates',\n        'DIRS': [],\n        'OPTIONS': {\n            'loaders': [\n                ('django.template.loaders.cached.Loader', [\n                    'django.template.loaders.filesystem.Loader',\n                ]),\n            ],\n            'builtins': ['pypugjs.ext.django.templatetags'],\n        },\n    },\n]","lang":"python","description":"Basic Django integration with PyPugJS","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}