NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #2950 most downloaded on PyPI
Python-ASN1 is a simple ASN.1 encoder and decoder for Python 2.7+ and 3.5+.
Last release 4 months ago
15 May 2026
Release timing varies
gaps range from 1 weeks to 1.6 years
Nearly every release is documented
notes for 19 of 19 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
19 releases · first in 2016
Fix #298 - Incorrect handling of indefinite form length when using ENTER/LEAVE
Support for using Encoder via context manager
#295 New API using a context manager
Add support of Python 3.14
New way of installing old versions of Python in the Docker file.
As a consequence, all versions of Python including 2.7 and from 3.5 to 3.14 are now properly tested.
One column per quarter.
#291 - Add support for mypy. As a consequence, the previous module has been migrated to a package.
Fix #288 - Use DER encoding by default as in previous versions
Encoding and decoding of the ASN.1 REAL type
Note: Even if the API has changed, it is backward-compatible with previous versions. The types returned are however not always the same than previously (decoding of complex data).
PR #285 - Use Enum with Tag for pretty representation (thanks to @Julien00859 )
Fix OID encoding/decoding for the first octet according to ITU-T X.690 (thanks to Ian Neal)
Add context manager support (thanks to Mastermind-U)
Add support for GeneralizedTime (thanks to vollkorntomate)
Fixes to BitString decoding and encoding of IA5String and UTCTime (thanks to 0xbf00)
Fix a minor mistake in the dump.py example
Fix #89 - Replace explicit references to enum34 by enum-compat
Fix #21 - Invalid decoding in non-Universal classes
No change in code, only in packaging and in texts (README, ...)
No change in code, only in packaging and in texts (README, ...)
Add Python 3.8, remove Python 3.4 support
Use "true" enums instead of classes. Use enum34 backport for old Python versions.
Use "true" enums instead of classes. Use enun34 backport for old Python versions.
Fix a bug (#9): two's complement corner case with values such as -32769. Add new test cases to test them.
Complete documentation and type hints
Add more documentation
Use (simulated) enumerations
Add Python 2.6 in automated checks and tests
Add type hints (for static checking) and fix some code
Translate code to support both Python 2.6+ and 3.3+
First public release by Sebastien Andrivet
Support both python 2 and 3 (with Python-Future)
All strings are now in unicode
Add more ASN.1 tags (like PrintableString)
Fix errors in the example (dump.py)
Code reorganization
Your coding agent can read these notes before it upgrades. Set up the MCP server →