{ "info": { "author": "Sebastien Andrivet", "author_email": "sebastien@andrivet.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Operating System :: Unix", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Utilities" ], "description": "\n\n========\nOverview\n========\n\nPython-ASN1 is a simple ASN.1 encoder and decoder for Python 2.6+ and 3.3+.\n\nFeatures\n========\n\n- Support BER (parser) and DER (parser and generator) encoding\n- 100% python, compatible with version 2.6, 2.7, 3.3 and higher\n- Can be integrated by just including a file into your project\n\n\nDependencies\n==============\n\nPython-ASN1 relies on `Python-Future `_ for Python 2 and 3 compatibility. To install Python-Future:\n\n.. code-block:: sh\n\n pip install future\n\n\nHow to install Python-asn1\n==========================\n\nInstall from PyPi with the following:\n\n.. code-block:: sh\n\n pip install asn1\n\nor download the repository from `GitHub `_ and install with the following:\n\n.. code-block:: sh\n\n python setup.py install\n\nYou can also simply include ``asn1.py`` into your project.\n\n\nHow to use Python-asn1\n======================\n\n.. note:: You can find more detailed documentation on the `Usage`_ page.\n\n.. _Usage: usage.html\n\nEncoding\n--------\n\nIf you want to encode data and retrieve its DER-encoded representation, use code such as:\n\n.. code-block:: python\n\n import asn1\n\n encoder = asn1.Encoder()\n encoder.start()\n encoder.write('1.2.3', asn1.ObjectIdentifier)\n encoded_bytes = encoder.output()\n\n\nDecoding\n--------\n\nIf you want to decode ASN.1 from DER or BER encoded bytes, use code such as:\n\n.. code-block:: python\n\n import asn1\n\n decoder = asn1.Decoder()\n decoder.start(encoded_bytes)\n tag, value = decoder.read()\n\n\nDocumentation\n=============\n\nThe complete documentation is available on Read The Docs:\n\n`python-asn1.readthedocs.io `_\n\n\nLicense\n=======\n\nPython-ASN1 is free software that is made available under the MIT license.\nConsult the file LICENSE that is distributed together with this library for\nthe exact licensing terms.\n\nCopyright\n=========\n\nThe following people have contributed to Python-ASN1. Collectively they own the copyright of this software.\n\n* Geert Jansen (geert@boskant.nl): `original implementation `_.\n* Sebastien Andrivet (sebastien@andrivet.com)\n\nChangelog\n=========\n\n2.1.1 (2017-10-30)\n\n* Fix a bug (#9): two's complement corner case with values such as -32769. Add new test cases to test them.\n\n2.1.0 (2016-12-18)\n------------------\n\n* Add more documentation\n* Use (simulated) enumerations\n* Add Python 2.6 in automated checks and tests\n* Add type hints (for static checking) and fix some code\n\n2.0.0 (2016-12-16)\n------------------\n\n* First public release by Sebastien Andrivet\n* Support both python 2 and 3 (with Python-Future)\n* All strings are now in unicode\n* Add more ASN.1 tags (like PrintableString)\n* Fix errors in the example (dump.py)\n* Code reorganization\n\n0.9 (2011-05-18)\n----------------\n\n* Initial public release by Geert Jansen\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/andrivet/python-asn1", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "asn1", "package_url": "https://pypi.org/project/asn1/", "platform": "", "project_url": "https://pypi.org/project/asn1/", "project_urls": { "Homepage": "https://github.com/andrivet/python-asn1" }, "release_url": "https://pypi.org/project/asn1/2.2.0/", "requires_dist": null, "requires_python": "", "summary": "Python-ASN1 is a simple ASN.1 encoder and decoder for Python 2.6+ and 3.3+.", "version": "2.2.0" }, "last_serial": 3549356, "releases": { "2.0.0": [ { "comment_text": "", "digests": { "md5": "39c95633496031257f90e67409056a15", "sha256": "a6f7f11b1e4497fb33f3b5220ce12290c723bed3f5583b9f46bf527364f6ca48" }, "downloads": -1, "filename": "asn1-2.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "39c95633496031257f90e67409056a15", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 7736, "upload_time": "2016-12-16T23:14:27", "url": "https://files.pythonhosted.org/packages/cc/d7/9928e515a81664497e6ed1d0ae0a576eca2c2865a4910b8ced39a502eab4/asn1-2.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "457a8164fbc36c495018abe77a4a532e", "sha256": "fb5fcc5407b550859c71a571ae8057c2a1d5f64c1b26ef12faf603f296e3d012" }, "downloads": -1, "filename": "asn1-2.0.0.tar.gz", "has_sig": false, "md5_digest": "457a8164fbc36c495018abe77a4a532e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24513, "upload_time": "2016-12-16T19:02:14", "url": "https://files.pythonhosted.org/packages/df/28/5e0cbd107e6342de4b818b2036313e12296c97e2df3cceb03ef6e1bec3a1/asn1-2.0.0.tar.gz" } ], "2.1.0": [ { "comment_text": "", "digests": { "md5": "4914d218eaea3e3dda6ce4b690679e07", "sha256": "3d9c68d104173b5bdc979fe012cd1de0c9ef2145b4ba3f78c6ecaabf457e76b8" }, "downloads": -1, "filename": "asn1-2.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4914d218eaea3e3dda6ce4b690679e07", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 9578, "upload_time": "2016-12-18T16:15:47", "url": "https://files.pythonhosted.org/packages/26/26/2c00af344ceadd4eb20e7af88bf767b75a6804e24dc96d5aceb943550cf8/asn1-2.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9ad8fef7116dbefe3d6959a84a32eeab", "sha256": "5ced27e5fa99dc6b4e5197bf4a60a47c9532c7a48a713f0e51825d994bf2f0c3" }, "downloads": -1, "filename": "asn1-2.1.0.tar.gz", "has_sig": false, "md5_digest": "9ad8fef7116dbefe3d6959a84a32eeab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28728, "upload_time": "2016-12-18T16:15:45", "url": "https://files.pythonhosted.org/packages/31/12/b9d5ad2f70422b87c9e62a16263f6e514692260d6859d56a51d1c32e5e4b/asn1-2.1.0.tar.gz" } ], "2.1.1": [ { "comment_text": "", "digests": { "md5": "dc46f89acfec675d2a64e73f6504b0e4", "sha256": "0ff35ecc6b77e7c834140d41f5dccbe7699fdeb24034e0034901491cffb0f724" }, "downloads": -1, "filename": "asn1-2.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "dc46f89acfec675d2a64e73f6504b0e4", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 9822, "upload_time": "2017-10-30T12:29:39", "url": "https://files.pythonhosted.org/packages/8a/3a/f30caddf103db021828cb3009ace71ab2344c3a4dc5e8e2478c56509a68c/asn1-2.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "dbc4a6a9404d12df0362d94f450d6215", "sha256": "080b6e7747a53dcf4120b8938be41008e54313f3f15e9f500709cc3e0b13e9c5" }, "downloads": -1, "filename": "asn1-2.1.1.tar.gz", "has_sig": false, "md5_digest": "dbc4a6a9404d12df0362d94f450d6215", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 31665, "upload_time": "2017-10-30T12:29:36", "url": "https://files.pythonhosted.org/packages/26/b0/cf0bdf2a949c0a0f5d0a0eec01126fa1b3938a32adb04ad1b4595e9765bd/asn1-2.1.1.tar.gz" } ], "2.2.0": [ { "comment_text": "", "digests": { "md5": "8af395da320bc19d870cf07cc894c760", "sha256": "f856c475719b93a240b89f457c4da8a7f2b6f1cca82acd0fabe6b7e2adfcb3cb" }, "downloads": -1, "filename": "asn1-2.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8af395da320bc19d870cf07cc894c760", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 9833, "upload_time": "2017-10-30T14:46:59", "url": "https://files.pythonhosted.org/packages/98/90/1fef44666b33b3127cc25d32a8b0ded19676c70a6980b5be9cea27470a26/asn1-2.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6281edeea05d719de37a85f39df43042", "sha256": "5a0cc798ae21313260a53fda7d76b45a86d72a93c58eb218b2713765ce8bf3c7" }, "downloads": -1, "filename": "asn1-2.2.0.tar.gz", "has_sig": false, "md5_digest": "6281edeea05d719de37a85f39df43042", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 31658, "upload_time": "2017-10-30T14:46:55", "url": "https://files.pythonhosted.org/packages/b2/a1/1b08bf1004fe00c1a8b9704aa4cabc40d96d09909c6f12d1ac6468d6d3a3/asn1-2.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8af395da320bc19d870cf07cc894c760", "sha256": "f856c475719b93a240b89f457c4da8a7f2b6f1cca82acd0fabe6b7e2adfcb3cb" }, "downloads": -1, "filename": "asn1-2.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8af395da320bc19d870cf07cc894c760", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 9833, "upload_time": "2017-10-30T14:46:59", "url": "https://files.pythonhosted.org/packages/98/90/1fef44666b33b3127cc25d32a8b0ded19676c70a6980b5be9cea27470a26/asn1-2.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6281edeea05d719de37a85f39df43042", "sha256": "5a0cc798ae21313260a53fda7d76b45a86d72a93c58eb218b2713765ce8bf3c7" }, "downloads": -1, "filename": "asn1-2.2.0.tar.gz", "has_sig": false, "md5_digest": "6281edeea05d719de37a85f39df43042", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 31658, "upload_time": "2017-10-30T14:46:55", "url": "https://files.pythonhosted.org/packages/b2/a1/1b08bf1004fe00c1a8b9704aa4cabc40d96d09909c6f12d1ac6468d6d3a3/asn1-2.2.0.tar.gz" } ] }