python-liquid 2.0.0__py3-none-any.whl → 2.0.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
liquid/__init__.py CHANGED
@@ -56,7 +56,7 @@ from .tag import Tag
56
56
 
57
57
  from . import future
58
58
 
59
- __version__ = "2.0.0"
59
+ __version__ = "2.0.1"
60
60
 
61
61
  __all__ = (
62
62
  "AwareBoundTemplate",
@@ -10,8 +10,7 @@ from typing import Awaitable
10
10
  from typing import Callable
11
11
  from typing import Mapping
12
12
  from typing import Optional
13
-
14
- from typing_extensions import Protocol
13
+ from typing import Protocol
15
14
 
16
15
  from liquid.utils import LRUCache
17
16
  from liquid.utils import ThreadSafeLRUCache
liquid/messages.py CHANGED
@@ -12,10 +12,10 @@ from typing import Callable
12
12
  from typing import Iterable
13
13
  from typing import Iterator
14
14
  from typing import NamedTuple
15
+ from typing import Protocol
15
16
  from typing import Union
16
17
 
17
18
  from babel.messages import Catalog
18
- from typing_extensions import Protocol
19
19
 
20
20
  from .builtin.expressions import Filter
21
21
  from .builtin.expressions import FilteredExpression
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-liquid
3
- Version: 2.0.0
3
+ Version: 2.0.1
4
4
  Summary: A Python engine for the Liquid template language.
5
5
  Project-URL: Change Log, https://github.com/jg-rp/liquid/blob/main/CHANGES.md
6
6
  Project-URL: Documentation, https://jg-rp.github.io/liquid/
@@ -36,23 +36,15 @@ Python Liquid is a Python engine for <a href="https://shopify.github.io/liquid/"
36
36
  We follow <a href="https://github.com/Shopify/liquid">Shopify/Liquid</a> closely and test against the <a href="https://github.com/jg-rp/golden-liquid">Golden Liquid</a> test suite.
37
37
  </p>
38
38
  <p align="center">
39
- <a href="https://github.com/jg-rp/liquid/blob/main/LICENSE">
40
- <img src="https://img.shields.io/pypi/l/python-liquid.svg?style=flat-square" alt="License">
41
- </a>
42
- <br>
43
39
  <a href="https://pypi.org/project/python-liquid/">
44
40
  <img src="https://img.shields.io/pypi/v/python-liquid.svg?style=flat-square" alt="PyPi - Version">
45
41
  </a>
46
42
  <a href="https://anaconda.org/conda-forge/python-liquid">
47
43
  <img src="https://img.shields.io/conda/vn/conda-forge/python-liquid?style=flat-square" alt="conda-forge">
48
44
  </a>
49
- <br>
50
45
  <a href="https://pypi.org/project/python-liquid/">
51
46
  <img src="https://img.shields.io/pypi/pyversions/python-liquid.svg?style=flat-square" alt="Python versions">
52
47
  </a>
53
- <a href="https://github.com/jg-rp/liquid/actions/workflows/coverage.yaml">
54
- <img src="https://img.shields.io/badge/pypy-3.7%20%7C%203.8%20%7C%203.9-blue?style=flat-square" alt="PyPy versions">
55
- </a>
56
48
  <br>
57
49
  <a href="https://github.com/jg-rp/liquid/actions/workflows/tests.yaml">
58
50
  <img src="https://img.shields.io/github/actions/workflow/status/jg-rp/liquid/tests.yaml?branch=main&label=tests&style=flat-square" alt="Tests">
@@ -64,6 +56,10 @@ We follow <a href="https://github.com/Shopify/liquid">Shopify/Liquid</a> closely
64
56
  <a href="https://pypi.org/project/python-liquid/">
65
57
  <img alt="PyPI - Downloads" src="https://img.shields.io/pypi/dm/python-liquid?style=flat-square">
66
58
  </a>
59
+ <br>
60
+ <a href="https://github.com/jg-rp/liquid/blob/main/LICENSE">
61
+ <img src="https://img.shields.io/pypi/l/python-liquid.svg?style=flat-square" alt="License">
62
+ </a>
67
63
  </p>
68
64
 
69
65
  ---
@@ -1,4 +1,4 @@
1
- liquid/__init__.py,sha256=cUtMXDp0TOBe5VPPAX5aHCrS7pdnvRLGmFwDNE-L7yI,7696
1
+ liquid/__init__.py,sha256=8jQwViKfH_x68TbqPq-wlLWZWg-VL1Tey7iuBNvcHxY,7696
2
2
  liquid/analyze_tags.py,sha256=Uc1nueKLRiIejs2JyQIC7u2pxp9l-5HJAMWlg-Qj1m8,7615
3
3
  liquid/ast.py,sha256=ec-c8F7B2_yj2FmYiOFnnvu2JSd7c4mzTDGlYeztQ_8,7653
4
4
  liquid/context.py,sha256=gSJI1mj7mdcUfiQ09_XCEj5JxAosCGEX85Uuzl9apeI,21505
@@ -9,7 +9,7 @@ liquid/filter.py,sha256=-Mbrtui9ELPMpprJJN97GrpWJF47pzYSWGNM__p_A_k,6687
9
9
  liquid/lex.py,sha256=PrnnUWhXZO6novkO0KE-p4virh5cNJsg7m85sg2IUiw,8004
10
10
  liquid/limits.py,sha256=BxqiC4Ax5iadmh6jDRcUNjFfOvbMkvZ1a046R1Cb8UA,1700
11
11
  liquid/loader.py,sha256=R_RniSRszCXmRVZgXlu9WjV130cWvspVcC3vIVpf-qg,4381
12
- liquid/messages.py,sha256=iaIBYdVSkz68uZ5alwvJZe1w4kvtXVl6MBghQ-DSdPI,11872
12
+ liquid/messages.py,sha256=r6OcJG4-dLEULc9JtQ-mh3Jf6nNZ9Aa2reun7zYiUyc,11861
13
13
  liquid/mode.py,sha256=pgMF9oEl5nT5Q3Poi1gfWG9ozSXX5B6f4sfzOQX_Gow,206
14
14
  liquid/output.py,sha256=1rgPmXGWUTut-aBBbHs-TCCZ2UGUhmbJYRmCsnqIOCk,1000
15
15
  liquid/parser.py,sha256=F8aC__UiUzz39lxhPr3sl67l-V-mrxkdn-4MAaCTWRE,3824
@@ -47,7 +47,7 @@ liquid/builtin/loaders/caching_file_system_loader.py,sha256=-9riAxL8933u_w1Ppwei
47
47
  liquid/builtin/loaders/choice_loader.py,sha256=FE23RLMOiWmsRGZv9t6QmlG7bgMEUSblnucAv3j0SBM,2816
48
48
  liquid/builtin/loaders/dict_loader.py,sha256=8TdMJqaYPLwllmIiEmuZNXqH6UOOsi4HuJ2t5sztOOw,1785
49
49
  liquid/builtin/loaders/file_system_loader.py,sha256=VAS6C-oez9lvOq81Q8bPBb3JjHC2ltC2DvgPf32pdgE,3895
50
- liquid/builtin/loaders/mixins.py,sha256=BrzGrhjExW_keQOynKcZyfMEdyKLT4k99IjrftZEfKA,5221
50
+ liquid/builtin/loaders/mixins.py,sha256=4Hj5wWGMOi3LqA9ZJYsUb4LFbG0a5DDb9H975G8nn58,5209
51
51
  liquid/builtin/loaders/package_loader.py,sha256=XP7LT3aMClgfBlI8OMyHOERlXTXEWmqFH7HskCnY3cs,3659
52
52
  liquid/builtin/tags/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
53
53
  liquid/builtin/tags/assign_tag.py,sha256=VTfkPbF-i0KLqMmaacBItFQHaBTP7ECWR-RvVh9Q6lY,2374
@@ -176,7 +176,7 @@ liquid/utils/chain_map.py,sha256=nxkw3wwF6ddlGarIuL7Ii2elm4dU80LySgdQx1oift0,151
176
176
  liquid/utils/html.py,sha256=TmqOOpRMsy7fqZLj7X5ybd_XQnWW2YDAVDwTP1Gwf40,1706
177
177
  liquid/utils/lru_cache.py,sha256=p7bXOGaUwJpLsREI2lGSzK6lLna5W_k_zNXKWnPJdos,4022
178
178
  liquid/utils/text.py,sha256=1SwDECNMaqnnZ05je_AZZgxqzZd6U-mvq5jNU3W1-Qk,841
179
- python_liquid-2.0.0.dist-info/METADATA,sha256=-E7f5HttZZ9nv_5jOZs3VAZCS0Ca7wuH6jxdpPDeiM4,6469
180
- python_liquid-2.0.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
181
- python_liquid-2.0.0.dist-info/licenses/LICENSE,sha256=yAFURzud5ERNHt1rZIPnTLJ92ep7q8y5yG9g5DUMR_E,1075
182
- python_liquid-2.0.0.dist-info/RECORD,,
179
+ python_liquid-2.0.1.dist-info/METADATA,sha256=m0hjPFbXllPMWVZ9OiFz4oOmtOhlB0p_dJYvUR6fxcw,6257
180
+ python_liquid-2.0.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
181
+ python_liquid-2.0.1.dist-info/licenses/LICENSE,sha256=yAFURzud5ERNHt1rZIPnTLJ92ep7q8y5yG9g5DUMR_E,1075
182
+ python_liquid-2.0.1.dist-info/RECORD,,