In the past two days, I have created a new library for manipulating dependency specifications which are defined by PEP 440 and PEP 508. It’s built on top of packaging
library but with support for logical operations. Other people besides me may find it useful, so I’m sharing it here.
The code is actually extracted from poetry-core
and has been adapted for the standard. Thanks to the authors of packaging
and poetry-core
.
The GitHub repository is here: