ASN.1 types and codecs
ASN.1 library for Python
This is an implementation of ASN.1 types and codecs in Python programming language. It has been first written to support particular protocol (SNMP) but then generalized to be suitable for a wide range of protocols based on ASN.1 specification.
- Generic implementation of ASN.1 types (X.208)
- Fully standard compliant BER/CER/DER codecs
- 100% Python, works with Python 2.4 up to Python 3.4
- No ASN.1 compiler (by-hand ASN.1 spec compilation into Python code required)
- Codecs are not restartable
The pyasn1 package uses setuptools/distutils for installation. Thus do either:
$ easy_install pyasn1
$ tar zxf pyasn1-0.1.8.tar.gz
$ cd pyasn1-0.1.8
$ python setup.py install
$ python setup.py test # run unit tests
Perhaps a typical use would involve [by-hand] compilation of your ASN.1 specification into pyasn1-backed Python code at your application.
For more information on pyasn1 APIs, please, refer to the http://pyasn1.sourceforge.net .
Also refer to example modules. Take a look at pyasn1-modules package – maybe it already holds something useful to you.
The pyasn1 package is distributed under terms and conditions of BSD-style license. See LICENSE file in the distribution. Source code is freely available from:
Please, send your comments and fixes to mailing list at https://sourceforge.net/mailarchive/forum.php?forum_name=pyasn1-users
Written by Ilya Etingof <firstname.lastname@example.org>
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size pyasn1-0.1.8-py2.4.egg (91.5 kB)||File type Egg||Python version 2.4||Upload date||Hashes View|
|Filename, size pyasn1-0.1.8-py2.5.egg (90.4 kB)||File type Egg||Python version 2.5||Upload date||Hashes View|
|Filename, size pyasn1-0.1.8-py2.6.egg (90.2 kB)||File type Egg||Python version 2.6||Upload date||Hashes View|
|Filename, size pyasn1-0.1.8-py2.7.egg (90.0 kB)||File type Egg||Python version 2.7||Upload date||Hashes View|
|Filename, size pyasn1-0.1.8-py3.1.egg (90.9 kB)||File type Egg||Python version 3.1||Upload date||Hashes View|
|Filename, size pyasn1-0.1.8-py3.2.egg (92.2 kB)||File type Egg||Python version 3.2||Upload date||Hashes View|
|Filename, size pyasn1-0.1.8-py3.3.egg (96.6 kB)||File type Egg||Python version 3.3||Upload date||Hashes View|
|Filename, size pyasn1-0.1.8-py3.4.egg (94.7 kB)||File type Egg||Python version 3.4||Upload date||Hashes View|
|Filename, size pyasn1-0.1.8.tar.gz (75.7 kB)||File type Source||Python version None||Upload date||Hashes View|