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

$ cd pyasn1-0.1.7

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

Project details


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

Uploaded Source

Built Distributions

pyasn1-0.1.7-py3.3.egg (85.3 kB view details)

Uploaded Source

pyasn1-0.1.7-py3.2.egg (81.5 kB view details)

Uploaded Source

pyasn1-0.1.7-py3.1.egg (80.3 kB view details)

Uploaded Source

pyasn1-0.1.7-py3.0.egg (80.2 kB view details)

Uploaded Source

pyasn1-0.1.7-py2.7.egg (79.6 kB view details)

Uploaded Source

pyasn1-0.1.7-py2.6.egg (79.7 kB view details)

Uploaded Source

pyasn1-0.1.7-py2.5.egg (79.9 kB view details)

Uploaded Source

pyasn1-0.1.7-py2.4.egg (81.0 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for pyasn1-0.1.7.tar.gz
Algorithm Hash digest
SHA256 e4f81d53c533f6bd9526b047f047f7b101c24ab17339c1a7ad8f98b25c101eab
MD5 2cbd80fcd4c7b1c82180d3d76fee18c8
BLAKE2b-256 5b7aa84f94be2c65544ceedaec116e667260b39eae39ca9b8a7eac9793505588

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyasn1-0.1.7-py3.3.egg
Algorithm Hash digest
SHA256 c4c42648c68afd4e182486365c823a9cd8e75570d6cf4909d7f0948333fb3c20
MD5 0c2a5a516bd8c56dd920e948672b4078
BLAKE2b-256 21a33985691096373390377e214733793109ebdde368d6149823087132aa86ea

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyasn1-0.1.7-py3.2.egg
Algorithm Hash digest
SHA256 0dbda90f41ef1860555714bbc6281019748e702a3be7d3aea69d0a725827e31e
MD5 67770200ed85e08051c1b62bf67649ff
BLAKE2b-256 69cf2d6235e239e701f02cda632fc98cbe8f94b25ea132464caf3b3aa8ca6339

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyasn1-0.1.7-py3.1.egg
Algorithm Hash digest
SHA256 fd086433a7b42adcee7a77bdf391846350eee626e6c682c6e7c9d5f964e04d79
MD5 1c105e742bc86b96f00c237edeb72cc9
BLAKE2b-256 d09b5207f7c29f8c9d0f4eabc6f9bb6c794866e4cd0d73e909ba656f44df4c29

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyasn1-0.1.7-py3.0.egg
Algorithm Hash digest
SHA256 e4b0bba9a0c626a4932dd05e892489c248bfee9b666788f56a05f654b77f833d
MD5 5d2ca810159fcac7a3ee5a76d8766a29
BLAKE2b-256 447adcc86e091a56c47c2cf1e8c4c4ee743638eb03e2fbb2522137c04ad22695

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyasn1-0.1.7-py2.7.egg
Algorithm Hash digest
SHA256 6d3b351109f4190cd9740d763384699081a5f2eb8d73daa7e485009fb64618c0
MD5 15f079cabee01402bf86ca8b83356469
BLAKE2b-256 454e5a0c21bd03acade1f856101fcb6bc2e2c399f1c035a6a3033069c6fce078

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyasn1-0.1.7-py2.6.egg
Algorithm Hash digest
SHA256 0ae01dd29e253be212d4b02cb9ec967cf6f423a1b8de8c3e6550591ca0d5a309
MD5 3f15fb53d344b0b625f70da160fea6e6
BLAKE2b-256 e8b78d2a932dbbd64b10f90926b32b05ec2d0319e70be6cf8486ab49b3508abf

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyasn1-0.1.7-py2.5.egg
Algorithm Hash digest
SHA256 cf21190816ded5e2aa99852cc8b72f976be8dd7e065470af552e4dd36209a0f9
MD5 5fa894b002792530a5a51bdb4116fbca
BLAKE2b-256 f6f25e2c8f074d13c92db49cbed80ec703e0acb928802df142ff0b66c7918e97

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyasn1-0.1.7-py2.4.egg
Algorithm Hash digest
SHA256 562c1d94fde772557f6c7fcccd88c4f1b597411209f69437bcccdf0b55e198da
MD5 4aff4e54fd322b6827d661537140bccf
BLAKE2b-256 25fd57efac6cc8799ad9110890fc71fc0592863b7a6df0f94691fb353b5ab725

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