Ravenports generated: 04 Jun 2021 22:44
[ravenports.git] / bucket_64 / python-asn1
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               python-asn1
4 VERSION=                2.4.1
5 KEYWORDS=               python
6 VARIANTS=               py38 py39
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]
11
12 DOWNLOAD_GROUPS=        main
13 SITES[main]=            PYPIWHL/7d/b3/3937fd3460ab7b5ff80af1f2d74b37b9cdd21f9668ff3602094c436a2e5a
14 DISTFILE[1]=            asn1-2.4.1-py2.py3-none-any.whl:main
15 DF_INDEX=               1
16 SPKGS[py38]=            single
17 SPKGS[py39]=            single
18
19 OPTIONS_AVAILABLE=      PY38 PY39
20 OPTIONS_STANDARD=       none
21 VOPTS[py38]=            PY38=ON PY39=OFF
22 VOPTS[py39]=            PY38=OFF PY39=ON
23
24 DISTNAME=               asn1-2.4.1.dist-info
25
26 GENERATED=              yes
27
28 [PY38].USES_ON=                         python:py38,wheel
29
30 [PY39].USES_ON=                         python:py39,wheel
31
32 [FILE:2000:descriptions/desc.single]
33
34
35 ========
36 Overview
37 ========
38
39 Python-ASN1 is a simple ASN.1 encoder and decoder for Python 2.7 and 3.5+.
40
41 Features
42 ========
43
44 - Support BER (parser) and DER (parser and generator) encoding (except
45 indefinite lengths)
46 - 100% python, compatible with version 2.7, 3.5 and higher
47 - Can be integrated by just including a file into your project
48
49 Dependencies
50 ==============
51
52 Python-ASN1 relies on `Python-Future <http://python-future.org>`_ for
53 Python 2 and 3 compatibility. To install Python-Future:
54
55 .. code-block:: sh
56
57   pip install future
58
59 How to install Python-asn1
60 ==========================
61
62 Install from PyPi with the following:
63
64 .. code-block:: sh
65
66   pip install asn1
67
68 or download the repository from [GitHub] and install with the following:
69
70 .. code-block:: sh
71
72   python setup.py install
73
74 You can also simply include ``asn1.py`` into your project.
75
76 How to use Python-asn1
77 ======================
78
79 .. note:: You can find more detailed documentation on the `Usage`_ page.
80
81 .. _Usage: usage.html
82
83 Encoding
84 --------
85
86 If you want to encode data and retrieve its DER-encoded representation, use
87 code such as:
88
89 .. code-block:: python
90
91   import asn1
92
93   encoder = asn1.Encoder()
94   encoder.start()
95   encoder.write('1.2.3', asn1.Numbers.ObjectIdentifier)
96   encoded_bytes = encoder.output()
97
98 Decoding
99 --------
100
101 If you want to decode ASN.1 from DER or BER encoded bytes, use code such
102 as:
103
104 .. code-block:: python
105
106   import asn1
107
108   decoder = asn1.Decoder()
109   decoder.start(encoded_bytes)
110   tag, value = decoder.read()
111
112 Documentation
113 =============
114
115 The complete documentation is available on Read The Docs:
116
117 `python-asn1.readthedocs.io
118 <https://python-asn1.readthedocs.io/en/latest/>`_
119
120 License
121 =======
122
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.
126
127 Copyright
128 =========
129
130 The following people have contributed to Python-ASN1. Collectively they own
131 the copyright of this software.
132
133
134
135 [FILE:110:distinfo]
136 989cdf85762e11199dc09bc11e201573c8eb832aed4415f1b394bf3503884c37         9419 asn1-2.4.1-py2.py3-none-any.whl
137