The following projects have provided inspiration for Python-ASN1:
pyasn1 This is another ASN1 encoder/decoder for Python.
Samba In particular libads for the stack based approach for building constructed types.