pystache


Namepystache JSON
Version 0.6.5 PyPI version JSON
download
home_page
SummaryMustache for Python
upload_time2023-08-26 19:00:47
maintainer
docs_urlNone
author
requires_python>=3.8
licenseCopyright (C) 2012 Chris Jerdonek. All rights reserved. Copyright (c) 2009 Chris Wanstrath Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Pystache
========

|ci| |conda| |coverage| |bandit| |release|

|pre| |cov| |pylint|

|tag| |license| |python|


This updated fork of Pystache is currently tested on Python 3.8+ and in
Conda, on Linux, Macos, and Windows (Python 2.7 is no longer supported).

|logo|

`Pystache <https://github.com/PennyDreadfulMTG/pystache>`__ is a Python
implementation of `Mustache <https://github.com/mustache/mustache/>`__.
Mustache is a framework-agnostic, logic-free templating system inspired
by `ctemplate <https://code.google.com/p/google-ctemplate/>`__ and
et. Like ctemplate, Mustache "emphasizes separating logic from presentation:
it is impossible to embed application logic in this template language."

The `mustache(5) <https://mustache.github.io/mustache.5.html>`__ man
page provides a good introduction to Mustache's syntax. For a more
complete (and more current) description of Mustache's behavior, see the
official `Mustache spec <https://github.com/mustache/spec>`__.

Pystache is `semantically versioned <https://semver.org>`__ and older
versions can still be found on `PyPI <https://pypi.python.org/pypi/pystache>`__.
This version of Pystache now passes all tests in `version 1.1.3
<https://github.com/mustache/spec/tree/v1.1.3>`__ of the spec.


Requirements
============

Pystache is tested with:

-  Python 3.8
-  Python 3.9
-  Python 3.10
-  Python 3.11
-  Conda (py38 and py310)

JSON support is needed only for the command-line interface and to run
the spec tests; PyYAML can still be used (see the Develop section).

Official support for Python 2 has ended with Pystache version 0.6.0.


.. note:: This project uses setuptools_scm_ to generate and maintain the
          version file, which only gets included in the sdist/wheel
          packages. In a fresh clone, running any of the tox_ commands
          should generate the current version file.

.. _setuptools_scm: https://github.com/pypa/setuptools_scm
.. _tox: https://github.com/tox-dev/tox


Quick Start
===========

Be sure to get the latest release from either Pypi or Github.

Install It
----------

From Pypi::

  $ pip install pystache

Or Github::

  $ pip install -U pystache -f https://github.com/PennyDreadfulMTG/pystache/releases/


And test it::

  $ pystache-test

To install and test from source (e.g. from GitHub), see the Develop
section.

Use It
------

Open a python console::

  >>> import pystache
  >>> print(pystache.render('Hi {{person}}!', {'person': 'Mom'}))
  Hi Mom!

You can also create dedicated view classes to hold your view logic.

Here's your view class (in ../pystache/tests/examples/readme.py):

::

  class SayHello(object):
      def to(self):
          return "Pizza"

Instantiating like so:

::

  >>> from pystache.tests.examples.readme import SayHello
  >>> hello = SayHello()

Then your template, say_hello.mustache (by default in the same directory
as your class definition):

::

  Hello, {{to}}!

Pull it together:

::

  >>> renderer = pystache.Renderer()
  >>> print(renderer.render(hello))
  Hello, Pizza!

For greater control over rendering (e.g. to specify a custom template
directory), use the ``Renderer`` class like above. One can pass
attributes to the Renderer class constructor or set them on a Renderer
instance. To customize template loading on a per-view basis, subclass
``TemplateSpec``. See the docstrings of the
`Renderer <https://github.com/PennyDreadfulMTG/pystache/blob/master/pystache/renderer.py>`__
class and
`TemplateSpec <https://github.com/PennyDreadfulMTG/pystache/blob/master/pystache/template_spec.py>`__
class for more information.

You can also pre-parse a template:

::

  >>> parsed = pystache.parse(u"Hey {{#who}}{{.}}!{{/who}}")
  >>> print(parsed)
  ['Hey ', _SectionNode(key='who', index_begin=12, index_end=18, parsed=[_EscapeNode(key='.'), '!'])]

And then:

::

  >>> print(renderer.render(parsed, {'who': 'Pops'}))
  Hey Pops!
  >>> print(renderer.render(parsed, {'who': 'you'}))
  Hey you!


Unicode
-------

This section describes how Pystache handles unicode, strings, and
encodings.

Internally, Pystache uses `only unicode strings`_ (``str`` in Python 3).
For input, Pystache accepts byte strings (``bytes`` in Python 3).
For output, Pystache's template rendering methods return only unicode.

.. _only unicode strings: https://docs.python.org/howto/unicode.html#tips-for-writing-unicode-aware-programs

Pystache's ``Renderer`` class supports a number of attributes to control
how Pystache converts byte strings to unicode on input. These include
the ``file_encoding``, ``string_encoding``, and ``decode_errors`` attributes.

The ``file_encoding`` attribute is the encoding the renderer uses to
convert to unicode any files read from the file system. Similarly,
``string_encoding`` is the encoding the renderer uses to convert any other
byte strings encountered during the rendering process into unicode (e.g.
context values that are encoded byte strings).

The ``decode_errors`` attribute is what the renderer passes as the
``errors`` argument to Python's built-in unicode-decoding function
(``str()`` in Python 3). The valid values for this argument are
``strict``, ``ignore``, and ``replace``.

Each of these attributes can be set via the ``Renderer`` class's
constructor using a keyword argument of the same name. See the Renderer
class's docstrings for further details. In addition, the ``file_encoding``
attribute can be controlled on a per-view basis by subclassing the
``TemplateSpec`` class. When not specified explicitly, these attributes
default to values set in Pystache's ``defaults`` module.


Develop
=======

To test from a source distribution (without installing)::

  $ python test_pystache.py

To test Pystache with multiple versions of Python (with a single
command!) and different platforms, you can use [tox](https://pypi.python.org/pypi/tox)::

  $ pip install tox
  $ tox -e py

To run tests on multiple versions with coverage, run::

  $ tox -e py38-linux,py39-linux  # for example

(substitute your platform above, eg, macos or windows)

The source distribution tests also include doctests and tests from the
Mustache spec. To include tests from the Mustache spec in your test
runs::

  $ git submodule update --init

The test harness parses the spec's (more human-readable) yaml files if
`PyYAML <http://pypi.python.org/pypi/PyYAML>`__ is present. Otherwise,
it parses the json files. To install PyYAML::

  $ pip install pyyaml  # note this is installed automatically by tox

Once the submodule is available, you can run the full test set with::

  $ tox -e setup -- ext/spec/specs


Making Changes & Contributing
-----------------------------

We use the gitchangelog_ action to generate our github Release page, as
well as the gitchangelog message format to help it categorize/filter
commits for a tidier release page. Please use the appropriate ACTION
modifiers in any Pull Requests.

This repo is also pre-commit_ enabled for various linting and format
checks.  The checks run automatically on commit and will fail the
commit (if not clean) with some checks performing simple file corrections.

If other checks fail on commit, the failure display should explain the error
types and line numbers. Note you must fix any fatal errors for the
commit to succeed; some errors should be fixed automatically (use
``git status`` and ``git diff`` to review any changes).

Note ``pylint`` is the primary check that requires your own input, as well
as a decision as to the appropriate fix action.  You must fix any ``pylint``
warnings (relative to the baseline config score) for the commit to succeed.

See the following pages for more information on gitchangelog and pre-commit.

.. inclusion-marker-1

* generate-changelog_
* pre-commit-config_
* pre-commit-usage_

.. _generate-changelog:  docs/source/dev/generate-changelog.rst
.. _pre-commit-config: docs/source/dev/pre-commit-config.rst
.. _pre-commit-usage: docs/source/dev/pre-commit-usage.rst
.. inclusion-marker-2

You will need to install pre-commit before contributing any changes;
installing it using your system's package manager is recommended,
otherwise install with pip into your usual virtual environment using
something like::

  $ sudo emerge pre-commit  --or--
  $ pip install pre-commit

then install it into the repo you just cloned::

  $ git clone https://github.com/PennyDreadfulMTG/pystache
  $ cd pystache/
  $ pre-commit install

It's usually a good idea to update the hooks to the latest version::

    pre-commit autoupdate

.. _gitchangelog: https://github.com/sarnold/gitchangelog-action
.. _pre-commit: https://pre-commit.com/


Mailing List (old)
------------------

There is(was) a `mailing list`_. Note that there is a bit of a delay
between posting a message and seeing it appear in the mailing list archive.


.. _mailing list: https://librelist.com/browser/pystache/

Credits
=======

  >>> import pystache
  >>> context = { 'author': 'Chris Wanstrath', 'maintainer': 'Chris Jerdonek','refurbisher': 'Steve Arnold', 'new_maintainer': 'Thomas David Baker' }
  >>> print(pystache.render("Author: {{author}}\nMaintainer: {{maintainer}}\nRefurbisher: {{refurbisher}}\nNew maintainer: {{new_maintainer}}", context))
  Author: Chris Wanstrath
  Maintainer: Chris Jerdonek
  Refurbisher: Steve Arnold
  New maintainer: Thomas David Baker


Pystache logo by `David Phillips <http://davidphillips.us/>`__ is
licensed under a `Creative Commons Attribution-ShareAlike 3.0 Unported
License <https://creativecommons.org/licenses/by-sa/3.0/deed.en_US>`__.

|ccbysa|


.. |ci| image:: https://github.com/PennyDreadfulMTG/pystache/actions/workflows/ci.yml/badge.svg
    :target: https://github.com/PennyDreadfulMTG/pystache/actions/workflows/ci.yml
    :alt: CI Status

.. |conda| image:: https://github.com/PennyDreadfulMTG/pystache/actions/workflows/conda.yml/badge.svg
    :target: https://github.com/PennyDreadfulMTG/pystache/actions/workflows/conda.yml
    :alt: Conda Status

.. |coverage| image:: https://github.com/PennyDreadfulMTG/pystache/actions/workflows/coverage.yml/badge.svg
    :target: https://github.com/PennyDreadfulMTG/pystache/actions/workflows/coverage.yml
    :alt: Coverage workflow

.. |bandit| image:: https://github.com/PennyDreadfulMTG/pystache/actions/workflows/bandit.yml/badge.svg
    :target: https://github.com/PennyDreadfulMTG/pystache/actions/workflows/bandit.yml
    :alt: Security check - Bandit

.. |release| image:: https://github.com/PennyDreadfulMTG/pystache/actions/workflows/release.yml/badge.svg
    :target: https://github.com/PennyDreadfulMTG/pystache/actions/workflows/release.yml
    :alt: Release Status

.. |cov| image:: https://raw.githubusercontent.com/PennyDreadfulMTG/pystache/badges/master/test-coverage.svg
    :target: https://github.com/PennyDreadfulMTG/pystache/
    :alt: Test coverage

.. |pylint| image:: https://raw.githubusercontent.com/PennyDreadfulMTG/pystache/badges/master/pylint-score.svg
    :target: https://github.com/PennyDreadfulMTG/pystache/actions/workflows/pylint.yml
    :alt: Pylint Score

.. |license| image:: https://img.shields.io/github/license/PennyDreadfulMTG/pystache
    :target: https://github.com/PennyDreadfulMTG/pystache/blob/master/LICENSE
    :alt: License

.. |tag| image:: https://img.shields.io/github/v/tag/PennyDreadfulMTG/pystache?color=green&include_prereleases&label=latest%20release
    :target: https://github.com/PennyDreadfulMTG/pystache/releases
    :alt: GitHub tag

.. |python| image:: https://img.shields.io/badge/python-3.6+-blue.svg
    :target: https://www.python.org/downloads/
    :alt: Python

.. |pre| image:: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&amp;logoColor=white
   :target: https://github.com/pre-commit/pre-commit
   :alt: pre-commit

.. |logo| image:: gh/images/logo_phillips_small.png

.. |ccbysa| image:: https://i.creativecommons.org/l/by-sa/3.0/88x31.png

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "pystache",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "Thomas David Baker <bakert@gmail.com>",
    "keywords": "",
    "author": "",
    "author_email": "Chris Wanstrath <chris@ozmm.org>",
    "download_url": "https://files.pythonhosted.org/packages/4d/6f/e3d8ec5c636dc69a6dadd27674addc8abf5627c927d3cbcd853b3ba9093d/pystache-0.6.5.tar.gz",
    "platform": null,
    "description": "Pystache\n========\n\n|ci| |conda| |coverage| |bandit| |release|\n\n|pre| |cov| |pylint|\n\n|tag| |license| |python|\n\n\nThis updated fork of Pystache is currently tested on Python 3.8+ and in\nConda, on Linux, Macos, and Windows (Python 2.7 is no longer supported).\n\n|logo|\n\n`Pystache <https://github.com/PennyDreadfulMTG/pystache>`__ is a Python\nimplementation of `Mustache <https://github.com/mustache/mustache/>`__.\nMustache is a framework-agnostic, logic-free templating system inspired\nby `ctemplate <https://code.google.com/p/google-ctemplate/>`__ and\net. Like ctemplate, Mustache \"emphasizes separating logic from presentation:\nit is impossible to embed application logic in this template language.\"\n\nThe `mustache(5) <https://mustache.github.io/mustache.5.html>`__ man\npage provides a good introduction to Mustache's syntax. For a more\ncomplete (and more current) description of Mustache's behavior, see the\nofficial `Mustache spec <https://github.com/mustache/spec>`__.\n\nPystache is `semantically versioned <https://semver.org>`__ and older\nversions can still be found on `PyPI <https://pypi.python.org/pypi/pystache>`__.\nThis version of Pystache now passes all tests in `version 1.1.3\n<https://github.com/mustache/spec/tree/v1.1.3>`__ of the spec.\n\n\nRequirements\n============\n\nPystache is tested with:\n\n-  Python 3.8\n-  Python 3.9\n-  Python 3.10\n-  Python 3.11\n-  Conda (py38 and py310)\n\nJSON support is needed only for the command-line interface and to run\nthe spec tests; PyYAML can still be used (see the Develop section).\n\nOfficial support for Python 2 has ended with Pystache version 0.6.0.\n\n\n.. note:: This project uses setuptools_scm_ to generate and maintain the\n          version file, which only gets included in the sdist/wheel\n          packages. In a fresh clone, running any of the tox_ commands\n          should generate the current version file.\n\n.. _setuptools_scm: https://github.com/pypa/setuptools_scm\n.. _tox: https://github.com/tox-dev/tox\n\n\nQuick Start\n===========\n\nBe sure to get the latest release from either Pypi or Github.\n\nInstall It\n----------\n\nFrom Pypi::\n\n  $ pip install pystache\n\nOr Github::\n\n  $ pip install -U pystache -f https://github.com/PennyDreadfulMTG/pystache/releases/\n\n\nAnd test it::\n\n  $ pystache-test\n\nTo install and test from source (e.g. from GitHub), see the Develop\nsection.\n\nUse It\n------\n\nOpen a python console::\n\n  >>> import pystache\n  >>> print(pystache.render('Hi {{person}}!', {'person': 'Mom'}))\n  Hi Mom!\n\nYou can also create dedicated view classes to hold your view logic.\n\nHere's your view class (in ../pystache/tests/examples/readme.py):\n\n::\n\n  class SayHello(object):\n      def to(self):\n          return \"Pizza\"\n\nInstantiating like so:\n\n::\n\n  >>> from pystache.tests.examples.readme import SayHello\n  >>> hello = SayHello()\n\nThen your template, say_hello.mustache (by default in the same directory\nas your class definition):\n\n::\n\n  Hello, {{to}}!\n\nPull it together:\n\n::\n\n  >>> renderer = pystache.Renderer()\n  >>> print(renderer.render(hello))\n  Hello, Pizza!\n\nFor greater control over rendering (e.g. to specify a custom template\ndirectory), use the ``Renderer`` class like above. One can pass\nattributes to the Renderer class constructor or set them on a Renderer\ninstance. To customize template loading on a per-view basis, subclass\n``TemplateSpec``. See the docstrings of the\n`Renderer <https://github.com/PennyDreadfulMTG/pystache/blob/master/pystache/renderer.py>`__\nclass and\n`TemplateSpec <https://github.com/PennyDreadfulMTG/pystache/blob/master/pystache/template_spec.py>`__\nclass for more information.\n\nYou can also pre-parse a template:\n\n::\n\n  >>> parsed = pystache.parse(u\"Hey {{#who}}{{.}}!{{/who}}\")\n  >>> print(parsed)\n  ['Hey ', _SectionNode(key='who', index_begin=12, index_end=18, parsed=[_EscapeNode(key='.'), '!'])]\n\nAnd then:\n\n::\n\n  >>> print(renderer.render(parsed, {'who': 'Pops'}))\n  Hey Pops!\n  >>> print(renderer.render(parsed, {'who': 'you'}))\n  Hey you!\n\n\nUnicode\n-------\n\nThis section describes how Pystache handles unicode, strings, and\nencodings.\n\nInternally, Pystache uses `only unicode strings`_ (``str`` in Python 3).\nFor input, Pystache accepts byte strings (``bytes`` in Python 3).\nFor output, Pystache's template rendering methods return only unicode.\n\n.. _only unicode strings: https://docs.python.org/howto/unicode.html#tips-for-writing-unicode-aware-programs\n\nPystache's ``Renderer`` class supports a number of attributes to control\nhow Pystache converts byte strings to unicode on input. These include\nthe ``file_encoding``, ``string_encoding``, and ``decode_errors`` attributes.\n\nThe ``file_encoding`` attribute is the encoding the renderer uses to\nconvert to unicode any files read from the file system. Similarly,\n``string_encoding`` is the encoding the renderer uses to convert any other\nbyte strings encountered during the rendering process into unicode (e.g.\ncontext values that are encoded byte strings).\n\nThe ``decode_errors`` attribute is what the renderer passes as the\n``errors`` argument to Python's built-in unicode-decoding function\n(``str()`` in Python 3). The valid values for this argument are\n``strict``, ``ignore``, and ``replace``.\n\nEach of these attributes can be set via the ``Renderer`` class's\nconstructor using a keyword argument of the same name. See the Renderer\nclass's docstrings for further details. In addition, the ``file_encoding``\nattribute can be controlled on a per-view basis by subclassing the\n``TemplateSpec`` class. When not specified explicitly, these attributes\ndefault to values set in Pystache's ``defaults`` module.\n\n\nDevelop\n=======\n\nTo test from a source distribution (without installing)::\n\n  $ python test_pystache.py\n\nTo test Pystache with multiple versions of Python (with a single\ncommand!) and different platforms, you can use [tox](https://pypi.python.org/pypi/tox)::\n\n  $ pip install tox\n  $ tox -e py\n\nTo run tests on multiple versions with coverage, run::\n\n  $ tox -e py38-linux,py39-linux  # for example\n\n(substitute your platform above, eg, macos or windows)\n\nThe source distribution tests also include doctests and tests from the\nMustache spec. To include tests from the Mustache spec in your test\nruns::\n\n  $ git submodule update --init\n\nThe test harness parses the spec's (more human-readable) yaml files if\n`PyYAML <http://pypi.python.org/pypi/PyYAML>`__ is present. Otherwise,\nit parses the json files. To install PyYAML::\n\n  $ pip install pyyaml  # note this is installed automatically by tox\n\nOnce the submodule is available, you can run the full test set with::\n\n  $ tox -e setup -- ext/spec/specs\n\n\nMaking Changes & Contributing\n-----------------------------\n\nWe use the gitchangelog_ action to generate our github Release page, as\nwell as the gitchangelog message format to help it categorize/filter\ncommits for a tidier release page. Please use the appropriate ACTION\nmodifiers in any Pull Requests.\n\nThis repo is also pre-commit_ enabled for various linting and format\nchecks.  The checks run automatically on commit and will fail the\ncommit (if not clean) with some checks performing simple file corrections.\n\nIf other checks fail on commit, the failure display should explain the error\ntypes and line numbers. Note you must fix any fatal errors for the\ncommit to succeed; some errors should be fixed automatically (use\n``git status`` and ``git diff`` to review any changes).\n\nNote ``pylint`` is the primary check that requires your own input, as well\nas a decision as to the appropriate fix action.  You must fix any ``pylint``\nwarnings (relative to the baseline config score) for the commit to succeed.\n\nSee the following pages for more information on gitchangelog and pre-commit.\n\n.. inclusion-marker-1\n\n* generate-changelog_\n* pre-commit-config_\n* pre-commit-usage_\n\n.. _generate-changelog:  docs/source/dev/generate-changelog.rst\n.. _pre-commit-config: docs/source/dev/pre-commit-config.rst\n.. _pre-commit-usage: docs/source/dev/pre-commit-usage.rst\n.. inclusion-marker-2\n\nYou will need to install pre-commit before contributing any changes;\ninstalling it using your system's package manager is recommended,\notherwise install with pip into your usual virtual environment using\nsomething like::\n\n  $ sudo emerge pre-commit  --or--\n  $ pip install pre-commit\n\nthen install it into the repo you just cloned::\n\n  $ git clone https://github.com/PennyDreadfulMTG/pystache\n  $ cd pystache/\n  $ pre-commit install\n\nIt's usually a good idea to update the hooks to the latest version::\n\n    pre-commit autoupdate\n\n.. _gitchangelog: https://github.com/sarnold/gitchangelog-action\n.. _pre-commit: https://pre-commit.com/\n\n\nMailing List (old)\n------------------\n\nThere is(was) a `mailing list`_. Note that there is a bit of a delay\nbetween posting a message and seeing it appear in the mailing list archive.\n\n\n.. _mailing list: https://librelist.com/browser/pystache/\n\nCredits\n=======\n\n  >>> import pystache\n  >>> context = { 'author': 'Chris Wanstrath', 'maintainer': 'Chris Jerdonek','refurbisher': 'Steve Arnold', 'new_maintainer': 'Thomas David Baker' }\n  >>> print(pystache.render(\"Author: {{author}}\\nMaintainer: {{maintainer}}\\nRefurbisher: {{refurbisher}}\\nNew maintainer: {{new_maintainer}}\", context))\n  Author: Chris Wanstrath\n  Maintainer: Chris Jerdonek\n  Refurbisher: Steve Arnold\n  New maintainer: Thomas David Baker\n\n\nPystache logo by `David Phillips <http://davidphillips.us/>`__ is\nlicensed under a `Creative Commons Attribution-ShareAlike 3.0 Unported\nLicense <https://creativecommons.org/licenses/by-sa/3.0/deed.en_US>`__.\n\n|ccbysa|\n\n\n.. |ci| image:: https://github.com/PennyDreadfulMTG/pystache/actions/workflows/ci.yml/badge.svg\n    :target: https://github.com/PennyDreadfulMTG/pystache/actions/workflows/ci.yml\n    :alt: CI Status\n\n.. |conda| image:: https://github.com/PennyDreadfulMTG/pystache/actions/workflows/conda.yml/badge.svg\n    :target: https://github.com/PennyDreadfulMTG/pystache/actions/workflows/conda.yml\n    :alt: Conda Status\n\n.. |coverage| image:: https://github.com/PennyDreadfulMTG/pystache/actions/workflows/coverage.yml/badge.svg\n    :target: https://github.com/PennyDreadfulMTG/pystache/actions/workflows/coverage.yml\n    :alt: Coverage workflow\n\n.. |bandit| image:: https://github.com/PennyDreadfulMTG/pystache/actions/workflows/bandit.yml/badge.svg\n    :target: https://github.com/PennyDreadfulMTG/pystache/actions/workflows/bandit.yml\n    :alt: Security check - Bandit\n\n.. |release| image:: https://github.com/PennyDreadfulMTG/pystache/actions/workflows/release.yml/badge.svg\n    :target: https://github.com/PennyDreadfulMTG/pystache/actions/workflows/release.yml\n    :alt: Release Status\n\n.. |cov| image:: https://raw.githubusercontent.com/PennyDreadfulMTG/pystache/badges/master/test-coverage.svg\n    :target: https://github.com/PennyDreadfulMTG/pystache/\n    :alt: Test coverage\n\n.. |pylint| image:: https://raw.githubusercontent.com/PennyDreadfulMTG/pystache/badges/master/pylint-score.svg\n    :target: https://github.com/PennyDreadfulMTG/pystache/actions/workflows/pylint.yml\n    :alt: Pylint Score\n\n.. |license| image:: https://img.shields.io/github/license/PennyDreadfulMTG/pystache\n    :target: https://github.com/PennyDreadfulMTG/pystache/blob/master/LICENSE\n    :alt: License\n\n.. |tag| image:: https://img.shields.io/github/v/tag/PennyDreadfulMTG/pystache?color=green&include_prereleases&label=latest%20release\n    :target: https://github.com/PennyDreadfulMTG/pystache/releases\n    :alt: GitHub tag\n\n.. |python| image:: https://img.shields.io/badge/python-3.6+-blue.svg\n    :target: https://www.python.org/downloads/\n    :alt: Python\n\n.. |pre| image:: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&amp;logoColor=white\n   :target: https://github.com/pre-commit/pre-commit\n   :alt: pre-commit\n\n.. |logo| image:: gh/images/logo_phillips_small.png\n\n.. |ccbysa| image:: https://i.creativecommons.org/l/by-sa/3.0/88x31.png\n",
    "bugtrack_url": null,
    "license": "Copyright (C) 2012 Chris Jerdonek.  All rights reserved.  Copyright (c) 2009 Chris Wanstrath  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
    "summary": "Mustache for Python",
    "version": "0.6.5",
    "project_urls": {
        "Changelog": "https://github.com/PennyDreadfulMTG/pystache/blob/master/CHANGELOG.rst",
        "Documentation": "http://mustache.github.io/",
        "Homepage": "https://github.com/PennyDreadfulMTG/pystache",
        "Repository": "https://github.com/PennyDreadfulMTG/pystache.git"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e39218f89156ffdb31115a29c98a3a1280aa248c5eec6fda5a6fb64168a6d069",
                "md5": "4c3b3c7630bc37f5e29a12e9792673ee",
                "sha256": "84546278219431f1a2ecc86a627cc1b0fe3c83b5612f8a7d9c81ea0119ac8f49"
            },
            "downloads": -1,
            "filename": "pystache-0.6.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4c3b3c7630bc37f5e29a12e9792673ee",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 81268,
            "upload_time": "2023-08-26T19:00:46",
            "upload_time_iso_8601": "2023-08-26T19:00:46.019394Z",
            "url": "https://files.pythonhosted.org/packages/e3/92/18f89156ffdb31115a29c98a3a1280aa248c5eec6fda5a6fb64168a6d069/pystache-0.6.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4d6fe3d8ec5c636dc69a6dadd27674addc8abf5627c927d3cbcd853b3ba9093d",
                "md5": "c20250cf45a205676491ee4e667ca882",
                "sha256": "9f238d5a06f18843e0d491d8e4e292dc03fed6a54cb0a5c34be37a3faa973174"
            },
            "downloads": -1,
            "filename": "pystache-0.6.5.tar.gz",
            "has_sig": false,
            "md5_digest": "c20250cf45a205676491ee4e667ca882",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 100731,
            "upload_time": "2023-08-26T19:00:47",
            "upload_time_iso_8601": "2023-08-26T19:00:47.746921Z",
            "url": "https://files.pythonhosted.org/packages/4d/6f/e3d8ec5c636dc69a6dadd27674addc8abf5627c927d3cbcd853b3ba9093d/pystache-0.6.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-26 19:00:47",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "PennyDreadfulMTG",
    "github_project": "pystache",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "pystache"
}
        
Elapsed time: 0.11405s