Binary package “python3-pem” in ubuntu jammy
easy PEM file parsing in Python
pem is a Python module for parsing and splitting of PEM files,
i.e. Base64 encoded DER keys and certificates.
.
pem does not attempt to interpret the certificate data in any way.
.
Additionally to the vanilla parsing code, pem also contains helpers
for Twisted that save a lot of boilerplate code.