pms-utils
This library aims to implement various types, structures and algorithms described in the Gentoo Package Manager Specification.
pms-utils is implemented in C++ and has the primary focus on correctness. To this extent, almost all expressions described in PMS are parsed via BNF-style PEG instead of handwritten parsers.
Most of the API is exposed as a Python library, which this page documents.