Ravenports generated: 22 Nov 2019 12:03
[ravenports.git] / bucket_64 / python-asn1
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               python-asn1
4 VERSION=                2.2.0
5 KEYWORDS=               python devel
6 VARIANTS=               py27 py38 py37
7 SDESC[py37]=            Simple ASN.1 encoder and decoder (PY 37)
8 SDESC[py38]=            Simple ASN.1 encoder and decoder (PY 38)
9 SDESC[py27]=            Simple ASN.1 encoder and decoder (PY 27)
10 HOMEPAGE=               https://github.com/andrivet/python-asn1
11 CONTACT=                Python_Automaton[python@ironwolf.systems]
12
13 DOWNLOAD_GROUPS=        main
14 SITES[main]=            PYPI/a/asn1
15 DISTFILE[1]=            asn1-2.2.0.tar.gz:main
16 DF_INDEX=               1
17 SPKGS[py37]=            single
18 SPKGS[py38]=            single
19 SPKGS[py27]=            single
20
21 OPTIONS_AVAILABLE=      PY27 PY38 PY37
22 OPTIONS_STANDARD=       none
23 VOPTS[py37]=            PY27=OFF PY38=OFF PY37=ON
24 VOPTS[py38]=            PY27=OFF PY38=ON PY37=OFF
25 VOPTS[py27]=            PY27=ON PY38=OFF PY37=OFF
26
27 DISTNAME=               asn1-2.2.0
28
29 GENERATED=              yes
30
31 [PY37].USES_ON=                         python:py37
32
33 [PY38].USES_ON=                         python:py38
34
35 [PY27].USES_ON=                         python:py27
36
37 [FILE:2019:descriptions/desc.single]
38
39
40 ========
41 Overview
42 ========
43
44 Python-ASN1 is a simple ASN.1 encoder and decoder for Python 2.6+ and 3.3+.
45
46 Features
47 ========
48
49 - Support BER (parser) and DER (parser and generator) encoding
50 - 100% python, compatible with version 2.6, 2.7, 3.3 and higher
51 - Can be integrated by just including a file into your project
52
53
54 Dependencies
55 ==============
56
57 Python-ASN1 relies on `Python-Future <http://python-future.org>`_ for
58 Python 2 and 3 compatibility. To install Python-Future:
59
60 .. code-block:: sh
61
62   pip install future
63
64
65 How to install Python-asn1
66 ==========================
67
68 Install from PyPi with the following:
69
70 .. code-block:: sh
71
72   pip install asn1
73
74 or download the repository from `GitHub
75 <https://github.com/andrivet/python-asn1>`_ and install with the following:
76
77 .. code-block:: sh
78
79   python setup.py install
80
81 You can also simply include ``asn1.py`` into your project.
82
83
84 How to use Python-asn1
85 ======================
86
87 .. note:: You can find more detailed documentation on the `Usage`_ page.
88
89 .. _Usage: usage.html
90
91 Encoding
92 --------
93
94 If you want to encode data and retrieve its DER-encoded representation,
95 use code such as:
96
97 .. code-block:: python
98
99   import asn1
100
101   encoder = asn1.Encoder()
102   encoder.start()
103   encoder.write('1.2.3', asn1.ObjectIdentifier)
104   encoded_bytes = encoder.output()
105
106
107 Decoding
108 --------
109
110 If you want to decode ASN.1 from DER or BER encoded bytes, use code such
111 as:
112
113 .. code-block:: python
114
115   import asn1
116
117   decoder = asn1.Decoder()
118   decoder.start(encoded_bytes)
119   tag, value = decoder.read()
120
121
122 Documentation
123 =============
124
125 The complete documentation is available on Read The Docs:
126
127 `python-asn1.readthedocs.io
128 <https://python-asn1.readthedocs.io/en/latest/>`_
129
130
131 License
132 =======
133
134 Python-ASN1 is free software that is made available under the MIT license.
135 Consult the file LICENSE that is distributed together with this library for
136 the exact licensing terms.
137
138 Copyright
139 =========
140
141 The following people have contributed to Python-ASN1. Collectively they
142 own the copyright of this software.
143
144
145
146 [FILE:96:distinfo]
147 5a0cc798ae21313260a53fda7d76b45a86d72a93c58eb218b2713765ce8bf3c7        31658 asn1-2.2.0.tar.gz
148