Skip to content

jg-rp/liquid-extra

Repository files navigation

Liquid Extra

A collection of extra tags and filters for Python Liquid.

Version

Licence

Python versions

Notice

Extra tags and filters are now included in Python Liquid. Wherever possible, you should use extra tags and filters included in Python Liquid over those found here. See https://jg-rp.github.io/liquid/extra/introduction.

Python Liquid Extra will continue to be maintained and is expected to work with Python Liquid up to, but not including, version 2.0.0 (unreleased).

Installing

Install Python Liquid Extra using Pipenv:

$ pipenv install python-liquid-extra

Or pip:

$ python -m pip install -U python-liquid-extra

Contributing

  • Install development dependencies with Pipenv
  • Python Liquid uses type hints and static type checking. Run mypy or tox -e typing to check for typing issues.
  • Format code using black.
  • Write tests using unittest.TestCase.
  • Run tests with make test or python -m unittest or pytest.
  • Check test coverage with make coverage and open htmlcov/index.html in your browser.
  • Check your changes have not adversely affected performance with make benchmark.