Skip to main content

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 (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

Download files

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

Source Distribution

pyasn1-0.1.3.tar.gz (54.3 kB view details)

Uploaded Source

Built Distributions

pyasn1-0.1.3-py3.3.egg (78.4 kB view details)

Uploaded Source

pyasn1-0.1.3-py3.2.egg (73.6 kB view details)

Uploaded Source

pyasn1-0.1.3-py3.1.egg (73.7 kB view details)

Uploaded Source

pyasn1-0.1.3-py3.0.egg (73.7 kB view details)

Uploaded Source

pyasn1-0.1.3-py2.7.egg (73.0 kB view details)

Uploaded Source

pyasn1-0.1.3-py2.6.egg (73.2 kB view details)

Uploaded Source

pyasn1-0.1.3-py2.5.egg (73.4 kB view details)

Uploaded Source

pyasn1-0.1.3-py2.4.egg (74.3 kB view details)

Uploaded Source

File details

Details for the file pyasn1-0.1.3.tar.gz.

File metadata

  • Download URL: pyasn1-0.1.3.tar.gz
  • Upload date:
  • Size: 54.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyasn1-0.1.3.tar.gz
Algorithm Hash digest
SHA256 937fd751c4c25dbd37810d15138114640773c7c276039c9f6d7276fdacb355b7
MD5 b888dfba318c19b07e15813721a8f96e
BLAKE2b-256 4d2ceff64bf61edcc22440c55f3b4eaa750be0e0bc8560e94bc65e00298b0459

See more details on using hashes here.

File details

Details for the file pyasn1-0.1.3-py3.3.egg.

File metadata

  • Download URL: pyasn1-0.1.3-py3.3.egg
  • Upload date:
  • Size: 78.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyasn1-0.1.3-py3.3.egg
Algorithm Hash digest
SHA256 bbc6d109d577f01fc9da015b319743fa0d110a999c49b0ee53bb9fe44a06a1a1
MD5 0aab63dca8b8f20289ce1b7044a1a7d5
BLAKE2b-256 d30e4fc0275bcb81782e1da6fa7d7524433bb15c39099b14bf7ff72b4c56d8bd

See more details on using hashes here.

File details

Details for the file pyasn1-0.1.3-py3.2.egg.

File metadata

  • Download URL: pyasn1-0.1.3-py3.2.egg
  • Upload date:
  • Size: 73.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyasn1-0.1.3-py3.2.egg
Algorithm Hash digest
SHA256 a3992bbb5c87e18e46bfa065f8db319440fad697435649105041b988378b476a
MD5 dbb46489cc09d698db59dadf150be678
BLAKE2b-256 b61a0623da54735e5bd6b240550e37be6c6fea53828ea27228934b952ca328f0

See more details on using hashes here.

File details

Details for the file pyasn1-0.1.3-py3.1.egg.

File metadata

  • Download URL: pyasn1-0.1.3-py3.1.egg
  • Upload date:
  • Size: 73.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyasn1-0.1.3-py3.1.egg
Algorithm Hash digest
SHA256 583f177bec558bcd0ab0077acfa7032152e12433c1ef15a10ed1a862816e3b17
MD5 faefb3b9be47a7cdf50aa4365c692540
BLAKE2b-256 9822c61f96dd03ff938acc30a099678e333b153ec3437642c7f51e9723fc3e3b

See more details on using hashes here.

File details

Details for the file pyasn1-0.1.3-py3.0.egg.

File metadata

  • Download URL: pyasn1-0.1.3-py3.0.egg
  • Upload date:
  • Size: 73.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyasn1-0.1.3-py3.0.egg
Algorithm Hash digest
SHA256 eaade5e1302d2d5a83f002f35577814a088c7ddac7a0e75adc4e8ad73df60a42
MD5 1d3d28663f6eb4d992811bac7094b09d
BLAKE2b-256 37334e054aeaf18817b9031a2fc1095ee0d471d112ff9cc8aea9df271fcc758a

See more details on using hashes here.

File details

Details for the file pyasn1-0.1.3-py2.7.egg.

File metadata

  • Download URL: pyasn1-0.1.3-py2.7.egg
  • Upload date:
  • Size: 73.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyasn1-0.1.3-py2.7.egg
Algorithm Hash digest
SHA256 8473346270c2fba2c6a502557c2c2a7bdc27aa7180244585a7f37138f5a168cd
MD5 8ac024c87c89b5c8444839ddb7527940
BLAKE2b-256 ce7dbe8f315df1b3392652f622fbd48aa81cf540e53ae93603096a3f4dbe1854

See more details on using hashes here.

File details

Details for the file pyasn1-0.1.3-py2.6.egg.

File metadata

  • Download URL: pyasn1-0.1.3-py2.6.egg
  • Upload date:
  • Size: 73.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyasn1-0.1.3-py2.6.egg
Algorithm Hash digest
SHA256 a478dad8afb56a51aba6497612d96749c754c1c5601117edd26599354b831547
MD5 4712c06d45644b1bf71165d5c8589ffd
BLAKE2b-256 2241c312625a2dcec4f55693a44c39131cd466ede57388112a0bf9b31e5ea134

See more details on using hashes here.

File details

Details for the file pyasn1-0.1.3-py2.5.egg.

File metadata

  • Download URL: pyasn1-0.1.3-py2.5.egg
  • Upload date:
  • Size: 73.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyasn1-0.1.3-py2.5.egg
Algorithm Hash digest
SHA256 6efe59cf99b8032e102eb084820d75666eecdb7f62fff3cdd53b96091771a0de
MD5 47f50ccfb47bfc4413db0722aa3f1ae2
BLAKE2b-256 1cd0a9a8cffa6b0e0ca795a7a1e15d1ed85a9ac41bbf2fd78e12112677ab5ece

See more details on using hashes here.

File details

Details for the file pyasn1-0.1.3-py2.4.egg.

File metadata

  • Download URL: pyasn1-0.1.3-py2.4.egg
  • Upload date:
  • Size: 74.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyasn1-0.1.3-py2.4.egg
Algorithm Hash digest
SHA256 cba74f700317d63f3420f9d20aa7bd3c28b369cdea19bd08818160428af6cd22
MD5 4b569d0e899d80e614a8def1d4bac0c1
BLAKE2b-256 ec7a83d15ae8a7ffd3580b831b5d259267f9b8ed8175c69e9b677e64dc2e7ab5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page