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.3 (alpha 2)

  • 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

Release files for pyasn1 0.1.3

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.3
File Size Uploaded
pyasn1-0.1.3.tar.gz 54.3 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for pyasn1 0.1.3
File
pyasn1-0.1.3-py3.3.egg Legacy Egg format - - Details
pyasn1-0.1.3-py3.2.egg Legacy Egg format - - Details
pyasn1-0.1.3-py3.1.egg Legacy Egg format - - Details
pyasn1-0.1.3-py3.0.egg Legacy Egg format - - Details
pyasn1-0.1.3-py2.7.egg Legacy Egg format - - Details
pyasn1-0.1.3-py2.6.egg Legacy Egg format - - Details
pyasn1-0.1.3-py2.5.egg Legacy Egg format - - Details
pyasn1-0.1.3-py2.4.egg Legacy Egg format - - Details

Total release size: 647.6 kB

Release files / pyasn1-0.1.3.tar.gz

Download URL pyasn1-0.1.3.tar.gz
Size 54.3 kB
Tags Source
SHA-256 checksum
How to use checksums
937fd751c4c25dbd37810d15138114640773c7c276039c9f6d7276fdacb355b7
BLAKE2b-256 checksum
How to use checksums
4d2ceff64bf61edcc22440c55f3b4eaa750be0e0bc8560e94bc65e00298b0459
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

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

Download URL pyasn1-0.1.3-py3.3.egg
Size 78.4 kB
Tags Egg
SHA-256 checksum
How to use checksums
bbc6d109d577f01fc9da015b319743fa0d110a999c49b0ee53bb9fe44a06a1a1
BLAKE2b-256 checksum
How to use checksums
d30e4fc0275bcb81782e1da6fa7d7524433bb15c39099b14bf7ff72b4c56d8bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

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

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

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

Download URL pyasn1-0.1.3-py3.1.egg
Size 73.7 kB
Tags Egg
SHA-256 checksum
How to use checksums
583f177bec558bcd0ab0077acfa7032152e12433c1ef15a10ed1a862816e3b17
BLAKE2b-256 checksum
How to use checksums
9822c61f96dd03ff938acc30a099678e333b153ec3437642c7f51e9723fc3e3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pyasn1-0.1.3-py3.0.egg

Download URL pyasn1-0.1.3-py3.0.egg
Size 73.7 kB
Tags Egg
SHA-256 checksum
How to use checksums
eaade5e1302d2d5a83f002f35577814a088c7ddac7a0e75adc4e8ad73df60a42
BLAKE2b-256 checksum
How to use checksums
37334e054aeaf18817b9031a2fc1095ee0d471d112ff9cc8aea9df271fcc758a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

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

Download URL pyasn1-0.1.3-py2.7.egg
Size 73.0 kB
Tags Egg
SHA-256 checksum
How to use checksums
8473346270c2fba2c6a502557c2c2a7bdc27aa7180244585a7f37138f5a168cd
BLAKE2b-256 checksum
How to use checksums
ce7dbe8f315df1b3392652f622fbd48aa81cf540e53ae93603096a3f4dbe1854
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

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

Download URL pyasn1-0.1.3-py2.6.egg
Size 73.2 kB
Tags Egg
SHA-256 checksum
How to use checksums
a478dad8afb56a51aba6497612d96749c754c1c5601117edd26599354b831547
BLAKE2b-256 checksum
How to use checksums
2241c312625a2dcec4f55693a44c39131cd466ede57388112a0bf9b31e5ea134
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

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

Download URL pyasn1-0.1.3-py2.5.egg
Size 73.4 kB
Tags Egg
SHA-256 checksum
How to use checksums
6efe59cf99b8032e102eb084820d75666eecdb7f62fff3cdd53b96091771a0de
BLAKE2b-256 checksum
How to use checksums
1cd0a9a8cffa6b0e0ca795a7a1e15d1ed85a9ac41bbf2fd78e12112677ab5ece
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

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

Download URL pyasn1-0.1.3-py2.4.egg
Size 74.3 kB
Tags Egg
SHA-256 checksum
How to use checksums
cba74f700317d63f3420f9d20aa7bd3c28b369cdea19bd08818160428af6cd22
BLAKE2b-256 checksum
How to use checksums
ec7a83d15ae8a7ffd3580b831b5d259267f9b8ed8175c69e9b677e64dc2e7ab5
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

0.1.9

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

This release

0.1.3 This release

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