Parsing

Latest version: v2.0.4

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

Scan your dependencies

2.0.4

2.0.3

2.0.2

2.0.1

Make sure `pyproject.toml` contains the required properties.

2.0.0

This release includes significant refactoring to modernize the codebase
and improve parser generation performance by a factor of 7 to 15
depending on whether the mypycified version is used.

There are breaking changes in the exported classes:

* `Symbol`, `Token`, and `Nonterm` no longer take `parser` as the
argument.

* The `Spec` class is no longer subclassable. This is mostly due to its
mypycification, but also because it's supposed to be an opaque piece
of parser state.

Changelog
=========

* Droped support for Python <= 3.7
(by elprans in 4d8c72a8)

* Reformat with Black
(by elprans in 468ecd0a)

* Add thorough type annotations
(by elprans in 995c7468)

* Massively speedup parser table generation
(by elprans in acb3a702)

* Stop passing parser instance to Symbol instances
(by elprans in c4ce270d)

* Add the ability to specify a callback directly after Spec unpickling
(by elprans in bd2e59e1)

* Add the ability to build parsing with mypyc
(by elprans in 657f3cc9)

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.