summaryrefslogtreecommitdiff
path: root/README
blob: 516fc2b1ee9d47bc9c5bdde12f26699135d4aa84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67

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.7.tar.gz
$ cd pyasn1-0.1.7
$ python setup.py install
$ python setup.py test    # run unit tests (optional)

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