1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[py38]= Simple ASN.1 encoder and decoder (PY38)
8 SDESC[py39]= Simple ASN.1 encoder and decoder (PY39)
9 HOMEPAGE= https://github.com/andrivet/python-asn1
10 CONTACT= Python_Automaton[python@ironwolf.systems]
13 SITES[main]= PYPIWHL/7d/b3/3937fd3460ab7b5ff80af1f2d74b37b9cdd21f9668ff3602094c436a2e5a
14 DISTFILE[1]= asn1-2.4.1-py2.py3-none-any.whl:main
19 OPTIONS_AVAILABLE= PY38 PY39
20 OPTIONS_STANDARD= none
21 VOPTS[py38]= PY38=ON PY39=OFF
22 VOPTS[py39]= PY38=OFF PY39=ON
24 DISTNAME= asn1-2.4.1.dist-info
28 [PY38].USES_ON= python:py38,wheel
30 [PY39].USES_ON= python:py39,wheel
32 [FILE:2000:descriptions/desc.single]
39 Python-ASN1 is a simple ASN.1 encoder and decoder for Python 2.7 and 3.5+.
44 - Support BER (parser) and DER (parser and generator) encoding (except
46 - 100% python, compatible with version 2.7, 3.5 and higher
47 - Can be integrated by just including a file into your project
52 Python-ASN1 relies on `Python-Future <http://python-future.org>`_ for
53 Python 2 and 3 compatibility. To install Python-Future:
59 How to install Python-asn1
60 ==========================
62 Install from PyPi with the following:
68 or download the repository from [GitHub] and install with the following:
72 python setup.py install
74 You can also simply include ``asn1.py`` into your project.
76 How to use Python-asn1
77 ======================
79 .. note:: You can find more detailed documentation on the `Usage`_ page.
86 If you want to encode data and retrieve its DER-encoded representation, use
89 .. code-block:: python
93 encoder = asn1.Encoder()
95 encoder.write('1.2.3', asn1.Numbers.ObjectIdentifier)
96 encoded_bytes = encoder.output()
101 If you want to decode ASN.1 from DER or BER encoded bytes, use code such
104 .. code-block:: python
108 decoder = asn1.Decoder()
109 decoder.start(encoded_bytes)
110 tag, value = decoder.read()
115 The complete documentation is available on Read The Docs:
117 `python-asn1.readthedocs.io
118 <https://python-asn1.readthedocs.io/en/latest/>`_
123 Python-ASN1 is free software that is made available under the MIT license.
124 Consult the file LICENSE that is distributed together with this library for
125 the exact licensing terms.
130 The following people have contributed to Python-ASN1. Collectively they own
131 the copyright of this software.
136 989cdf85762e11199dc09bc11e201573c8eb832aed4415f1b394bf3503884c37 9419 asn1-2.4.1-py2.py3-none-any.whl