django-safe-template-engine


Namedjango-safe-template-engine JSON
Version 1.3.1 PyPI version JSON
download
home_pageNone
SummaryA Django template engine to render untrusted template code
upload_time2024-04-18 01:53:55
maintainerNone
docs_urlNone
authorNone
requires_python>=3.7
licenseBSD 3-Clause License Copyright (c) 2024, Ronan Boiteau Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
keywords django engine safe template
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ![GitHub Actions build status](https://github.com/ronanboiteau/django_safe_template_engine/actions/workflows/build.yml/badge.svg?branch=main)

# Django Safe Template Engine

Django template engine to render untrusted template code

## Table of contents

* __[Requirements](#requirements)__
* __[Available tools](#available-tools)__
    * [Template engine](#template-engine)
    * [Validator](#validator)
* __[Trusted built-ins](#trusted-built-ins)__
    * [Trusted tags](#trusted-tags)
    * [Trusted filters](#trusted-filters)
* __[Contribute](#contribute)__
    * [How to contribute](#how-to-contribute)
    * [Code formatting and tests](#code-formatting-and-tests)
    * [Ignore code formatting revisions from git blame](#ignore-code-formatting-revisions-from-git-blame)

## Requirements

Django 3.0 to 5.0

## Available tools

### Template engine

```py
from django.template import Template
from django_safe_template_engine.engine import SafeTemplateEngine

safe_engine = SafeTemplateEngine()
Template(source, engine=safe_engine)
```

### Validator

```py
from django_safe_template_engine.validators import validate_safe_engine_template_syntax

template_code = '{% include "hacked.html" %}'
validate_safe_engine_template_syntax(template_code)
```

## Trusted built-ins

The following tags and filters are allowed by this template engine.

### Trusted tags

- [`autoescape`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#autoescape)
- [`comment`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#comment)
- [`cycle`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#cycle)
- [`filter`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#filter)
- [`firstof`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#firstof)
- [`for`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#for)
- [`for … empty`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#for-empty)
- [`if`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#if)
- [`ifchanged`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#ifchanged)
- [`lorem`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#lorem)
- [`now`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#now)
- [`regroup`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#regroup)
- [`resetcycle`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#resetcycle)
- [`spaceless`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#spaceless)
- [`templatetag`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#templatetag)
- [`url`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#url)
- [`verbatim`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#verbatim)
- [`widthratio`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#widthratio)
- [`with`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#with)

### Trusted filters

<!-- TODO: Check for dead links -->
- [`add`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#add)
- [`addslashes`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#addslashes)
- [`capfirst`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#capfirst)
- [`center`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#center)
- [`cut`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#cut)
- [`date`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#date)
- [`default_if_none`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#default_if_none)
- [`default`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#default)
- [`dictsort`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#dictsort)
- [`dictsortreversed`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#dictsortreversed)
- [`divisibleby`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#divisibleby)
- [`escape`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#escape)
- [`escapejs`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#escapejs)
- [`filesizeformat`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#filesizeformat)
- [`first`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#first)
- [`floatformat`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#floatformat)
- [`force_escape`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#force_escape)
- [`get_digit`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#get_digit)
- [`iriencode`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#iriencode)
- [`join`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#join)
- [`json_script`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#json_script)
- [`last`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#last)
- [`length_is`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#length_is)
- [`length`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#length)
- [`linebreaks`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#linebreaks)
- [`linebreaksbr`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#linebreaksbr)
- [`linenumbers`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#linenumbers)
- [`ljust`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#ljust)
- [`lower`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#lower)
- [`make_list`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#make_list)
- [`phone2numeric`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#phone2numeric)
- [`pluralize`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#pluralize)
- [`random`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#random)
- [`rjust`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#rjust)
- [`safe`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#safe)
- [`safeseq`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#safeseq)
- [`slice`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#slice)
- [`slugify`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#slugify)
- [`stringformat`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#stringformat)
- [`striptags`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#striptags)
- [`time`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#time)
- [`timesince`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#timesince)
- [`timeuntil`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#timeuntil)
- [`title`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#title)
- [`truncatechars_html`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#truncatechars_html)
- [`truncatechars`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#truncatechars)
- [`truncatewords_html`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#truncatewords_html)
- [`truncatewords`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#truncatewords)
- [`unordered_list`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#unordered_list)
- [`upper`](https://docs.djangopr§oject.com/en/4.2/ref/templates/builtins/#upper)
- [`urlencode`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#urlencode)
- [`urlize`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#urlize)
- [`urlizetrunc`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#urlizetrunc)
- [`wordcount`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#wordcount)
- [`wordwrap`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#wordwrap)
- [`yesno`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#yesno)

## Contribute

### How to contribute

You want to add awesome features to Django Safe Template Engine? Here's how!

1. [Fork](https://github.com/ronanboiteau/django_safe_template_engine/fork) this repository
2. Commit and push to your forked repository
3. Open a [pull request](https://github.com/ronanboiteau/django_safe_template_engine/pulls) to merge your work into this repository

### Code formatting and tests

You can use [tox](https://tox.wiki/) to run the code formatting / type checking tools, and run the test suite:

```sh
tox run
```

### Ignore code formatting revisions from git blame

For a more relevant git blame you can set up your git to use the file [`.git-blame-ignore-revs`](.git-blame-ignore-revs) in [`blame.ignoreRevsFile`](https://www.git-scm.com/docs/git-blame#Documentation/git-blame.txt---ignore-revs-fileltfilegt):

```sh
git config blame.ignoreRevsFile .git-blame-ignore-revs
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "django-safe-template-engine",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "Ronan Boiteau <ronan@boiteau.eu>",
    "keywords": "django, engine, safe, template",
    "author": null,
    "author_email": "Ronan Boiteau <ronan@boiteau.eu>",
    "download_url": "https://files.pythonhosted.org/packages/a7/8a/bf5ce95b2b71313997180a4c99f20608dfd164cc69c8d160397a52420d7c/django_safe_template_engine-1.3.1.tar.gz",
    "platform": null,
    "description": "![GitHub Actions build status](https://github.com/ronanboiteau/django_safe_template_engine/actions/workflows/build.yml/badge.svg?branch=main)\n\n# Django Safe Template Engine\n\nDjango template engine to render untrusted template code\n\n## Table of contents\n\n* __[Requirements](#requirements)__\n* __[Available tools](#available-tools)__\n    * [Template engine](#template-engine)\n    * [Validator](#validator)\n* __[Trusted built-ins](#trusted-built-ins)__\n    * [Trusted tags](#trusted-tags)\n    * [Trusted filters](#trusted-filters)\n* __[Contribute](#contribute)__\n    * [How to contribute](#how-to-contribute)\n    * [Code formatting and tests](#code-formatting-and-tests)\n    * [Ignore code formatting revisions from git blame](#ignore-code-formatting-revisions-from-git-blame)\n\n## Requirements\n\nDjango 3.0 to 5.0\n\n## Available tools\n\n### Template engine\n\n```py\nfrom django.template import Template\nfrom django_safe_template_engine.engine import SafeTemplateEngine\n\nsafe_engine = SafeTemplateEngine()\nTemplate(source, engine=safe_engine)\n```\n\n### Validator\n\n```py\nfrom django_safe_template_engine.validators import validate_safe_engine_template_syntax\n\ntemplate_code = '{% include \"hacked.html\" %}'\nvalidate_safe_engine_template_syntax(template_code)\n```\n\n## Trusted built-ins\n\nThe following tags and filters are allowed by this template engine.\n\n### Trusted tags\n\n- [`autoescape`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#autoescape)\n- [`comment`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#comment)\n- [`cycle`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#cycle)\n- [`filter`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#filter)\n- [`firstof`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#firstof)\n- [`for`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#for)\n- [`for \u2026 empty`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#for-empty)\n- [`if`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#if)\n- [`ifchanged`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#ifchanged)\n- [`lorem`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#lorem)\n- [`now`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#now)\n- [`regroup`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#regroup)\n- [`resetcycle`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#resetcycle)\n- [`spaceless`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#spaceless)\n- [`templatetag`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#templatetag)\n- [`url`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#url)\n- [`verbatim`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#verbatim)\n- [`widthratio`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#widthratio)\n- [`with`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#with)\n\n### Trusted filters\n\n<!-- TODO: Check for dead links -->\n- [`add`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#add)\n- [`addslashes`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#addslashes)\n- [`capfirst`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#capfirst)\n- [`center`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#center)\n- [`cut`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#cut)\n- [`date`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#date)\n- [`default_if_none`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#default_if_none)\n- [`default`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#default)\n- [`dictsort`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#dictsort)\n- [`dictsortreversed`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#dictsortreversed)\n- [`divisibleby`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#divisibleby)\n- [`escape`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#escape)\n- [`escapejs`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#escapejs)\n- [`filesizeformat`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#filesizeformat)\n- [`first`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#first)\n- [`floatformat`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#floatformat)\n- [`force_escape`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#force_escape)\n- [`get_digit`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#get_digit)\n- [`iriencode`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#iriencode)\n- [`join`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#join)\n- [`json_script`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#json_script)\n- [`last`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#last)\n- [`length_is`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#length_is)\n- [`length`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#length)\n- [`linebreaks`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#linebreaks)\n- [`linebreaksbr`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#linebreaksbr)\n- [`linenumbers`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#linenumbers)\n- [`ljust`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#ljust)\n- [`lower`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#lower)\n- [`make_list`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#make_list)\n- [`phone2numeric`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#phone2numeric)\n- [`pluralize`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#pluralize)\n- [`random`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#random)\n- [`rjust`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#rjust)\n- [`safe`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#safe)\n- [`safeseq`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#safeseq)\n- [`slice`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#slice)\n- [`slugify`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#slugify)\n- [`stringformat`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#stringformat)\n- [`striptags`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#striptags)\n- [`time`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#time)\n- [`timesince`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#timesince)\n- [`timeuntil`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#timeuntil)\n- [`title`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#title)\n- [`truncatechars_html`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#truncatechars_html)\n- [`truncatechars`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#truncatechars)\n- [`truncatewords_html`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#truncatewords_html)\n- [`truncatewords`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#truncatewords)\n- [`unordered_list`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#unordered_list)\n- [`upper`](https://docs.djangopr\u00a7oject.com/en/4.2/ref/templates/builtins/#upper)\n- [`urlencode`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#urlencode)\n- [`urlize`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#urlize)\n- [`urlizetrunc`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#urlizetrunc)\n- [`wordcount`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#wordcount)\n- [`wordwrap`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#wordwrap)\n- [`yesno`](https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#yesno)\n\n## Contribute\n\n### How to contribute\n\nYou want to add awesome features to Django Safe Template Engine? Here's how!\n\n1. [Fork](https://github.com/ronanboiteau/django_safe_template_engine/fork) this repository\n2. Commit and push to your forked repository\n3. Open a [pull request](https://github.com/ronanboiteau/django_safe_template_engine/pulls) to merge your work into this repository\n\n### Code formatting and tests\n\nYou can use [tox](https://tox.wiki/) to run the code formatting / type checking tools, and run the test suite:\n\n```sh\ntox run\n```\n\n### Ignore code formatting revisions from git blame\n\nFor a more relevant git blame you can set up your git to use the file [`.git-blame-ignore-revs`](.git-blame-ignore-revs) in [`blame.ignoreRevsFile`](https://www.git-scm.com/docs/git-blame#Documentation/git-blame.txt---ignore-revs-fileltfilegt):\n\n```sh\ngit config blame.ignoreRevsFile .git-blame-ignore-revs\n```\n",
    "bugtrack_url": null,
    "license": "BSD 3-Clause License  Copyright (c) 2024, Ronan Boiteau  Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.  3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.",
    "summary": "A Django template engine to render untrusted template code",
    "version": "1.3.1",
    "project_urls": {
        "Changelog": "https://github.com/ronanboiteau/django_safe_template_engine/blob/main/CHANGELOG.md",
        "Documentation": "https://github.com/ronanboiteau/django_safe_template_engine/blob/main/README.md",
        "Issues": "https://github.com/ronanboiteau/django_safe_template_engine/issues",
        "Repository": "https://github.com/ronanboiteau/django_safe_template_engine.git"
    },
    "split_keywords": [
        "django",
        " engine",
        " safe",
        " template"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e42e9ee6e6784b3c2258d318feed6d87f8c017b5e07d3b2e928ef1937b32ad0d",
                "md5": "04e52189dba79c44bfc2a5263e59a410",
                "sha256": "e534ec2a8797f49179eb6bebbc5ec0757289d657abcf6610922ed60b5da5fd88"
            },
            "downloads": -1,
            "filename": "django_safe_template_engine-1.3.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "04e52189dba79c44bfc2a5263e59a410",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 7201,
            "upload_time": "2024-04-18T01:53:53",
            "upload_time_iso_8601": "2024-04-18T01:53:53.773434Z",
            "url": "https://files.pythonhosted.org/packages/e4/2e/9ee6e6784b3c2258d318feed6d87f8c017b5e07d3b2e928ef1937b32ad0d/django_safe_template_engine-1.3.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a78abf5ce95b2b71313997180a4c99f20608dfd164cc69c8d160397a52420d7c",
                "md5": "4cb75108458095cd115d7f5125cf3337",
                "sha256": "ea4f8284613a6b8c96d4fb29cc545f4a0ae614d5556528e03ab2a077e6f186dc"
            },
            "downloads": -1,
            "filename": "django_safe_template_engine-1.3.1.tar.gz",
            "has_sig": false,
            "md5_digest": "4cb75108458095cd115d7f5125cf3337",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 10393,
            "upload_time": "2024-04-18T01:53:55",
            "upload_time_iso_8601": "2024-04-18T01:53:55.347293Z",
            "url": "https://files.pythonhosted.org/packages/a7/8a/bf5ce95b2b71313997180a4c99f20608dfd164cc69c8d160397a52420d7c/django_safe_template_engine-1.3.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-18 01:53:55",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ronanboiteau",
    "github_project": "django_safe_template_engine",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "django-safe-template-engine"
}
        
Elapsed time: 0.24565s