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

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

Uploaded Source

Built Distributions

pyasn1-0.1.9-py3.5.egg (93.8 kB view details)

Uploaded Source

pyasn1-0.1.9-py3.4.egg (94.2 kB view details)

Uploaded Source

pyasn1-0.1.9-py3.3.egg (96.1 kB view details)

Uploaded Source

pyasn1-0.1.9-py3.2.egg (91.7 kB view details)

Uploaded Source

pyasn1-0.1.9-py3.1.egg (90.4 kB view details)

Uploaded Source

pyasn1-0.1.9-py2.py3-none-any.whl (36.5 kB view details)

Uploaded Python 2 Python 3

pyasn1-0.1.9-py2.7.egg (89.6 kB view details)

Uploaded Source

pyasn1-0.1.9-py2.6.egg (89.7 kB view details)

Uploaded Source

pyasn1-0.1.9-py2.5.egg (89.9 kB view details)

Uploaded Source

pyasn1-0.1.9-py2.4.egg (91.0 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for pyasn1-0.1.9.tar.gz
Algorithm Hash digest
SHA256 853cacd96d1f701ddd67aa03ecc05f51890135b7262e922710112f12a2ed2a7f
MD5 f00a02a631d4016818659d1cc38d229a
BLAKE2b-256 f783377e3dd2e95f9020dbd0dfd3c47aaa7deebe3c68d3857a4e51917146ae8b

See more details on using hashes here.

Provenance

File details

Details for the file pyasn1-0.1.9-py3.5.egg.

File metadata

  • Download URL: pyasn1-0.1.9-py3.5.egg
  • Upload date:
  • Size: 93.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyasn1-0.1.9-py3.5.egg
Algorithm Hash digest
SHA256 8323e03637b2d072cc7041300bac6ec448c3c28950ab40376036788e9a1af629
MD5 353ed400f4ae0d2b6d47efbf39258775
BLAKE2b-256 42f65fe7ffc6ad65bf6a014016820b383578caa6b5a0e935f910ad6cdf5b0e69

See more details on using hashes here.

Provenance

File details

Details for the file pyasn1-0.1.9-py3.4.egg.

File metadata

  • Download URL: pyasn1-0.1.9-py3.4.egg
  • Upload date:
  • Size: 94.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyasn1-0.1.9-py3.4.egg
Algorithm Hash digest
SHA256 5191ff6b9126d2c039dd87f8ff025bed274baf07fa78afa46f556b1ad7265d6e
MD5 af8d486c4bca951d5a17880fbb9b3a0f
BLAKE2b-256 f2f3c34d39a069a03024a94a9055c824e8ab5444c6c8ee7b4690ea9c1726b6d1

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for pyasn1-0.1.9-py3.3.egg
Algorithm Hash digest
SHA256 0cb2a14742b543fdd68f931a14ce3829186ed2b1b2267a06787388c96b2dd9be
MD5 6c35723dc0e8f5ef533eeb7b09e41ae1
BLAKE2b-256 16def3f127749d887a35a62a676bdd7395343017de0da36492d283c9bb3d0192

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for pyasn1-0.1.9-py3.2.egg
Algorithm Hash digest
SHA256 cda5a90485709ca6795c86056c3e5fe7266028b05e53f1d527fdf93a6365a6b8
MD5 ddfaead6a68fa88f366120d5965ee79e
BLAKE2b-256 ec9d8118cd9b3749ab2ca1eb43e45ba3b16824337c8713d83fdbbc6e30efd42a

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for pyasn1-0.1.9-py3.1.egg
Algorithm Hash digest
SHA256 326e7a854a17fab07691204747695f8f692d674588a355c441fb14f660bf4e68
MD5 abc11409e107155d82b845c97cb76d4d
BLAKE2b-256 96fdabc794af4911b9b01e9b26b80e121e60efd4db35692cc4f1906d0f231556

See more details on using hashes here.

Provenance

File details

Details for the file pyasn1-0.1.9-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pyasn1-0.1.9-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 28fee44217991cfad9e6a0b9f7e3f26041e21ebc96629e94e585ccd05d49fa65
MD5 0122c4548f64510b24a35353c0837198
BLAKE2b-256 69bee8946f7867b84b0e61a613f6fd56f63266190b1a470f945178f7cbc4d0ae

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for pyasn1-0.1.9-py2.7.egg
Algorithm Hash digest
SHA256 2f96ed5a0c329ca16230b326ca12b7461ec8f65e0be3e4f997516f36bf82a345
MD5 08eef0e822233609f6cad55b419ae00c
BLAKE2b-256 c3ea03328a42adfc16a1babbe334ad969f6e27862bcaff9576444d423d2c9257

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for pyasn1-0.1.9-py2.6.egg
Algorithm Hash digest
SHA256 35025cd9422c96504912f04e2f15fe79390a8597b430c2ca5d0534cf9309ffa0
MD5 151d3873375c20721f36de07da564577
BLAKE2b-256 381ae90940af0e8a77b29ff6994145117dc974a3cbfae0cf5596c4d52972b0c7

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for pyasn1-0.1.9-py2.5.egg
Algorithm Hash digest
SHA256 1802a6dd32045e472a419db1441aecab469d33e0d2749e192abdec52101724af
MD5 4218dd7c26c0afc634a1b52e81f15cf2
BLAKE2b-256 d5d53001949087690d4931e84b29789dc91c07e8d6ee6acab193ada3d566390f

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for pyasn1-0.1.9-py2.4.egg
Algorithm Hash digest
SHA256 61f9d99e3cef65feb1bfe3a2eef7a93eb93819d345bf54bcd42f4e63d5204dae
MD5 b35258be048908344bda6feb59aa1186
BLAKE2b-256 482cdce56c03cfe0500349e4cd1b778462f15b03615ce02d4ee7c7519c2108d1

See more details on using hashes here.

Provenance

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