Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

ASN.1 types and codecs

Project description

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.

FEATURES

  • 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.3
  • MT-safe

MISFEATURES

  • No ASN.1 compiler (by-hand ASN.1 spec compilation into Python code required)
  • Codecs are not restartable

INSTALLATION

The pyasn1 package uses setuptools/distutils for installation. Thus do either:

$ easy_install pyasn1

or

$ tar zxf pyasn1-0.1.6.tar.gz

$ cd pyasn1-0.1.6

$ python setup.py install

$ cd test

$ python suite.py # run unit tests

OPERATION

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 doc/pyasn1-tutorial.html file in the distribution.

Also refer to example modules. Take a look at pyasn1-modules package – maybe it already holds something useful to you.

AVAILABILITY

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:

http://pyasn1.sf.net

FEEDBACK

Please, send your comments and fixes to mailing lists at project web site.

Release history Release notifications

History Node

0.4.3

History Node

0.4.2

History Node

0.4.1

History Node

0.3.7

History Node

0.3.6

History Node

0.3.5

History Node

0.3.4

History Node

0.3.3

History Node

0.3.2

History Node

0.3.1

History Node

0.2.3

History Node

0.2.2

History Node

0.2.1

History Node

0.1.9

History Node

0.1.8

History Node

0.1.7

This version
History Node

0.1.6

History Node

0.1.5

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.0.13

History Node

0.0.13b

History Node

0.0.13a

History Node

0.0.12a

History Node

0.0.11a

History Node

0.0.10a

History Node

0.0.9a

History Node

0.0.6a

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pyasn1-0.1.6-py2.4.egg (80.5 kB) Copy SHA256 hash SHA256 Egg 2.4 Jan 4, 2013
pyasn1-0.1.6-py2.5.egg (79.4 kB) Copy SHA256 hash SHA256 Egg 2.5 Jan 4, 2013
pyasn1-0.1.6-py2.6.egg (79.2 kB) Copy SHA256 hash SHA256 Egg 2.6 Jan 4, 2013
pyasn1-0.1.6-py2.7.egg (79.0 kB) Copy SHA256 hash SHA256 Egg 2.7 Jan 4, 2013
pyasn1-0.1.6-py3.0.egg (79.7 kB) Copy SHA256 hash SHA256 Egg 3.0 Jan 4, 2013
pyasn1-0.1.6-py3.1.egg (79.7 kB) Copy SHA256 hash SHA256 Egg 3.1 Jan 4, 2013
pyasn1-0.1.6-py3.2.egg (80.9 kB) Copy SHA256 hash SHA256 Egg 3.2 Jan 4, 2013
pyasn1-0.1.6-py3.3.egg (84.7 kB) Copy SHA256 hash SHA256 Egg 3.3 Jan 4, 2013
pyasn1-0.1.6.tar.gz (67.2 kB) Copy SHA256 hash SHA256 Source None Jan 4, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page