License-expression

Latest version: v30.4.1

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

Scan your dependencies

Page 2 of 2

30.1.0

----------------------

This is a minor release without API changes

- Use latest skeleton (and updated configure script)
- Update license list to latest ScanCode and SPDX 3.19
- Use correct syntax for python_require
- Drop using Travis and Appveyor
- Drop support for Python 3.7 and add Python 3.11 in CI

30.0.0

----------------------

This is a minor release with API changes

- Use latest skeleton (and updated configure script)
- Drop using calver
- Improve error checking when combining licenses

21.6.14

----------------------

Added
~~~~~

- Switch to calver for package versioning to better convey the currency of the
bundled data.

- Include https://scancode-licensedb.aboutcode.org/ licenses list with
ScanCode (v21.6.7) and SPDX licenses (v3.13) keys. Add new functions to
create Licensing using these licenses as LicenseSymbol.

- Add new License.dedup() method to deduplicate and simplify license expressions
without over simplifying.

- Add new License.validate() method to return a new ExpressionInfo object with
details on a license expression validation.


Changed
~~~~~~~
- Drop support for Python 2.
- Adopt the project skeleton from https://github.com/nexB/skeleton
and its new configure script

1.2

------------------
Added
~~~~~
- Add ability to render WITH expression wrapped in parenthesis

Fixes
~~~~~
- Fix anomalous backslashes in strings

Changed
~~~~~~~
- Update the thirdparty directory structure.

1.0

------------------
Added
~~~~~
- New version of boolean.py library
- Add ability to leave license expressions unsorted when simplifying

Changed
~~~~~~~
- updated travis CI settings

0.999

--------------------
- Initial release
- license-expression is small utility library to parse, compare and
simplify and normalize license expressions.

Page 2 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.