Announce: New library for dependency specifications with logic support

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:

8 Likes

How cool! I’ll have to dig into this over the holiday weekend here. Thank you for sharing your work!

Very interesting! (the last link that points to PyPA Packaging is broken)

1 Like