Cinje

Latest version: v1.1.2

Safety actively analyzes 619401 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.1.2

* _Fixed_ [Python 3.7 exception use within generators](
https://github.com/marrow/cinje/issues/2)8.

* _Added_ Genshi to the [benchmark comparison suite](
https://github.com/marrow/cinje/wiki/Benchmarkspython-37).

* _Fixed_ minor docstring typo.

1.1.1

* **Fixed** incorrect double-decoding (25) of UTF-8 that was preventing use of templates containing non-ASCII text.
* **Fixed** incorrect variable reference in the built-in (cinje.std.html) list helper.
* **Added** Python 3.6 testing, pre-commit hooks, and Makefile-based automation.
* **Removed** Python 3.3 testing and support, flake8 enforcement, and tox build/test automation.

1.1.0

- **Enhanced Pypy support.** Pypy does not require optimizations which potentially obfuscate the resulting code. So we don't do them.
- **Fixed** incorrect `{}` handling when it was the first non-whitepsace on a line. (22)
- **Fixed** buffer iteration edge case if the first template text in a function is deeper than the function scope. (21)
- **Python 3-style function annotations** can now be used to define function-wide "pragma" additions and removals, even on Python 2. (8)
- **Pragma processing directives.** Processing flags can be set and unset during the translation process using `: pragma`.
- **Unbuffered mode.** Cinje can now operate in unbuffered mode. Each contiguous chunk is individually yielded. (8)
- **Secret feature.** Have a cinje template? Want to more easily peek behind the curtain? (Sssh, it's a completely unsupported feature that even syntax colors if `pygments` is installed.) `python -m cinje source file.py`

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.