Pybars3

Latest version: v0.9.7

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

Scan your dependencies

Page 2 of 3

0.9.1

- Changed `pybars.__version__` tuple to `pybars.__version_info__`,
`pybars.__version__` is now a string
- Added `Compiler().precompile(source)` that will return Python source code
to allow for caching of compiled templates and easier debugging
- Template code now checks to ensure it is being run with the same version of
pybars that is was generated with

0.8.0

- The library now always throws `pybars.PybarsError` on errors
- Added support for nested subexpressions
- Block helpers by themselves on lines no longer introduce any whitespace
- Added `tests.py` test runner and `--debug` flag
- Moved tests out of `pybars` namespace

0.7.2

- Fixed a bug with nested scopes and parent paths (`../`)

0.7.1

- Expose `pybars.Scope()` so helpers can properly scope data so `../` will work

0.7.0

- Added subexpression support

0.6.0

- Changed `False` to print `false` and `True` to print `true`
- Added support for `null` and `undefined` literals

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.