# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= python-asn1 VERSION= 2.7.0 KEYWORDS= python VARIANTS= v11 v12 SDESC[v11]= Simple ASN.1 encoder and decoder (3.11) SDESC[v12]= Simple ASN.1 encoder and decoder (3.12) HOMEPAGE= https://github.com/andrivet/python-asn1 CONTACT= Python_Automaton[python@ironwolf.systems] DOWNLOAD_GROUPS= main SITES[main]= PYPIWHL/70/b9/983c341cff02fb09a32be5635bf13030e02917d81499900815dae26b738e DISTFILE[1]= asn1-2.7.0-py2.py3-none-any.whl:main DF_INDEX= 1 SPKGS[v11]= single SPKGS[v12]= single OPTIONS_AVAILABLE= PY311 PY312 OPTIONS_STANDARD= none VOPTS[v11]= PY311=ON PY312=OFF VOPTS[v12]= PY311=OFF PY312=ON DISTNAME= asn1-2.7.0.dist-info GENERATED= yes [PY311].USES_ON= python:v11,wheel [PY312].USES_ON= python:v12,wheel [FILE:2000:descriptions/desc.single] ======== Overview ======== Python-ASN1 is a simple ASN.1 encoder and decoder for Python 2.7 and 3.5+. Features ======== - Support BER (parser) and DER (parser and generator) encoding (except indefinite lengths) - 100% python, compatible with version 2.7, 3.5 and higher - Can be integrated by just including a file into your project Dependencies ============== Python-ASN1 relies on `Python-Future `_ for Python 2 and 3 compatibility. To install Python-Future: .. code-block:: sh pip install future How to install Python-asn1 ========================== Install from PyPi with the following: .. code-block:: sh pip install asn1 or download the repository from [GitHub] and install with the following: .. code-block:: sh python setup.py install You can also simply include ``asn1.py`` into your project. How to use Python-asn1 ====================== .. note:: You can find more detailed documentation on the `Usage`_ page. .. _Usage: usage.rst Encoding -------- If you want to encode data and retrieve its DER-encoded representation, use code such as: .. code-block:: python import asn1 encoder = asn1.Encoder() encoder.start() encoder.write('1.2.3', asn1.Numbers.ObjectIdentifier) encoded_bytes = encoder.output() Decoding -------- If you want to decode ASN.1 from DER or BER encoded bytes, use code such as: .. code-block:: python import asn1 decoder = asn1.Decoder() decoder.start(encoded_bytes) tag, value = decoder.read() Documentation ============= The complete documentation is available on Read The Docs: `python-asn1.readthedocs.io `_ License ======= Python-ASN1 is free software that is made available under the MIT license. Consult the file LICENSE that is distributed together with this library for the exact licensing terms. Copyright ========= The following people have contributed to Python-ASN1. Collectively they own the copyright of this software. [FILE:110:distinfo] feb01dee1f485ecc1b1c0b66762196baaad22c0e1c89861159413b28393fba33 10008 asn1-2.7.0-py2.py3-none-any.whl