Skip to main content

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.5

  • MT-safe

MISFEATURES

  • No ASN.1 compiler shipped with pyasn1, so by-hand ASN.1 spec compilation into Python code would be needed. But there is a project, called Asn1ate, that compiles ASN.1 documents into pyasn1 code. More info: https://github.com/kimgr/asn1ate

  • Codecs are not restartable

INSTALLATION

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

$ pip install pyasn1

or

$ easy_install pyasn1

or

$ tar zxf pyasn1-0.1.9.tar.gz

$ cd pyasn1-0.1.9

$ python setup.py install

$ python setup.py test # 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 http://pyasn1.sourceforge.net .

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 list at https://sourceforge.net/mailarchive/forum.php?forum_name=pyasn1-users

Written by Ilya Etingof <ilya@glas.net>

Release files for pyasn1 0.1.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyasn1 0.1.9
File Size Uploaded
pyasn1-0.1.9.tar.gz 75.9 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for pyasn1 0.1.9
File
pyasn1-0.1.9-py3.5.egg Legacy Egg format - - Details
pyasn1-0.1.9-py3.4.egg Legacy Egg format - - Details
pyasn1-0.1.9-py3.3.egg Legacy Egg format - - Details
pyasn1-0.1.9-py3.2.egg Legacy Egg format - - Details
pyasn1-0.1.9-py3.1.egg Legacy Egg format - - Details
pyasn1-0.1.9-py2.py3-none-any.whl Python 2, Python 3 none any Details
pyasn1-0.1.9-py2.7.egg Legacy Egg format - - Details
pyasn1-0.1.9-py2.6.egg Legacy Egg format - - Details
pyasn1-0.1.9-py2.5.egg Legacy Egg format - - Details
pyasn1-0.1.9-py2.4.egg Legacy Egg format - - Details

Total release size: 938.8 kB

Release files / pyasn1-0.1.9.tar.gz

Download URL pyasn1-0.1.9.tar.gz
Size 75.9 kB
Tags Source
SHA-256 checksum
How to use checksums
853cacd96d1f701ddd67aa03ecc05f51890135b7262e922710112f12a2ed2a7f
BLAKE2b-256 checksum
How to use checksums
f783377e3dd2e95f9020dbd0dfd3c47aaa7deebe3c68d3857a4e51917146ae8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pyasn1-0.1.9-py3.5.egg

Download URL pyasn1-0.1.9-py3.5.egg
Size 93.8 kB
Tags Egg
SHA-256 checksum
How to use checksums
8323e03637b2d072cc7041300bac6ec448c3c28950ab40376036788e9a1af629
BLAKE2b-256 checksum
How to use checksums
42f65fe7ffc6ad65bf6a014016820b383578caa6b5a0e935f910ad6cdf5b0e69
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pyasn1-0.1.9-py3.4.egg

Download URL pyasn1-0.1.9-py3.4.egg
Size 94.2 kB
Tags Egg
SHA-256 checksum
How to use checksums
5191ff6b9126d2c039dd87f8ff025bed274baf07fa78afa46f556b1ad7265d6e
BLAKE2b-256 checksum
How to use checksums
f2f3c34d39a069a03024a94a9055c824e8ab5444c6c8ee7b4690ea9c1726b6d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pyasn1-0.1.9-py3.3.egg

Download URL pyasn1-0.1.9-py3.3.egg
Size 96.1 kB
Tags Egg
SHA-256 checksum
How to use checksums
0cb2a14742b543fdd68f931a14ce3829186ed2b1b2267a06787388c96b2dd9be
BLAKE2b-256 checksum
How to use checksums
16def3f127749d887a35a62a676bdd7395343017de0da36492d283c9bb3d0192
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pyasn1-0.1.9-py3.2.egg

Download URL pyasn1-0.1.9-py3.2.egg
Size 91.7 kB
Tags Egg
SHA-256 checksum
How to use checksums
cda5a90485709ca6795c86056c3e5fe7266028b05e53f1d527fdf93a6365a6b8
BLAKE2b-256 checksum
How to use checksums
ec9d8118cd9b3749ab2ca1eb43e45ba3b16824337c8713d83fdbbc6e30efd42a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pyasn1-0.1.9-py3.1.egg

Download URL pyasn1-0.1.9-py3.1.egg
Size 90.4 kB
Tags Egg
SHA-256 checksum
How to use checksums
326e7a854a17fab07691204747695f8f692d674588a355c441fb14f660bf4e68
BLAKE2b-256 checksum
How to use checksums
96fdabc794af4911b9b01e9b26b80e121e60efd4db35692cc4f1906d0f231556
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pyasn1-0.1.9-py2.py3-none-any.whl

Download URL pyasn1-0.1.9-py2.py3-none-any.whl
Size 36.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
28fee44217991cfad9e6a0b9f7e3f26041e21ebc96629e94e585ccd05d49fa65
BLAKE2b-256 checksum
How to use checksums
69bee8946f7867b84b0e61a613f6fd56f63266190b1a470f945178f7cbc4d0ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pyasn1-0.1.9-py2.7.egg

Download URL pyasn1-0.1.9-py2.7.egg
Size 89.6 kB
Tags Egg
SHA-256 checksum
How to use checksums
2f96ed5a0c329ca16230b326ca12b7461ec8f65e0be3e4f997516f36bf82a345
BLAKE2b-256 checksum
How to use checksums
c3ea03328a42adfc16a1babbe334ad969f6e27862bcaff9576444d423d2c9257
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pyasn1-0.1.9-py2.6.egg

Download URL pyasn1-0.1.9-py2.6.egg
Size 89.7 kB
Tags Egg
SHA-256 checksum
How to use checksums
35025cd9422c96504912f04e2f15fe79390a8597b430c2ca5d0534cf9309ffa0
BLAKE2b-256 checksum
How to use checksums
381ae90940af0e8a77b29ff6994145117dc974a3cbfae0cf5596c4d52972b0c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pyasn1-0.1.9-py2.5.egg

Download URL pyasn1-0.1.9-py2.5.egg
Size 89.9 kB
Tags Egg
SHA-256 checksum
How to use checksums
1802a6dd32045e472a419db1441aecab469d33e0d2749e192abdec52101724af
BLAKE2b-256 checksum
How to use checksums
d5d53001949087690d4931e84b29789dc91c07e8d6ee6acab193ada3d566390f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pyasn1-0.1.9-py2.4.egg

Download URL pyasn1-0.1.9-py2.4.egg
Size 91.0 kB
Tags Egg
SHA-256 checksum
How to use checksums
61f9d99e3cef65feb1bfe3a2eef7a93eb93819d345bf54bcd42f4e63d5204dae
BLAKE2b-256 checksum
How to use checksums
482cdce56c03cfe0500349e4cd1b778462f15b03615ce02d4ee7c7519c2108d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.6.4

2 release files

0.6.3

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.8

13 release files

0.4.6

13 release files

0.4.5

13 release files

0.4.4

13 release files

0.4.3

13 release files

0.4.2

12 release files

0.4.1

12 release files

0.3.6

12 release files

0.3.5

12 release files

0.3.3

12 release files

0.3.1

12 release files

0.2.3

12 release files

This release

0.1.9 This release

11 release files

0.1.8

9 release files

0.1.7

9 release files

0.1.6

9 release files

0.1.5

9 release files

0.1.4

9 release files

0.1.3

9 release files

0.1.2

8 release files

0.1.1

8 release files

0.0.13

6 release files

0.0.6a

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page