Comparison
asn1crypto 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 3 of the last 26 weeks. Weaker on commit activity and recent releases.
$
pip install asn1cryptoPure-Python implementation of ASN.1 types and DER/BER/CER codecs (X.208)
Maintained. Last release 5 weeks ago, commits in 4 of the last 26 weeks. Weaker on commit activity.
$
pip install pyasn1In short
- pyasn1 is the most used: 497.9M downloads a month, 3.5× more than asn1crypto.
- pyasn1 also has the best Pythie’s Index (67).
- Safe default for a new project: pyasn1.
Side by side
| Metric | asn1crypto | pyasn1 |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 23 | 67 |