Comparison
asn1 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 asn1Pure-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, 184× more than asn1.
- pyasn1 also has the best Pythie’s Index (67).
- asn1 is growing fastest: downloads +12% over the last month.
- Safe default for a new project: pyasn1.
Side by side
| Metric | asn1 | pyasn1 |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 39 | Pythie’s Index: 67 |
| Verdict | Low maintenance activity | Maintained |
| Downloads / month | 2.7M | 497.9M |
| Downloads, month over month | +12% | +8% |
| GitHub stars | 110 | 54 |
| Stars, last 7 days | – | – |
| Direct dependents | 22 | 514 |
| Last release | May 15, 2026 | Oct 27, 2026 |
| Releases, 12 months | 2 | 4 |
| Weeks with commits | 0 / 26 | 4 / 26 |
| Recent contributors | 7 | 18 |
| First release | Dec 2016 | Nov 2009 |
| Python versions | 3.5 – 3.14 | 3.8 – 3.14 |
| License | MIT | BSD-2-Clause |
| Known vulnerabilities | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.