Comparison
asn1 vs asn1crypto vs pyasn1
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Python-ASN1 is a simple ASN.1 encoder and decoder for Python 2.7+ and 3.5+.
Low maintenance activity. Last release 7 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install asn1Fast 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 asn1cryptoPure-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: 495M downloads a month, 3.5× more than asn1crypto.
- pyasn1 also has the best Pythie’s Index (69).
- asn1 is growing fastest: downloads +19% over the last month.
- Safe default for a new project: pyasn1.
Side by side
| Metric | asn1 | asn1crypto | pyasn1 |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 39 | 25 |