pyasn1

ASN.1 types and codecs

Here are some articles that you may find helpful