python/pyasn1/README
author Michael Ratcliffe <mratcliffe@mozilla.com>
Mon, 02 May 2016 00:22:31 +0100
changeset 326472 b4564c057f93c736521672ffa54b23d9b4c92b94
parent 231899 0536f6db7f6684df46b470eb84eabeffb0b32326
permissions -rw-r--r--
Bug 1265082 - ESLint jobs are apparently hitting the network r=me,dustin,pbro,jryans So a few changes here: - node_modules is downloaded using tooltool so that we dont need to rely on external infrastructure. - We have a npm-shrinkwrap.json file that version locks all of our node packages. - eslint, eslint-plugin-mozilla etc. are now all installed locally. In reality this means that we don't hit the network and we don't force users into installing global packages. ./mach eslint --setup has also been improved. We install packages locally and display the path of the user's eslint binary (useful for configuring editors). eslint-plugin-mozilla has been moved from testing/eslint-plugin-mozilla to /testing/eslint/eslint-plugin-mozilla. The node_modules directory for eslint and other plugins is located in testing/eslint/. MozReview-Commit-ID: 4SFSxzka6BS


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 (beta 1)
* 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.3.tar.gz
$ cd pyasn1-0.1.3
$ 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.

=-=-=
mailto: ilya@glas.net