pyca 4.6__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
pyca/utils.py ADDED
@@ -0,0 +1,270 @@
1
+ # -*- coding: utf-8 -*-
2
+ '''
3
+ python-capture-agent
4
+ ~~~~~~~~~~~~~~~~~~~~
5
+
6
+ :copyright: 2014-2017, Lars Kiesow <lkiesow@uos.de>
7
+ :license: LGPL – see LICENSE for more details.
8
+ '''
9
+
10
+ from pyca.config import config
11
+ from pyca import db
12
+ from datetime import datetime
13
+ from dateutil.tz import tzutc
14
+ import errno
15
+ import json
16
+ import logging
17
+ import os
18
+ import os.path
19
+ import pycurl
20
+ import time
21
+ from io import BytesIO as bio
22
+ from urllib.parse import quote as urlquote
23
+
24
+
25
+ logger = logging.getLogger(__name__)
26
+
27
+
28
+ def http_request(url, post_data=None, timeout=None):
29
+ '''Make an HTTP request to a given URL with optional parameters.
30
+ '''
31
+ logger.debug('Requesting URL: %s', url)
32
+ buf = bio()
33
+ curl = pycurl.Curl()
34
+ curl.setopt(curl.URL, url.encode('ascii', 'ignore'))
35
+
36
+ # Use cookies if configured
37
+ if config('server', 'cookiefile'):
38
+ curl.setopt(curl.COOKIEJAR, config('server', 'cookiefile'))
39
+ curl.setopt(curl.COOKIEFILE, config('server', 'cookiefile'))
40
+
41
+ # More verbose curl calls in debug mode
42
+ if logger.getEffectiveLevel() == logging.DEBUG:
43
+ curl.setopt(pycurl.VERBOSE, True)
44
+
45
+ # Disable HTTPS verification methods if insecure is set
46
+ if config('server', 'insecure'):
47
+ curl.setopt(curl.SSL_VERIFYPEER, 0)
48
+ curl.setopt(curl.SSL_VERIFYHOST, 0)
49
+
50
+ if config('server', 'certificate'):
51
+ # Make sure verification methods are turned on
52
+ curl.setopt(curl.SSL_VERIFYPEER, 1)
53
+ curl.setopt(curl.SSL_VERIFYHOST, 2)
54
+ # Import your certificates
55
+ curl.setopt(pycurl.CAINFO, config('server', 'certificate'))
56
+
57
+ if config('ingest', 'upload_rate') > 0:
58
+ curl.setopt(
59
+ curl.MAX_SEND_SPEED_LARGE,
60
+ config('ingest', 'upload_rate'))
61
+
62
+ curl.setopt(curl.CONNECTTIMEOUT, config('http', 'connection_timeout'))
63
+ if timeout is not None:
64
+ curl.setopt(curl.TIMEOUT, timeout)
65
+ else:
66
+ curl.setopt(curl.TIMEOUT, config('http', 'timeout'))
67
+
68
+ if post_data:
69
+ curl.setopt(curl.HTTPPOST, post_data)
70
+ curl.setopt(curl.WRITEFUNCTION, buf.write)
71
+ logger.debug('Using authentication method %s',
72
+ config('server')['auth_method'])
73
+ if config('server')['auth_method'] == 'digest':
74
+ curl.setopt(curl.HTTPHEADER, ['X-Requested-Auth: Digest'])
75
+ curl.setopt(pycurl.HTTPAUTH, pycurl.HTTPAUTH_DIGEST)
76
+ curl.setopt(pycurl.USERPWD, ':'.join([config('server', 'username'),
77
+ config('server', 'password')]))
78
+ curl.setopt(curl.FAILONERROR, True)
79
+ curl.setopt(curl.FOLLOWLOCATION, True)
80
+ curl.perform()
81
+ curl.close()
82
+ result = buf.getvalue()
83
+ buf.close()
84
+ return result
85
+
86
+
87
+ def get_service(service_type):
88
+ '''Get available service endpoints for a given service type from the
89
+ Opencast ServiceRegistry.
90
+ '''
91
+ override = config('server', 'service_overrides', service_type)
92
+ if override:
93
+ logger.info('Overriding endpoint for %s: %s', service_type, override)
94
+ return [override]
95
+
96
+ # Get available services from Opencast
97
+ endpoint = '/services/available.json?serviceType=' + str(service_type)
98
+ url = config('server', 'url') + endpoint
99
+ response = http_request(url).decode('utf-8')
100
+ services = json.loads(response).get('services', {}).get('service', [])
101
+ services = ensurelist(services)
102
+ endpoints = [service['host'] + service['path'] for service in services
103
+ if service['online'] and service['active']]
104
+ for endpoint in endpoints:
105
+ logger.info(u'Endpoint for %s: %s', service_type, endpoint)
106
+ return endpoints
107
+
108
+
109
+ def timestamp():
110
+ '''Get current unix timestamp
111
+ '''
112
+ return int(datetime.now(tzutc()).timestamp())
113
+
114
+
115
+ def try_mkdir(directory):
116
+ '''Try to create a directory. Pass without error if it already exists.
117
+ '''
118
+ try:
119
+ os.mkdir(directory)
120
+ except OSError as err:
121
+ if err.errno != errno.EEXIST:
122
+ raise err
123
+
124
+
125
+ def service(service_name, force_update=False):
126
+ '''Get the location of a given service from Opencast and add it to the
127
+ current configuration.
128
+
129
+ :param service_name: Name of the service type to request locations for
130
+ :param force_update: Force an update, possibly wait for a service to
131
+ become available if none is available right now.
132
+ :return: List of service locations
133
+ '''
134
+ service_id = f'org.opencastproject.{service_name}'
135
+ service_url = config('services', service_id)
136
+ logger.debug('Cached service URLs for %s: %s', service_name, service_url)
137
+ if service_url and not force_update:
138
+ return service_url
139
+
140
+ # Get service from Opencast server
141
+ config('services')[service_id] = []
142
+ while not config('services', service_id) and not terminate():
143
+ try:
144
+ config('services')[service_id] = get_service(service_id)
145
+ logger.debug('Updates service URL for %s: %s',
146
+ service_name,
147
+ config('services', service_id))
148
+ except pycurl.error:
149
+ logger.exception('Could not get %s endpoint. Retry in 5s',
150
+ service_name)
151
+ time.sleep(5.0)
152
+ return config('services', service_id)
153
+
154
+
155
+ def ensurelist(x):
156
+ '''Ensure an element is a list.'''
157
+ return x if type(x) is list else [x]
158
+
159
+
160
+ def register_ca(status='idle'):
161
+ '''Register this capture agent at the Matterhorn admin server so that it
162
+ shows up in the admin interface.
163
+
164
+ :param status: Current status of the capture agent
165
+ '''
166
+ # If this is a backup CA we don't tell the Matterhorn core that we are
167
+ # here. We will just run silently in the background:
168
+ if config('agent', 'backup_mode'):
169
+ return
170
+ service_endpoint = service('capture.admin')
171
+ if not service_endpoint:
172
+ logger.warning('Missing endpoint for updating agent status.')
173
+ return
174
+ params = [('address', config('ui', 'url')), ('state', status)]
175
+ name = urlquote(config('agent', 'name').encode('utf-8'), safe='')
176
+ url = f'{service_endpoint[0]}/agents/{name}'
177
+ try:
178
+ response = http_request(url, params).decode('utf-8')
179
+ if response:
180
+ logger.info(response)
181
+ except pycurl.error as e:
182
+ logger.warning('Could not set agent state to %s: %s', status, e)
183
+
184
+
185
+ def recording_state(recording_id, status):
186
+ '''Send the state of the current recording to the Matterhorn core.
187
+
188
+ :param recording_id: ID of the current recording
189
+ :param status: Status of the recording
190
+ '''
191
+ # If this is a backup CA we do not update the recording state since the
192
+ # actual CA does that and we want to interfere. We will just run silently
193
+ # in the background:
194
+ if config('agent', 'backup_mode'):
195
+ return
196
+ params = [('state', status)]
197
+ url = service('capture.admin')[0]
198
+ url += f'/recordings/{recording_id}'
199
+ try:
200
+ result = http_request(url, params).decode('utf-8')
201
+ logger.info(result)
202
+ except pycurl.error as e:
203
+ logger.warning('Could not set recording state to %s: %s', status, e)
204
+
205
+
206
+ @db.with_session
207
+ def update_event_status(dbs, event, status):
208
+ '''Update the status of a particular event in the database.
209
+ '''
210
+ dbs.query(db.RecordedEvent).filter(db.RecordedEvent.start == event.start)\
211
+ .update({'status': status})
212
+ event.status = status
213
+ dbs.commit()
214
+
215
+
216
+ @db.with_session
217
+ def set_service_status(dbs, service, status):
218
+ '''Update the status of a particular service in the database.
219
+ '''
220
+ srv = db.ServiceStates()
221
+ srv.type = service
222
+ srv.status = status
223
+
224
+ dbs.merge(srv)
225
+ dbs.commit()
226
+
227
+
228
+ def set_service_status_immediate(service, status):
229
+ '''Update the status of a particular service in the database and send an
230
+ immediate signal to Opencast.
231
+ '''
232
+ set_service_status(service, status)
233
+ update_agent_state()
234
+
235
+
236
+ @db.with_session
237
+ def get_service_status(dbs, service):
238
+ '''Update the status of a particular service in the database.
239
+ '''
240
+ srvs = dbs.query(db.ServiceStates).filter(db.ServiceStates.type == service)
241
+
242
+ if srvs.count():
243
+ return srvs[0].status
244
+
245
+ return db.ServiceStatus.STOPPED
246
+
247
+
248
+ def update_agent_state():
249
+ '''Update the current agent state in opencast.
250
+ '''
251
+ status = 'idle'
252
+
253
+ # Determine reported agent state with priority list
254
+ if get_service_status(db.Service.SCHEDULE) == db.ServiceStatus.STOPPED:
255
+ status = 'offline'
256
+ elif get_service_status(db.Service.CAPTURE) == db.ServiceStatus.BUSY:
257
+ status = 'capturing'
258
+ elif get_service_status(db.Service.INGEST) == db.ServiceStatus.BUSY:
259
+ status = 'uploading'
260
+
261
+ register_ca(status=status)
262
+
263
+
264
+ def terminate(shutdown=None):
265
+ '''Mark process as to be terminated.
266
+ '''
267
+ global _terminate
268
+ if shutdown is not None:
269
+ _terminate = shutdown
270
+ return '_terminate' in globals() and _terminate
@@ -0,0 +1,71 @@
1
+ Metadata-Version: 2.4
2
+ Name: pyca
3
+ Version: 4.6
4
+ Summary: Opencast Capture Agent
5
+ Author-email: Lars Kiesow <lkiesow@uos.de>
6
+ License-Expression: LGPL-3.0-only
7
+ Project-URL: Homepage, https://github.com/opencast/pyCA
8
+ Requires-Python: >=3.10
9
+ Description-Content-Type: text/markdown
10
+ License-File: LICENSE
11
+ Requires-Dist: pycurl>=7.19.5
12
+ Requires-Dist: python-dateutil>=2.4.0
13
+ Requires-Dist: configobj>=5.0.0
14
+ Requires-Dist: sqlalchemy>=0.9.8
15
+ Requires-Dist: sdnotify>=0.3.2
16
+ Requires-Dist: psutil>=5.0.1
17
+ Requires-Dist: flask>=0.12.2
18
+ Requires-Dist: prometheus_client>=0.9
19
+ Dynamic: license-file
20
+
21
+ # PyCA – Opencast Capture Agent
22
+
23
+ [![Test pyCA GitHub Workflow Status](https://github.com/opencast/pyCA/actions/workflows/test.yml/badge.svg)](https://github.com/opencast/pyCA/actions/workflows/test.yml)
24
+ [![LGPL-3 license](https://img.shields.io/github/license/opencast/pyCA)](https://github.com/opencast/pyCA/blob/main/LICENSE)
25
+
26
+ **PyCA** is a fully functional [Opencast] capture agent written in Python.
27
+ It is free software licensed under the terms of the [GNU Lesser General Public
28
+ License].
29
+
30
+ The goals of pyCA are to be…
31
+
32
+ - flexible for any kind of capture device
33
+ - simplistic in code and functionality
34
+ - nonrestrictive in terms of choosing capture software
35
+
36
+ PyCA can be run on almost any kind of devices: A regular PC equipped with
37
+ capture cards, a server to capture network streams, small boards or embedded
38
+ devices like the [Raspberry Pi].
39
+
40
+
41
+ ## Python Versions
42
+
43
+ PyCA requires Python ≥ 3.10. Older versions of Python will not work.
44
+
45
+
46
+ ## Documentation
47
+
48
+ For a detailed installation guide, take a look at the [PyCA documentation].
49
+
50
+
51
+ ## Quick Install for Experienced Users
52
+
53
+ PyCA is configured to use [FFmpeg] by default.
54
+ Make sure to have it installed or adjust the configuration to use something else.
55
+
56
+ ```bash
57
+ git clone https://github.com/opencast/pyCA.git
58
+ cd pyCA
59
+ python3 -m venv venv
60
+ . ./venv/bin/activate
61
+ pip install -r requirements.txt
62
+ vim etc/pyca.conf <-- Edit the configuration
63
+ ./start.sh
64
+ ```
65
+
66
+
67
+ [Opencast]: https://opencast.org
68
+ [GNU Lesser General Public License]: https://github.com/opencast/pyCA/blob/main/LICENSE
69
+ [Raspberry Pi]: https://raspberrypi.org
70
+ [FFmpeg]: https://ffmpeg.org
71
+ [PyCA documentation]: https://github.com/opencast/pyCA/tree/main/docs#welcome-to-the-pyca-documentation
@@ -0,0 +1,25 @@
1
+ pyca/__init__.py,sha256=ED44lnfLOuN63TseJgkcM87UoUyzXGSWa7I9Q-OjqRM,192
2
+ pyca/__main__.py,sha256=eWpRE9VxfZEL38oKrzUG9RHAwLbfl33GMZAkYzsBJb0,3726
3
+ pyca/agentstate.py,sha256=Cf3udog5v5Ip9DxDn0rw_IN2AZrlTLNbLrWoix103m4,1192
4
+ pyca/capture.py,sha256=qYvQghIfwSfaKrM33ACL0y9X-C1ML_vR8vUn42aoA-s,7243
5
+ pyca/config.py,sha256=KyXhk5T5VHLZevScBLYY4Noa4jTY1LHNGkyK_AJrZuo,6206
6
+ pyca/db.py,sha256=c4rC0H_2oJKTzOwrlU_zjcBVGA_-Tllbg-CxWCqofFM,6329
7
+ pyca/ingest.py,sha256=zKor8_PUKCEVOclDd3gfBSg_Hoj-DVQlBWerzixRih8,6213
8
+ pyca/schedule.py,sha256=ltTq8g7zreDwHBHDkD-m06Eb_cMnaJHB3VIaOuNhxUY,4448
9
+ pyca/utils.py,sha256=R4W4J6ufAzBdmn7L5rd7tdYAHIew4-KVBqMV4mRqVEI,8885
10
+ pyca/ui/__init__.py,sha256=CPjDIk08jIt5eRsEdxIesHrsDvf-uvF5qJ47ZzR8zyA,1745
11
+ pyca/ui/capture_devices_collector.py,sha256=Doyoo-ljAzGYFI7jJwnuQk3wyJfCQjKlSi51unRKAUk,732
12
+ pyca/ui/jsonapi.py,sha256=djK1D0rB1krni0AfxcafJOiD-BWhzTwFA4i0YXoKLnk,9867
13
+ pyca/ui/opencast_commands.py,sha256=j0iXBgilHnGVluZ8jC2l8qF5CP_sCkETS2CUjcLSlkE,3131
14
+ pyca/ui/process_status_collector.py,sha256=TRx99G5X4YZ_8rPqmkN7r34w4mfJmC_RRBctAUK3cWU,958
15
+ pyca/ui/recordings_collector.py,sha256=OWs8vVHRN3lBKxZT5QptT084oZR3jSpO6MibWu6B1hI,1545
16
+ pyca/ui/utils.py,sha256=zQNE3Bk3GVkJhvltS6lRrpKppquWf0Q941nm1TXZTzk,1197
17
+ pyca/ui/static/app.js,sha256=FWOV0IxhMkbgn-bRYlssiVsOdynQOeoXxFwsbfUMu90,12390
18
+ pyca/ui/static/index.html,sha256=kCuLhEMZuQAEb5dh8cJ0l9hhReiIYKJXpCKKY6mgnIw,3124
19
+ pyca/ui/static/style.css,sha256=fH2B1O3xrQfBV3AnGPO2N3JYKOz-4A-nvzf594KWJdY,2896
20
+ pyca-4.6.dist-info/licenses/LICENSE,sha256=2n6rt7r999OuXp8iOqW9we7ORaxWncIbOwN1ILRGR2g,7651
21
+ pyca-4.6.dist-info/METADATA,sha256=_VlA9lIBhsERgfUCsuV2P4TbSHeHovgjU9hYkuT5rSQ,2284
22
+ pyca-4.6.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
23
+ pyca-4.6.dist-info/entry_points.txt,sha256=R17KLDQFTRLM5LsGZxm8vjdfByjS-sufcnMCzQOvibQ,44
24
+ pyca-4.6.dist-info/top_level.txt,sha256=kxiA9yqScfFL0Gz6Jx9_TZxfOghghRaEnDyhWD0fbnM,5
25
+ pyca-4.6.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (84.2.1)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ pyca = pyca.__main__:main
@@ -0,0 +1,165 @@
1
+ GNU LESSER GENERAL PUBLIC LICENSE
2
+ Version 3, 29 June 2007
3
+
4
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
5
+ Everyone is permitted to copy and distribute verbatim copies
6
+ of this license document, but changing it is not allowed.
7
+
8
+
9
+ This version of the GNU Lesser General Public License incorporates
10
+ the terms and conditions of version 3 of the GNU General Public
11
+ License, supplemented by the additional permissions listed below.
12
+
13
+ 0. Additional Definitions.
14
+
15
+ As used herein, "this License" refers to version 3 of the GNU Lesser
16
+ General Public License, and the "GNU GPL" refers to version 3 of the GNU
17
+ General Public License.
18
+
19
+ "The Library" refers to a covered work governed by this License,
20
+ other than an Application or a Combined Work as defined below.
21
+
22
+ An "Application" is any work that makes use of an interface provided
23
+ by the Library, but which is not otherwise based on the Library.
24
+ Defining a subclass of a class defined by the Library is deemed a mode
25
+ of using an interface provided by the Library.
26
+
27
+ A "Combined Work" is a work produced by combining or linking an
28
+ Application with the Library. The particular version of the Library
29
+ with which the Combined Work was made is also called the "Linked
30
+ Version".
31
+
32
+ The "Minimal Corresponding Source" for a Combined Work means the
33
+ Corresponding Source for the Combined Work, excluding any source code
34
+ for portions of the Combined Work that, considered in isolation, are
35
+ based on the Application, and not on the Linked Version.
36
+
37
+ The "Corresponding Application Code" for a Combined Work means the
38
+ object code and/or source code for the Application, including any data
39
+ and utility programs needed for reproducing the Combined Work from the
40
+ Application, but excluding the System Libraries of the Combined Work.
41
+
42
+ 1. Exception to Section 3 of the GNU GPL.
43
+
44
+ You may convey a covered work under sections 3 and 4 of this License
45
+ without being bound by section 3 of the GNU GPL.
46
+
47
+ 2. Conveying Modified Versions.
48
+
49
+ If you modify a copy of the Library, and, in your modifications, a
50
+ facility refers to a function or data to be supplied by an Application
51
+ that uses the facility (other than as an argument passed when the
52
+ facility is invoked), then you may convey a copy of the modified
53
+ version:
54
+
55
+ a) under this License, provided that you make a good faith effort to
56
+ ensure that, in the event an Application does not supply the
57
+ function or data, the facility still operates, and performs
58
+ whatever part of its purpose remains meaningful, or
59
+
60
+ b) under the GNU GPL, with none of the additional permissions of
61
+ this License applicable to that copy.
62
+
63
+ 3. Object Code Incorporating Material from Library Header Files.
64
+
65
+ The object code form of an Application may incorporate material from
66
+ a header file that is part of the Library. You may convey such object
67
+ code under terms of your choice, provided that, if the incorporated
68
+ material is not limited to numerical parameters, data structure
69
+ layouts and accessors, or small macros, inline functions and templates
70
+ (ten or fewer lines in length), you do both of the following:
71
+
72
+ a) Give prominent notice with each copy of the object code that the
73
+ Library is used in it and that the Library and its use are
74
+ covered by this License.
75
+
76
+ b) Accompany the object code with a copy of the GNU GPL and this license
77
+ document.
78
+
79
+ 4. Combined Works.
80
+
81
+ You may convey a Combined Work under terms of your choice that,
82
+ taken together, effectively do not restrict modification of the
83
+ portions of the Library contained in the Combined Work and reverse
84
+ engineering for debugging such modifications, if you also do each of
85
+ the following:
86
+
87
+ a) Give prominent notice with each copy of the Combined Work that
88
+ the Library is used in it and that the Library and its use are
89
+ covered by this License.
90
+
91
+ b) Accompany the Combined Work with a copy of the GNU GPL and this license
92
+ document.
93
+
94
+ c) For a Combined Work that displays copyright notices during
95
+ execution, include the copyright notice for the Library among
96
+ these notices, as well as a reference directing the user to the
97
+ copies of the GNU GPL and this license document.
98
+
99
+ d) Do one of the following:
100
+
101
+ 0) Convey the Minimal Corresponding Source under the terms of this
102
+ License, and the Corresponding Application Code in a form
103
+ suitable for, and under terms that permit, the user to
104
+ recombine or relink the Application with a modified version of
105
+ the Linked Version to produce a modified Combined Work, in the
106
+ manner specified by section 6 of the GNU GPL for conveying
107
+ Corresponding Source.
108
+
109
+ 1) Use a suitable shared library mechanism for linking with the
110
+ Library. A suitable mechanism is one that (a) uses at run time
111
+ a copy of the Library already present on the user's computer
112
+ system, and (b) will operate properly with a modified version
113
+ of the Library that is interface-compatible with the Linked
114
+ Version.
115
+
116
+ e) Provide Installation Information, but only if you would otherwise
117
+ be required to provide such information under section 6 of the
118
+ GNU GPL, and only to the extent that such information is
119
+ necessary to install and execute a modified version of the
120
+ Combined Work produced by recombining or relinking the
121
+ Application with a modified version of the Linked Version. (If
122
+ you use option 4d0, the Installation Information must accompany
123
+ the Minimal Corresponding Source and Corresponding Application
124
+ Code. If you use option 4d1, you must provide the Installation
125
+ Information in the manner specified by section 6 of the GNU GPL
126
+ for conveying Corresponding Source.)
127
+
128
+ 5. Combined Libraries.
129
+
130
+ You may place library facilities that are a work based on the
131
+ Library side by side in a single library together with other library
132
+ facilities that are not Applications and are not covered by this
133
+ License, and convey such a combined library under terms of your
134
+ choice, if you do both of the following:
135
+
136
+ a) Accompany the combined library with a copy of the same work based
137
+ on the Library, uncombined with any other library facilities,
138
+ conveyed under the terms of this License.
139
+
140
+ b) Give prominent notice with the combined library that part of it
141
+ is a work based on the Library, and explaining where to find the
142
+ accompanying uncombined form of the same work.
143
+
144
+ 6. Revised Versions of the GNU Lesser General Public License.
145
+
146
+ The Free Software Foundation may publish revised and/or new versions
147
+ of the GNU Lesser General Public License from time to time. Such new
148
+ versions will be similar in spirit to the present version, but may
149
+ differ in detail to address new problems or concerns.
150
+
151
+ Each version is given a distinguishing version number. If the
152
+ Library as you received it specifies that a certain numbered version
153
+ of the GNU Lesser General Public License "or any later version"
154
+ applies to it, you have the option of following the terms and
155
+ conditions either of that published version or of any later version
156
+ published by the Free Software Foundation. If the Library as you
157
+ received it does not specify a version number of the GNU Lesser
158
+ General Public License, you may choose any version of the GNU Lesser
159
+ General Public License ever published by the Free Software Foundation.
160
+
161
+ If the Library as you received it specifies that a proxy can decide
162
+ whether future versions of the GNU Lesser General Public License shall
163
+ apply, that proxy's public statement of acceptance of any version is
164
+ permanent authorization for you to choose that version for the
165
+ Library.
@@ -0,0 +1 @@
1
+ pyca