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

  • 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.6.tar.gz

$ cd pyasn1-0.1.6

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

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.6.tar.gz (67.2 kB view details)

Uploaded Source

Built Distributions

pyasn1-0.1.6-py3.3.egg (84.7 kB view details)

Uploaded Source

pyasn1-0.1.6-py3.2.egg (80.9 kB view details)

Uploaded Source

pyasn1-0.1.6-py3.1.egg (79.7 kB view details)

Uploaded Source

pyasn1-0.1.6-py3.0.egg (79.7 kB view details)

Uploaded Source

pyasn1-0.1.6-py2.7.egg (79.0 kB view details)

Uploaded Source

pyasn1-0.1.6-py2.6.egg (79.2 kB view details)

Uploaded Source

pyasn1-0.1.6-py2.5.egg (79.4 kB view details)

Uploaded Source

pyasn1-0.1.6-py2.4.egg (80.5 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for pyasn1-0.1.6.tar.gz
Algorithm Hash digest
SHA256 a7c51782cea4d823454915ad46a580fe53b9adfe6514560d4b9cb590e002be35
MD5 e1851ac1123c50f134cc29420fd5e0bd
BLAKE2b-256 2cc4e45a0223b768d211db50d5523bd84b33752a39605a4f5b0b50da441b0f98

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyasn1-0.1.6-py3.3.egg
Algorithm Hash digest
SHA256 d71cdfcbe2fcef2938c859ed2055bf2935baebf5a1919958b44eec9cdd61545d
MD5 33c86f263488960cd98d192680082365
BLAKE2b-256 10f87695c49de1e770c7d2b4410281d455840bd4bd11171a09ac0a4a845f4f04

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyasn1-0.1.6-py3.2.egg
Algorithm Hash digest
SHA256 e65fea061bcfa05f5b500eed187aa02b55f09d12bc0330fcc551564262551f85
MD5 5734c97c7cb64346115336213aa15af2
BLAKE2b-256 2682c0f287ce974acd9f7544829f756e104b782aa736df7e8bdfc6450dca44e4

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyasn1-0.1.6-py3.1.egg
Algorithm Hash digest
SHA256 e23bc55152a1340774ef78c5e279c065dcfb4a0c5cd054ab6dfc297ef45797c0
MD5 53993be4bc0ef72c7a87eaabf3cb13fa
BLAKE2b-256 9a9929cb23df61ff827535e02a44568d8422f8e44fc5863d7f5d7df70e556377

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyasn1-0.1.6-py3.0.egg
Algorithm Hash digest
SHA256 b6158cd58f560956e35c8fe0c887dab81b54d9556b9055c67621f0bf44102274
MD5 44c960ce382373b706b3e5e3243a7a98
BLAKE2b-256 36bde42b346c9adfcb9f859449369eb16069d5e0a7db49ef9933c227ad38bd8d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyasn1-0.1.6-py2.7.egg
Algorithm Hash digest
SHA256 39c0716ea3c4dcfe5bf75b8c6277a839ae5546ce5588a65a9f2c11e92c560561
MD5 32fe674373531b35be38f93c18d467de
BLAKE2b-256 c88277423831d7fe24b4b137403ca068d40f8e78d4b200e9b271b2412315d9e4

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyasn1-0.1.6-py2.6.egg
Algorithm Hash digest
SHA256 30cd0a7f50bb3b4aed0557833c7441af914b4953e15fed58254805c28e30f685
MD5 c3652859b07c1c6908387826e0a337d5
BLAKE2b-256 5450ab395f2ffee967afc6e5bbdc1cf366028d3ce717ce198083cede54809619

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyasn1-0.1.6-py2.5.egg
Algorithm Hash digest
SHA256 02dc5a87d7f24d70d300b35982cd81325b5016d1cafb2a6b723b6e75fc1684fe
MD5 33f92e0ca9c529f16b39e2aa8f31d1d5
BLAKE2b-256 608427d627ea6f0c4fa24122bfc172b0ffc3431e6882857de7359ea7a079c540

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyasn1-0.1.6-py2.4.egg
Algorithm Hash digest
SHA256 8e246c2379b4f32aa56d44983fed2026be2ba4cb519fb88aaccb7d53935015fd
MD5 36c6d247e00d21328a533e1733cfb862
BLAKE2b-256 79320078b7a2d1dbe7a008ecf7dfe5835b9641ca8ad58e9f17410d1266010634

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