Comparison
asn1crypto vs asn1tools vs pyasn1
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Fast ASN.1 parser and serializer with definitions for private keys, public keys, certificates, CRL, OCSP, CMS, PKCS#3, PKCS#7, PKCS#8, PKCS#12, PKCS#5, X.509 and TSP
Low maintenance activity. Last release over 4 years ago, commits in 4 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install asn1cryptoASN.1 parsing, encoding and decoding.
Maintained. Last release 3 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install asn1toolsPure-Python implementation of ASN.1 types and DER/BER/CER codecs (X.208)
Maintained. Last release 5 weeks ago, commits in 5 of the last 26 weeks. Weaker on commit activity.
pip install pyasn1In short
- pyasn1 is the most used: 487M downloads a month, 3.5× more than asn1crypto.
- pyasn1 also has the best Pythie’s Index (69).
- Safe default for a new project: pyasn1.
Side by side
| Metric | asn1crypto | asn1tools | pyasn1 |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 25 | 49 |