Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitattributes +1 -0
- .venv/lib/python3.11/site-packages/MarkupSafe-3.0.2.dist-info/INSTALLER +1 -0
- .venv/lib/python3.11/site-packages/MarkupSafe-3.0.2.dist-info/LICENSE.txt +28 -0
- .venv/lib/python3.11/site-packages/MarkupSafe-3.0.2.dist-info/METADATA +92 -0
- .venv/lib/python3.11/site-packages/MarkupSafe-3.0.2.dist-info/RECORD +14 -0
- .venv/lib/python3.11/site-packages/MarkupSafe-3.0.2.dist-info/WHEEL +6 -0
- .venv/lib/python3.11/site-packages/MarkupSafe-3.0.2.dist-info/top_level.txt +1 -0
- .venv/lib/python3.11/site-packages/certifi-2024.12.14.dist-info/INSTALLER +1 -0
- .venv/lib/python3.11/site-packages/certifi-2024.12.14.dist-info/LICENSE +20 -0
- .venv/lib/python3.11/site-packages/certifi-2024.12.14.dist-info/METADATA +68 -0
- .venv/lib/python3.11/site-packages/certifi-2024.12.14.dist-info/RECORD +14 -0
- .venv/lib/python3.11/site-packages/certifi-2024.12.14.dist-info/WHEEL +5 -0
- .venv/lib/python3.11/site-packages/certifi-2024.12.14.dist-info/top_level.txt +1 -0
- .venv/lib/python3.11/site-packages/opencv_python_headless-4.11.0.86.dist-info/INSTALLER +1 -0
- .venv/lib/python3.11/site-packages/opencv_python_headless-4.11.0.86.dist-info/LICENSE-3RD-PARTY.txt +0 -0
- .venv/lib/python3.11/site-packages/opencv_python_headless-4.11.0.86.dist-info/LICENSE.txt +21 -0
- .venv/lib/python3.11/site-packages/opencv_python_headless-4.11.0.86.dist-info/METADATA +306 -0
- .venv/lib/python3.11/site-packages/opencv_python_headless-4.11.0.86.dist-info/RECORD +111 -0
- .venv/lib/python3.11/site-packages/opencv_python_headless-4.11.0.86.dist-info/WHEEL +6 -0
- .venv/lib/python3.11/site-packages/opencv_python_headless-4.11.0.86.dist-info/top_level.txt +1 -0
- .venv/lib/python3.11/site-packages/pyOpenSSL-24.2.1.dist-info/INSTALLER +1 -0
- .venv/lib/python3.11/site-packages/pyOpenSSL-24.2.1.dist-info/LICENSE +202 -0
- .venv/lib/python3.11/site-packages/pyOpenSSL-24.2.1.dist-info/RECORD +21 -0
- .venv/lib/python3.11/site-packages/pyOpenSSL-24.2.1.dist-info/WHEEL +5 -0
- .venv/lib/python3.11/site-packages/pyOpenSSL-24.2.1.dist-info/top_level.txt +1 -0
- .venv/lib/python3.11/site-packages/pyasn1-0.6.1.dist-info/INSTALLER +1 -0
- .venv/lib/python3.11/site-packages/pyasn1-0.6.1.dist-info/LICENSE.rst +24 -0
- .venv/lib/python3.11/site-packages/pyasn1-0.6.1.dist-info/METADATA +228 -0
- .venv/lib/python3.11/site-packages/pyasn1-0.6.1.dist-info/RECORD +71 -0
- .venv/lib/python3.11/site-packages/pyasn1-0.6.1.dist-info/WHEEL +5 -0
- .venv/lib/python3.11/site-packages/pyasn1-0.6.1.dist-info/top_level.txt +1 -0
- .venv/lib/python3.11/site-packages/pyasn1-0.6.1.dist-info/zip-safe +1 -0
- .venv/lib/python3.11/site-packages/pydantic/__pycache__/json_schema.cpython-311.pyc +3 -0
- .venv/lib/python3.11/site-packages/pydantic/_internal/__pycache__/__init__.cpython-311.pyc +0 -0
- .venv/lib/python3.11/site-packages/pydantic/_internal/__pycache__/_config.cpython-311.pyc +0 -0
- .venv/lib/python3.11/site-packages/pydantic/_internal/__pycache__/_core_metadata.cpython-311.pyc +0 -0
- .venv/lib/python3.11/site-packages/pydantic/_internal/__pycache__/_core_utils.cpython-311.pyc +0 -0
- .venv/lib/python3.11/site-packages/pydantic/_internal/__pycache__/_dataclasses.cpython-311.pyc +0 -0
- .venv/lib/python3.11/site-packages/pydantic/_internal/__pycache__/_decorators.cpython-311.pyc +0 -0
- .venv/lib/python3.11/site-packages/pydantic/_internal/__pycache__/_decorators_v1.cpython-311.pyc +0 -0
- .venv/lib/python3.11/site-packages/pydantic/_internal/__pycache__/_discriminated_union.cpython-311.pyc +0 -0
- .venv/lib/python3.11/site-packages/pydantic/_internal/__pycache__/_docs_extraction.cpython-311.pyc +0 -0
- .venv/lib/python3.11/site-packages/pydantic/_internal/__pycache__/_fields.cpython-311.pyc +0 -0
- .venv/lib/python3.11/site-packages/pydantic/_internal/__pycache__/_forward_ref.cpython-311.pyc +0 -0
- .venv/lib/python3.11/site-packages/pydantic/_internal/__pycache__/_generics.cpython-311.pyc +0 -0
- .venv/lib/python3.11/site-packages/pydantic/_internal/__pycache__/_git.cpython-311.pyc +0 -0
- .venv/lib/python3.11/site-packages/pydantic/_internal/__pycache__/_import_utils.cpython-311.pyc +0 -0
- .venv/lib/python3.11/site-packages/pydantic/_internal/__pycache__/_known_annotated_metadata.cpython-311.pyc +0 -0
- .venv/lib/python3.11/site-packages/pydantic/_internal/__pycache__/_mock_val_ser.cpython-311.pyc +0 -0
- .venv/lib/python3.11/site-packages/pydantic/_internal/__pycache__/_model_construction.cpython-311.pyc +0 -0
.gitattributes
CHANGED
|
@@ -96,3 +96,4 @@ tuning-competition-baseline/.venv/lib/python3.11/site-packages/torch/_inductor/c
|
|
| 96 |
tuning-competition-baseline/.venv/lib/python3.11/site-packages/torch/_inductor/__pycache__/ir.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
| 97 |
tuning-competition-baseline/.venv/lib/python3.11/site-packages/nvidia/cuda_cupti/lib/libpcsamplingutil.so filter=lfs diff=lfs merge=lfs -text
|
| 98 |
tuning-competition-baseline/.venv/lib/python3.11/site-packages/torch/_inductor/__pycache__/lowering.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 96 |
tuning-competition-baseline/.venv/lib/python3.11/site-packages/torch/_inductor/__pycache__/ir.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
| 97 |
tuning-competition-baseline/.venv/lib/python3.11/site-packages/nvidia/cuda_cupti/lib/libpcsamplingutil.so filter=lfs diff=lfs merge=lfs -text
|
| 98 |
tuning-competition-baseline/.venv/lib/python3.11/site-packages/torch/_inductor/__pycache__/lowering.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
| 99 |
+
.venv/lib/python3.11/site-packages/pydantic/__pycache__/json_schema.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
.venv/lib/python3.11/site-packages/MarkupSafe-3.0.2.dist-info/INSTALLER
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
pip
|
.venv/lib/python3.11/site-packages/MarkupSafe-3.0.2.dist-info/LICENSE.txt
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Copyright 2010 Pallets
|
| 2 |
+
|
| 3 |
+
Redistribution and use in source and binary forms, with or without
|
| 4 |
+
modification, are permitted provided that the following conditions are
|
| 5 |
+
met:
|
| 6 |
+
|
| 7 |
+
1. Redistributions of source code must retain the above copyright
|
| 8 |
+
notice, this list of conditions and the following disclaimer.
|
| 9 |
+
|
| 10 |
+
2. Redistributions in binary form must reproduce the above copyright
|
| 11 |
+
notice, this list of conditions and the following disclaimer in the
|
| 12 |
+
documentation and/or other materials provided with the distribution.
|
| 13 |
+
|
| 14 |
+
3. Neither the name of the copyright holder nor the names of its
|
| 15 |
+
contributors may be used to endorse or promote products derived from
|
| 16 |
+
this software without specific prior written permission.
|
| 17 |
+
|
| 18 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 19 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 20 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
| 21 |
+
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
| 22 |
+
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 23 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
|
| 24 |
+
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
| 25 |
+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
| 26 |
+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
| 27 |
+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
| 28 |
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
.venv/lib/python3.11/site-packages/MarkupSafe-3.0.2.dist-info/METADATA
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Metadata-Version: 2.1
|
| 2 |
+
Name: MarkupSafe
|
| 3 |
+
Version: 3.0.2
|
| 4 |
+
Summary: Safely add untrusted strings to HTML/XML markup.
|
| 5 |
+
Maintainer-email: Pallets <contact@palletsprojects.com>
|
| 6 |
+
License: Copyright 2010 Pallets
|
| 7 |
+
|
| 8 |
+
Redistribution and use in source and binary forms, with or without
|
| 9 |
+
modification, are permitted provided that the following conditions are
|
| 10 |
+
met:
|
| 11 |
+
|
| 12 |
+
1. Redistributions of source code must retain the above copyright
|
| 13 |
+
notice, this list of conditions and the following disclaimer.
|
| 14 |
+
|
| 15 |
+
2. Redistributions in binary form must reproduce the above copyright
|
| 16 |
+
notice, this list of conditions and the following disclaimer in the
|
| 17 |
+
documentation and/or other materials provided with the distribution.
|
| 18 |
+
|
| 19 |
+
3. Neither the name of the copyright holder nor the names of its
|
| 20 |
+
contributors may be used to endorse or promote products derived from
|
| 21 |
+
this software without specific prior written permission.
|
| 22 |
+
|
| 23 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 24 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 25 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
| 26 |
+
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
| 27 |
+
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 28 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
|
| 29 |
+
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
| 30 |
+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
| 31 |
+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
| 32 |
+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
| 33 |
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 34 |
+
|
| 35 |
+
Project-URL: Donate, https://palletsprojects.com/donate
|
| 36 |
+
Project-URL: Documentation, https://markupsafe.palletsprojects.com/
|
| 37 |
+
Project-URL: Changes, https://markupsafe.palletsprojects.com/changes/
|
| 38 |
+
Project-URL: Source, https://github.com/pallets/markupsafe/
|
| 39 |
+
Project-URL: Chat, https://discord.gg/pallets
|
| 40 |
+
Classifier: Development Status :: 5 - Production/Stable
|
| 41 |
+
Classifier: Environment :: Web Environment
|
| 42 |
+
Classifier: Intended Audience :: Developers
|
| 43 |
+
Classifier: License :: OSI Approved :: BSD License
|
| 44 |
+
Classifier: Operating System :: OS Independent
|
| 45 |
+
Classifier: Programming Language :: Python
|
| 46 |
+
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
|
| 47 |
+
Classifier: Topic :: Text Processing :: Markup :: HTML
|
| 48 |
+
Classifier: Typing :: Typed
|
| 49 |
+
Requires-Python: >=3.9
|
| 50 |
+
Description-Content-Type: text/markdown
|
| 51 |
+
License-File: LICENSE.txt
|
| 52 |
+
|
| 53 |
+
# MarkupSafe
|
| 54 |
+
|
| 55 |
+
MarkupSafe implements a text object that escapes characters so it is
|
| 56 |
+
safe to use in HTML and XML. Characters that have special meanings are
|
| 57 |
+
replaced so that they display as the actual characters. This mitigates
|
| 58 |
+
injection attacks, meaning untrusted user input can safely be displayed
|
| 59 |
+
on a page.
|
| 60 |
+
|
| 61 |
+
|
| 62 |
+
## Examples
|
| 63 |
+
|
| 64 |
+
```pycon
|
| 65 |
+
>>> from markupsafe import Markup, escape
|
| 66 |
+
|
| 67 |
+
>>> # escape replaces special characters and wraps in Markup
|
| 68 |
+
>>> escape("<script>alert(document.cookie);</script>")
|
| 69 |
+
Markup('<script>alert(document.cookie);</script>')
|
| 70 |
+
|
| 71 |
+
>>> # wrap in Markup to mark text "safe" and prevent escaping
|
| 72 |
+
>>> Markup("<strong>Hello</strong>")
|
| 73 |
+
Markup('<strong>hello</strong>')
|
| 74 |
+
|
| 75 |
+
>>> escape(Markup("<strong>Hello</strong>"))
|
| 76 |
+
Markup('<strong>hello</strong>')
|
| 77 |
+
|
| 78 |
+
>>> # Markup is a str subclass
|
| 79 |
+
>>> # methods and operators escape their arguments
|
| 80 |
+
>>> template = Markup("Hello <em>{name}</em>")
|
| 81 |
+
>>> template.format(name='"World"')
|
| 82 |
+
Markup('Hello <em>"World"</em>')
|
| 83 |
+
```
|
| 84 |
+
|
| 85 |
+
## Donate
|
| 86 |
+
|
| 87 |
+
The Pallets organization develops and supports MarkupSafe and other
|
| 88 |
+
popular packages. In order to grow the community of contributors and
|
| 89 |
+
users, and allow the maintainers to devote more time to the projects,
|
| 90 |
+
[please donate today][].
|
| 91 |
+
|
| 92 |
+
[please donate today]: https://palletsprojects.com/donate
|
.venv/lib/python3.11/site-packages/MarkupSafe-3.0.2.dist-info/RECORD
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MarkupSafe-3.0.2.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
| 2 |
+
MarkupSafe-3.0.2.dist-info/LICENSE.txt,sha256=SJqOEQhQntmKN7uYPhHg9-HTHwvY-Zp5yESOf_N9B-o,1475
|
| 3 |
+
MarkupSafe-3.0.2.dist-info/METADATA,sha256=aAwbZhSmXdfFuMM-rEHpeiHRkBOGESyVLJIuwzHP-nw,3975
|
| 4 |
+
MarkupSafe-3.0.2.dist-info/RECORD,,
|
| 5 |
+
MarkupSafe-3.0.2.dist-info/WHEEL,sha256=OhaudQk1f3YCu0uQO5v6u-i01XPoX70c0R3T_XY-jOo,151
|
| 6 |
+
MarkupSafe-3.0.2.dist-info/top_level.txt,sha256=qy0Plje5IJuvsCBjejJyhDCjEAdcDLK_2agVcex8Z6U,11
|
| 7 |
+
markupsafe/__init__.py,sha256=sr-U6_27DfaSrj5jnHYxWN-pvhM27sjlDplMDPZKm7k,13214
|
| 8 |
+
markupsafe/__pycache__/__init__.cpython-311.pyc,,
|
| 9 |
+
markupsafe/__pycache__/_native.cpython-311.pyc,,
|
| 10 |
+
markupsafe/_native.py,sha256=hSLs8Jmz5aqayuengJJ3kdT5PwNpBWpKrmQSdipndC8,210
|
| 11 |
+
markupsafe/_speedups.c,sha256=O7XulmTo-epI6n2FtMVOrJXl8EAaIwD2iNYmBI5SEoQ,4149
|
| 12 |
+
markupsafe/_speedups.cpython-311-x86_64-linux-gnu.so,sha256=6IDH6Z1ajjClhfGerTB8WLb81uXUpLD8e-e1WzCirVY,43456
|
| 13 |
+
markupsafe/_speedups.pyi,sha256=ENd1bYe7gbBUf2ywyYWOGUpnXOHNJ-cgTNqetlW8h5k,41
|
| 14 |
+
markupsafe/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
.venv/lib/python3.11/site-packages/MarkupSafe-3.0.2.dist-info/WHEEL
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Wheel-Version: 1.0
|
| 2 |
+
Generator: setuptools (75.2.0)
|
| 3 |
+
Root-Is-Purelib: false
|
| 4 |
+
Tag: cp311-cp311-manylinux_2_17_x86_64
|
| 5 |
+
Tag: cp311-cp311-manylinux2014_x86_64
|
| 6 |
+
|
.venv/lib/python3.11/site-packages/MarkupSafe-3.0.2.dist-info/top_level.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
markupsafe
|
.venv/lib/python3.11/site-packages/certifi-2024.12.14.dist-info/INSTALLER
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
pip
|
.venv/lib/python3.11/site-packages/certifi-2024.12.14.dist-info/LICENSE
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
This package contains a modified version of ca-bundle.crt:
|
| 2 |
+
|
| 3 |
+
ca-bundle.crt -- Bundle of CA Root Certificates
|
| 4 |
+
|
| 5 |
+
This is a bundle of X.509 certificates of public Certificate Authorities
|
| 6 |
+
(CA). These were automatically extracted from Mozilla's root certificates
|
| 7 |
+
file (certdata.txt). This file can be found in the mozilla source tree:
|
| 8 |
+
https://hg.mozilla.org/mozilla-central/file/tip/security/nss/lib/ckfw/builtins/certdata.txt
|
| 9 |
+
It contains the certificates in PEM format and therefore
|
| 10 |
+
can be directly used with curl / libcurl / php_curl, or with
|
| 11 |
+
an Apache+mod_ssl webserver for SSL client authentication.
|
| 12 |
+
Just configure this file as the SSLCACertificateFile.#
|
| 13 |
+
|
| 14 |
+
***** BEGIN LICENSE BLOCK *****
|
| 15 |
+
This Source Code Form is subject to the terms of the Mozilla Public License,
|
| 16 |
+
v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain
|
| 17 |
+
one at http://mozilla.org/MPL/2.0/.
|
| 18 |
+
|
| 19 |
+
***** END LICENSE BLOCK *****
|
| 20 |
+
@(#) $RCSfile: certdata.txt,v $ $Revision: 1.80 $ $Date: 2011/11/03 15:11:58 $
|
.venv/lib/python3.11/site-packages/certifi-2024.12.14.dist-info/METADATA
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Metadata-Version: 2.1
|
| 2 |
+
Name: certifi
|
| 3 |
+
Version: 2024.12.14
|
| 4 |
+
Summary: Python package for providing Mozilla's CA Bundle.
|
| 5 |
+
Home-page: https://github.com/certifi/python-certifi
|
| 6 |
+
Author: Kenneth Reitz
|
| 7 |
+
Author-email: me@kennethreitz.com
|
| 8 |
+
License: MPL-2.0
|
| 9 |
+
Project-URL: Source, https://github.com/certifi/python-certifi
|
| 10 |
+
Classifier: Development Status :: 5 - Production/Stable
|
| 11 |
+
Classifier: Intended Audience :: Developers
|
| 12 |
+
Classifier: License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)
|
| 13 |
+
Classifier: Natural Language :: English
|
| 14 |
+
Classifier: Programming Language :: Python
|
| 15 |
+
Classifier: Programming Language :: Python :: 3
|
| 16 |
+
Classifier: Programming Language :: Python :: 3 :: Only
|
| 17 |
+
Classifier: Programming Language :: Python :: 3.6
|
| 18 |
+
Classifier: Programming Language :: Python :: 3.7
|
| 19 |
+
Classifier: Programming Language :: Python :: 3.8
|
| 20 |
+
Classifier: Programming Language :: Python :: 3.9
|
| 21 |
+
Classifier: Programming Language :: Python :: 3.10
|
| 22 |
+
Classifier: Programming Language :: Python :: 3.11
|
| 23 |
+
Classifier: Programming Language :: Python :: 3.12
|
| 24 |
+
Classifier: Programming Language :: Python :: 3.13
|
| 25 |
+
Requires-Python: >=3.6
|
| 26 |
+
License-File: LICENSE
|
| 27 |
+
|
| 28 |
+
Certifi: Python SSL Certificates
|
| 29 |
+
================================
|
| 30 |
+
|
| 31 |
+
Certifi provides Mozilla's carefully curated collection of Root Certificates for
|
| 32 |
+
validating the trustworthiness of SSL certificates while verifying the identity
|
| 33 |
+
of TLS hosts. It has been extracted from the `Requests`_ project.
|
| 34 |
+
|
| 35 |
+
Installation
|
| 36 |
+
------------
|
| 37 |
+
|
| 38 |
+
``certifi`` is available on PyPI. Simply install it with ``pip``::
|
| 39 |
+
|
| 40 |
+
$ pip install certifi
|
| 41 |
+
|
| 42 |
+
Usage
|
| 43 |
+
-----
|
| 44 |
+
|
| 45 |
+
To reference the installed certificate authority (CA) bundle, you can use the
|
| 46 |
+
built-in function::
|
| 47 |
+
|
| 48 |
+
>>> import certifi
|
| 49 |
+
|
| 50 |
+
>>> certifi.where()
|
| 51 |
+
'/usr/local/lib/python3.7/site-packages/certifi/cacert.pem'
|
| 52 |
+
|
| 53 |
+
Or from the command line::
|
| 54 |
+
|
| 55 |
+
$ python -m certifi
|
| 56 |
+
/usr/local/lib/python3.7/site-packages/certifi/cacert.pem
|
| 57 |
+
|
| 58 |
+
Enjoy!
|
| 59 |
+
|
| 60 |
+
.. _`Requests`: https://requests.readthedocs.io/en/master/
|
| 61 |
+
|
| 62 |
+
Addition/Removal of Certificates
|
| 63 |
+
--------------------------------
|
| 64 |
+
|
| 65 |
+
Certifi does not support any addition/removal or other modification of the
|
| 66 |
+
CA trust store content. This project is intended to provide a reliable and
|
| 67 |
+
highly portable root of trust to python deployments. Look to upstream projects
|
| 68 |
+
for methods to use alternate trust.
|
.venv/lib/python3.11/site-packages/certifi-2024.12.14.dist-info/RECORD
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
certifi-2024.12.14.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
| 2 |
+
certifi-2024.12.14.dist-info/LICENSE,sha256=6TcW2mucDVpKHfYP5pWzcPBpVgPSH2-D8FPkLPwQyvc,989
|
| 3 |
+
certifi-2024.12.14.dist-info/METADATA,sha256=z71eRGTFszr4qsHenZ_vG2Fd5bV9PBWmJgShthc8IkY,2274
|
| 4 |
+
certifi-2024.12.14.dist-info/RECORD,,
|
| 5 |
+
certifi-2024.12.14.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
| 6 |
+
certifi-2024.12.14.dist-info/top_level.txt,sha256=KMu4vUCfsjLrkPbSNdgdekS-pVJzBAJFO__nI8NF6-U,8
|
| 7 |
+
certifi/__init__.py,sha256=LqjNcwt1sYSS3uhPXrf6jJzVCuHtNVpuirg5rb7mVm8,94
|
| 8 |
+
certifi/__main__.py,sha256=xBBoj905TUWBLRGANOcf7oi6e-3dMP4cEoG9OyMs11g,243
|
| 9 |
+
certifi/__pycache__/__init__.cpython-311.pyc,,
|
| 10 |
+
certifi/__pycache__/__main__.cpython-311.pyc,,
|
| 11 |
+
certifi/__pycache__/core.cpython-311.pyc,,
|
| 12 |
+
certifi/cacert.pem,sha256=gHiXJU84Oif0XkT0llbzeKurIUHt5DpK08JCCll90j8,294769
|
| 13 |
+
certifi/core.py,sha256=qRDDFyXVJwTB_EmoGppaXU_R9qCZvhl-EzxPMuV3nTA,4426
|
| 14 |
+
certifi/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
.venv/lib/python3.11/site-packages/certifi-2024.12.14.dist-info/WHEEL
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Wheel-Version: 1.0
|
| 2 |
+
Generator: setuptools (75.6.0)
|
| 3 |
+
Root-Is-Purelib: true
|
| 4 |
+
Tag: py3-none-any
|
| 5 |
+
|
.venv/lib/python3.11/site-packages/certifi-2024.12.14.dist-info/top_level.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
certifi
|
.venv/lib/python3.11/site-packages/opencv_python_headless-4.11.0.86.dist-info/INSTALLER
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
pip
|
.venv/lib/python3.11/site-packages/opencv_python_headless-4.11.0.86.dist-info/LICENSE-3RD-PARTY.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
.venv/lib/python3.11/site-packages/opencv_python_headless-4.11.0.86.dist-info/LICENSE.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) Olli-Pekka Heinisuo
|
| 4 |
+
|
| 5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 6 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 7 |
+
in the Software without restriction, including without limitation the rights
|
| 8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 9 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 10 |
+
furnished to do so, subject to the following conditions:
|
| 11 |
+
|
| 12 |
+
The above copyright notice and this permission notice shall be included in all
|
| 13 |
+
copies or substantial portions of the Software.
|
| 14 |
+
|
| 15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 21 |
+
SOFTWARE.
|
.venv/lib/python3.11/site-packages/opencv_python_headless-4.11.0.86.dist-info/METADATA
ADDED
|
@@ -0,0 +1,306 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Metadata-Version: 2.1
|
| 2 |
+
Name: opencv-python-headless
|
| 3 |
+
Version: 4.11.0.86
|
| 4 |
+
Summary: Wrapper package for OpenCV python bindings.
|
| 5 |
+
Home-page: https://github.com/opencv/opencv-python
|
| 6 |
+
Maintainer: OpenCV Team
|
| 7 |
+
License: Apache 2.0
|
| 8 |
+
Platform: UNKNOWN
|
| 9 |
+
Classifier: Development Status :: 5 - Production/Stable
|
| 10 |
+
Classifier: Environment :: Console
|
| 11 |
+
Classifier: Intended Audience :: Developers
|
| 12 |
+
Classifier: Intended Audience :: Education
|
| 13 |
+
Classifier: Intended Audience :: Information Technology
|
| 14 |
+
Classifier: Intended Audience :: Science/Research
|
| 15 |
+
Classifier: License :: OSI Approved :: Apache Software License
|
| 16 |
+
Classifier: Operating System :: MacOS
|
| 17 |
+
Classifier: Operating System :: Microsoft :: Windows
|
| 18 |
+
Classifier: Operating System :: POSIX
|
| 19 |
+
Classifier: Operating System :: Unix
|
| 20 |
+
Classifier: Programming Language :: Python
|
| 21 |
+
Classifier: Programming Language :: Python :: 3
|
| 22 |
+
Classifier: Programming Language :: Python :: 3 :: Only
|
| 23 |
+
Classifier: Programming Language :: Python :: 3.6
|
| 24 |
+
Classifier: Programming Language :: Python :: 3.7
|
| 25 |
+
Classifier: Programming Language :: Python :: 3.8
|
| 26 |
+
Classifier: Programming Language :: Python :: 3.9
|
| 27 |
+
Classifier: Programming Language :: Python :: 3.10
|
| 28 |
+
Classifier: Programming Language :: Python :: 3.11
|
| 29 |
+
Classifier: Programming Language :: Python :: 3.12
|
| 30 |
+
Classifier: Programming Language :: Python :: 3.13
|
| 31 |
+
Classifier: Programming Language :: C++
|
| 32 |
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
| 33 |
+
Classifier: Topic :: Scientific/Engineering
|
| 34 |
+
Classifier: Topic :: Scientific/Engineering :: Image Recognition
|
| 35 |
+
Classifier: Topic :: Software Development
|
| 36 |
+
Requires-Python: >=3.6
|
| 37 |
+
Description-Content-Type: text/markdown
|
| 38 |
+
License-File: LICENSE-3RD-PARTY.txt
|
| 39 |
+
License-File: LICENSE.txt
|
| 40 |
+
Requires-Dist: numpy>=1.13.3; python_version < "3.7"
|
| 41 |
+
Requires-Dist: numpy>=1.21.0; python_version <= "3.9" and platform_system == "Darwin" and platform_machine == "arm64"
|
| 42 |
+
Requires-Dist: numpy>=1.21.2; python_version >= "3.10"
|
| 43 |
+
Requires-Dist: numpy>=1.21.4; python_version >= "3.10" and platform_system == "Darwin"
|
| 44 |
+
Requires-Dist: numpy>=1.23.5; python_version >= "3.11"
|
| 45 |
+
Requires-Dist: numpy>=1.26.0; python_version >= "3.12"
|
| 46 |
+
Requires-Dist: numpy>=1.19.3; python_version >= "3.6" and platform_system == "Linux" and platform_machine == "aarch64"
|
| 47 |
+
Requires-Dist: numpy>=1.17.0; python_version >= "3.7"
|
| 48 |
+
Requires-Dist: numpy>=1.17.3; python_version >= "3.8"
|
| 49 |
+
Requires-Dist: numpy>=1.19.3; python_version >= "3.9"
|
| 50 |
+
|
| 51 |
+
[](http://pepy.tech/project/opencv-python)
|
| 52 |
+
|
| 53 |
+
### Keep OpenCV Free
|
| 54 |
+
|
| 55 |
+
OpenCV is raising funds to keep the library free for everyone, and we need the support of the entire community to do it. [Donate to OpenCV on Github](https://github.com/sponsors/opencv) to show your support.
|
| 56 |
+
|
| 57 |
+
- [OpenCV on Wheels](#opencv-on-wheels)
|
| 58 |
+
- [Installation and Usage](#installation-and-usage)
|
| 59 |
+
- [Frequently Asked Questions](#frequently-asked-questions)
|
| 60 |
+
- [Documentation for opencv-python](#documentation-for-opencv-python)
|
| 61 |
+
- [CI build process](#ci-build-process)
|
| 62 |
+
- [Manual builds](#manual-builds)
|
| 63 |
+
- [Manual debug builds](#manual-debug-builds)
|
| 64 |
+
- [Source distributions](#source-distributions)
|
| 65 |
+
- [Licensing](#licensing)
|
| 66 |
+
- [Versioning](#versioning)
|
| 67 |
+
- [Releases](#releases)
|
| 68 |
+
- [Development builds](#development-builds)
|
| 69 |
+
- [Manylinux wheels](#manylinux-wheels)
|
| 70 |
+
- [Supported Python versions](#supported-python-versions)
|
| 71 |
+
- [Backward compatibility](#backward-compatibility)
|
| 72 |
+
|
| 73 |
+
## OpenCV on Wheels
|
| 74 |
+
|
| 75 |
+
Pre-built CPU-only OpenCV packages for Python.
|
| 76 |
+
|
| 77 |
+
Check the manual build section if you wish to compile the bindings from source to enable additional modules such as CUDA.
|
| 78 |
+
|
| 79 |
+
### Installation and Usage
|
| 80 |
+
|
| 81 |
+
1. If you have previous/other manually installed (= not installed via ``pip``) version of OpenCV installed (e.g. cv2 module in the root of Python's site-packages), remove it before installation to avoid conflicts.
|
| 82 |
+
2. Make sure that your `pip` version is up-to-date (19.3 is the minimum supported version): `pip install --upgrade pip`. Check version with `pip -V`. For example Linux distributions ship usually with very old `pip` versions which cause a lot of unexpected problems especially with the `manylinux` format.
|
| 83 |
+
3. Select the correct package for your environment:
|
| 84 |
+
|
| 85 |
+
There are four different packages (see options 1, 2, 3 and 4 below) and you should **SELECT ONLY ONE OF THEM**. Do not install multiple different packages in the same environment. There is no plugin architecture: all the packages use the same namespace (`cv2`). If you installed multiple different packages in the same environment, uninstall them all with ``pip uninstall`` and reinstall only one package.
|
| 86 |
+
|
| 87 |
+
**a.** Packages for standard desktop environments (Windows, macOS, almost any GNU/Linux distribution)
|
| 88 |
+
|
| 89 |
+
- Option 1 - Main modules package: ``pip install opencv-python``
|
| 90 |
+
- Option 2 - Full package (contains both main modules and contrib/extra modules): ``pip install opencv-contrib-python`` (check contrib/extra modules listing from [OpenCV documentation](https://docs.opencv.org/master/))
|
| 91 |
+
|
| 92 |
+
**b.** Packages for server (headless) environments (such as Docker, cloud environments etc.), no GUI library dependencies
|
| 93 |
+
|
| 94 |
+
These packages are smaller than the two other packages above because they do not contain any GUI functionality (not compiled with Qt / other GUI components). This means that the packages avoid a heavy dependency chain to X11 libraries and you will have for example smaller Docker images as a result. You should always use these packages if you do not use `cv2.imshow` et al. or you are using some other package (such as PyQt) than OpenCV to create your GUI.
|
| 95 |
+
|
| 96 |
+
- Option 3 - Headless main modules package: ``pip install opencv-python-headless``
|
| 97 |
+
- Option 4 - Headless full package (contains both main modules and contrib/extra modules): ``pip install opencv-contrib-python-headless`` (check contrib/extra modules listing from [OpenCV documentation](https://docs.opencv.org/master/))
|
| 98 |
+
|
| 99 |
+
4. Import the package:
|
| 100 |
+
|
| 101 |
+
``import cv2``
|
| 102 |
+
|
| 103 |
+
All packages contain Haar cascade files. ``cv2.data.haarcascades`` can be used as a shortcut to the data folder. For example:
|
| 104 |
+
|
| 105 |
+
``cv2.CascadeClassifier(cv2.data.haarcascades + "haarcascade_frontalface_default.xml")``
|
| 106 |
+
|
| 107 |
+
5. Read [OpenCV documentation](https://docs.opencv.org/master/)
|
| 108 |
+
|
| 109 |
+
6. Before opening a new issue, read the FAQ below and have a look at the other issues which are already open.
|
| 110 |
+
|
| 111 |
+
Frequently Asked Questions
|
| 112 |
+
--------------------------
|
| 113 |
+
|
| 114 |
+
**Q: Do I need to install also OpenCV separately?**
|
| 115 |
+
|
| 116 |
+
A: No, the packages are special wheel binary packages and they already contain statically built OpenCV binaries.
|
| 117 |
+
|
| 118 |
+
**Q: Pip install fails with ``ModuleNotFoundError: No module named 'skbuild'``?**
|
| 119 |
+
|
| 120 |
+
Since ``opencv-python`` version 4.3.0.\*, ``manylinux1`` wheels were replaced by ``manylinux2014`` wheels. If your pip is too old, it will try to use the new source distribution introduced in 4.3.0.38 to manually build OpenCV because it does not know how to install ``manylinux2014`` wheels. However, source build will also fail because of too old ``pip`` because it does not understand build dependencies in ``pyproject.toml``. To use the new ``manylinux2014`` pre-built wheels (or to build from source), your ``pip`` version must be >= 19.3. Please upgrade ``pip`` with ``pip install --upgrade pip``.
|
| 121 |
+
|
| 122 |
+
**Q: Import fails on Windows: ``ImportError: DLL load failed: The specified module could not be found.``?**
|
| 123 |
+
|
| 124 |
+
A: If the import fails on Windows, make sure you have [Visual C++ redistributable 2015](https://www.microsoft.com/en-us/download/details.aspx?id=48145) installed. If you are using older Windows version than Windows 10 and latest system updates are not installed, [Universal C Runtime](https://support.microsoft.com/en-us/help/2999226/update-for-universal-c-runtime-in-windows) might be also required.
|
| 125 |
+
|
| 126 |
+
Windows N and KN editions do not include Media Feature Pack which is required by OpenCV. If you are using Windows N or KN edition, please install also [Windows Media Feature Pack](https://support.microsoft.com/en-us/help/3145500/media-feature-pack-list-for-windows-n-editions).
|
| 127 |
+
|
| 128 |
+
If you have Windows Server 2012+, media DLLs are probably missing too; please install the Feature called "Media Foundation" in the Server Manager. Beware, some posts advise to install "Windows Server Essentials Media Pack", but this one requires the "Windows Server Essentials Experience" role, and this role will deeply affect your Windows Server configuration (by enforcing active directory integration etc.); so just installing the "Media Foundation" should be a safer choice.
|
| 129 |
+
|
| 130 |
+
If the above does not help, check if you are using Anaconda. Old Anaconda versions have a bug which causes the error, see [this issue](https://github.com/opencv/opencv-python/issues/36) for a manual fix.
|
| 131 |
+
|
| 132 |
+
If you still encounter the error after you have checked all the previous solutions, download [Dependencies](https://github.com/lucasg/Dependencies) and open the ``cv2.pyd`` (located usually at ``C:\Users\username\AppData\Local\Programs\Python\PythonXX\Lib\site-packages\cv2``) file with it to debug missing DLL issues.
|
| 133 |
+
|
| 134 |
+
**Q: I have some other import errors?**
|
| 135 |
+
|
| 136 |
+
A: Make sure you have removed old manual installations of OpenCV Python bindings (cv2.so or cv2.pyd in site-packages).
|
| 137 |
+
|
| 138 |
+
**Q: Function foo() or method bar() returns wrong result, throws exception or crashes interpreter. What should I do?**
|
| 139 |
+
|
| 140 |
+
A: The repository contains only OpenCV-Python package build scripts, but not OpenCV itself. Python bindings for OpenCV are developed in official OpenCV repository and it's the best place to report issues. Also please check [OpenCV wiki](https://github.com/opencv/opencv/wiki) and [the official OpenCV forum](https://forum.opencv.org/) before file new bugs.
|
| 141 |
+
|
| 142 |
+
**Q: Why the packages do not include non-free algorithms?**
|
| 143 |
+
|
| 144 |
+
A: Non-free algorithms such as SURF are not included in these packages because they are patented / non-free and therefore cannot be distributed as built binaries. Note that SIFT is included in the builds due to patent expiration since OpenCV versions 4.3.0 and 3.4.10. See this issue for more info: https://github.com/skvark/opencv-python/issues/126
|
| 145 |
+
|
| 146 |
+
**Q: Why the package and import are different (opencv-python vs. cv2)?**
|
| 147 |
+
|
| 148 |
+
A: It's easier for users to understand ``opencv-python`` than ``cv2`` and it makes it easier to find the package with search engines. `cv2` (old interface in old OpenCV versions was named as `cv`) is the name that OpenCV developers chose when they created the binding generators. This is kept as the import name to be consistent with different kind of tutorials around the internet. Changing the import name or behaviour would be also confusing to experienced users who are accustomed to the ``import cv2``.
|
| 149 |
+
|
| 150 |
+
## Documentation for opencv-python
|
| 151 |
+
|
| 152 |
+
[](https://github.com/opencv/opencv-python/actions/workflows/build_wheels_windows.yml)
|
| 153 |
+
[](https://github.com/opencv/opencv-python/actions/workflows/build_wheels_linux.yml)
|
| 154 |
+
[](https://github.com/opencv/opencv-python/actions/workflows/build_wheels_macos.yml)
|
| 155 |
+
|
| 156 |
+
The aim of this repository is to provide means to package each new [OpenCV release](https://github.com/opencv/opencv/releases) for the most used Python versions and platforms.
|
| 157 |
+
|
| 158 |
+
### CI build process
|
| 159 |
+
|
| 160 |
+
The project is structured like a normal Python package with a standard ``setup.py`` file.
|
| 161 |
+
The build process for a single entry in the build matrices is as follows (see for example `.github/workflows/build_wheels_linux.yml` file):
|
| 162 |
+
|
| 163 |
+
0. In Linux and MacOS build: get OpenCV's optional C dependencies that we compile against
|
| 164 |
+
|
| 165 |
+
1. Checkout repository and submodules
|
| 166 |
+
|
| 167 |
+
- OpenCV is included as submodule and the version is updated
|
| 168 |
+
manually by maintainers when a new OpenCV release has been made
|
| 169 |
+
- Contrib modules are also included as a submodule
|
| 170 |
+
|
| 171 |
+
2. Find OpenCV version from the sources
|
| 172 |
+
|
| 173 |
+
3. Build OpenCV
|
| 174 |
+
|
| 175 |
+
- tests are disabled, otherwise build time increases too much
|
| 176 |
+
- there are 4 build matrix entries for each build combination: with and without contrib modules, with and without GUI (headless)
|
| 177 |
+
- Linux builds run in manylinux Docker containers (CentOS 5)
|
| 178 |
+
- source distributions are separate entries in the build matrix
|
| 179 |
+
|
| 180 |
+
4. Rearrange OpenCV's build result, add our custom files and generate wheel
|
| 181 |
+
|
| 182 |
+
5. Linux and macOS wheels are transformed with auditwheel and delocate, correspondingly
|
| 183 |
+
|
| 184 |
+
6. Install the generated wheel
|
| 185 |
+
7. Test that Python can import the library and run some sanity checks
|
| 186 |
+
8. Use twine to upload the generated wheel to PyPI (only in release builds)
|
| 187 |
+
|
| 188 |
+
Steps 1--4 are handled by ``pip wheel``.
|
| 189 |
+
|
| 190 |
+
The build can be customized with environment variables. In addition to any variables that OpenCV's build accepts, we recognize:
|
| 191 |
+
|
| 192 |
+
- ``CI_BUILD``. Set to ``1`` to emulate the CI environment build behaviour. Used only in CI builds to force certain build flags on in ``setup.py``. Do not use this unless you know what you are doing.
|
| 193 |
+
- ``ENABLE_CONTRIB`` and ``ENABLE_HEADLESS``. Set to ``1`` to build the contrib and/or headless version
|
| 194 |
+
- ``ENABLE_JAVA``, Set to ``1`` to enable the Java client build. This is disabled by default.
|
| 195 |
+
- ``CMAKE_ARGS``. Additional arguments for OpenCV's CMake invocation. You can use this to make a custom build.
|
| 196 |
+
|
| 197 |
+
See the next section for more info about manual builds outside the CI environment.
|
| 198 |
+
|
| 199 |
+
### Manual builds
|
| 200 |
+
|
| 201 |
+
If some dependency is not enabled in the pre-built wheels, you can also run the build locally to create a custom wheel.
|
| 202 |
+
|
| 203 |
+
1. Clone this repository: `git clone --recursive https://github.com/opencv/opencv-python.git`
|
| 204 |
+
2. ``cd opencv-python``
|
| 205 |
+
- you can use `git` to checkout some other version of OpenCV in the `opencv` and `opencv_contrib` submodules if needed
|
| 206 |
+
3. Add custom Cmake flags if needed, for example: `export CMAKE_ARGS="-DSOME_FLAG=ON -DSOME_OTHER_FLAG=OFF"` (in Windows you need to set environment variables differently depending on Command Line or PowerShell)
|
| 207 |
+
4. Select the package flavor which you wish to build with `ENABLE_CONTRIB` and `ENABLE_HEADLESS`: i.e. `export ENABLE_CONTRIB=1` if you wish to build `opencv-contrib-python`
|
| 208 |
+
5. Run ``pip wheel . --verbose``. NOTE: make sure you have the latest ``pip`` version, the ``pip wheel`` command replaces the old ``python setup.py bdist_wheel`` command which does not support ``pyproject.toml``.
|
| 209 |
+
- this might take anything from 5 minutes to over 2 hours depending on your hardware
|
| 210 |
+
6. Pip will print fresh wheel location at the end of build procedure. If you use old approach with `setup.py` file wheel package will be placed in `dist` folder. Package is ready and you can do with that whatever you wish.
|
| 211 |
+
- Optional: on Linux use some of the `manylinux` images as a build hosts if maximum portability is needed and run `auditwheel` for the wheel after build
|
| 212 |
+
- Optional: on macOS use ``delocate`` (same as ``auditwheel`` but for macOS) for better portability
|
| 213 |
+
|
| 214 |
+
#### Manual debug builds
|
| 215 |
+
|
| 216 |
+
In order to build `opencv-python` in an unoptimized debug build, you need to side-step the normal process a bit.
|
| 217 |
+
|
| 218 |
+
1. Install the packages `scikit-build` and `numpy` via pip.
|
| 219 |
+
2. Run the command `python setup.py bdist_wheel --build-type=Debug`.
|
| 220 |
+
3. Install the generated wheel file in the `dist/` folder with `pip install dist/wheelname.whl`.
|
| 221 |
+
|
| 222 |
+
If you would like the build produce all compiler commands, then the following combination of flags and environment variables has been tested to work on Linux:
|
| 223 |
+
```
|
| 224 |
+
export CMAKE_ARGS='-DCMAKE_VERBOSE_MAKEFILE=ON'
|
| 225 |
+
export VERBOSE=1
|
| 226 |
+
|
| 227 |
+
python3 setup.py bdist_wheel --build-type=Debug
|
| 228 |
+
```
|
| 229 |
+
|
| 230 |
+
See this issue for more discussion: https://github.com/opencv/opencv-python/issues/424
|
| 231 |
+
|
| 232 |
+
#### Source distributions
|
| 233 |
+
|
| 234 |
+
Since OpenCV version 4.3.0, also source distributions are provided in PyPI. This means that if your system is not compatible with any of the wheels in PyPI, ``pip`` will attempt to build OpenCV from sources. If you need a OpenCV version which is not available in PyPI as a source distribution, please follow the manual build guidance above instead of this one.
|
| 235 |
+
|
| 236 |
+
You can also force ``pip`` to build the wheels from the source distribution. Some examples:
|
| 237 |
+
|
| 238 |
+
- ``pip install --no-binary opencv-python opencv-python``
|
| 239 |
+
- ``pip install --no-binary :all: opencv-python``
|
| 240 |
+
|
| 241 |
+
If you need contrib modules or headless version, just change the package name (step 4 in the previous section is not needed). However, any additional CMake flags can be provided via environment variables as described in step 3 of the manual build section. If none are provided, OpenCV's CMake scripts will attempt to find and enable any suitable dependencies. Headless distributions have hard coded CMake flags which disable all possible GUI dependencies.
|
| 242 |
+
|
| 243 |
+
On slow systems such as Raspberry Pi the full build may take several hours. On a 8-core Ryzen 7 3700X the build takes about 6 minutes.
|
| 244 |
+
|
| 245 |
+
### Licensing
|
| 246 |
+
|
| 247 |
+
Opencv-python package (scripts in this repository) is available under MIT license.
|
| 248 |
+
|
| 249 |
+
OpenCV itself is available under [Apache 2](https://github.com/opencv/opencv/blob/master/LICENSE) license.
|
| 250 |
+
|
| 251 |
+
Third party package licenses are at [LICENSE-3RD-PARTY.txt](https://github.com/opencv/opencv-python/blob/master/LICENSE-3RD-PARTY.txt).
|
| 252 |
+
|
| 253 |
+
All wheels ship with [FFmpeg](http://ffmpeg.org) licensed under the [LGPLv2.1](http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html).
|
| 254 |
+
|
| 255 |
+
Non-headless Linux wheels ship with [Qt 5](http://doc.qt.io/qt-5/lgpl.html) licensed under the [LGPLv3](http://www.gnu.org/licenses/lgpl-3.0.html).
|
| 256 |
+
|
| 257 |
+
The packages include also other binaries. Full list of licenses can be found from [LICENSE-3RD-PARTY.txt](https://github.com/opencv/opencv-python/blob/master/LICENSE-3RD-PARTY.txt).
|
| 258 |
+
|
| 259 |
+
### Versioning
|
| 260 |
+
|
| 261 |
+
``find_version.py`` script searches for the version information from OpenCV sources and appends also a revision number specific to this repository to the version string. It saves the version information to ``version.py`` file under ``cv2`` in addition to some other flags.
|
| 262 |
+
|
| 263 |
+
### Releases
|
| 264 |
+
|
| 265 |
+
A release is made and uploaded to PyPI when a new tag is pushed to master branch. These tags differentiate packages (this repo might have modifications but OpenCV version stays same) and should be incremented sequentially. In practice, release version numbers look like this:
|
| 266 |
+
|
| 267 |
+
``cv_major.cv_minor.cv_revision.package_revision`` e.g. ``3.1.0.0``
|
| 268 |
+
|
| 269 |
+
The master branch follows OpenCV master branch releases. 3.4 branch follows OpenCV 3.4 bugfix releases.
|
| 270 |
+
|
| 271 |
+
### Development builds
|
| 272 |
+
|
| 273 |
+
Every commit to the master branch of this repo will be built. Possible build artifacts use local version identifiers:
|
| 274 |
+
|
| 275 |
+
``cv_major.cv_minor.cv_revision+git_hash_of_this_repo`` e.g. ``3.1.0+14a8d39``
|
| 276 |
+
|
| 277 |
+
These artifacts can't be and will not be uploaded to PyPI.
|
| 278 |
+
|
| 279 |
+
### Manylinux wheels
|
| 280 |
+
|
| 281 |
+
Linux wheels are built using [manylinux2014](https://github.com/pypa/manylinux). These wheels should work out of the box for most of the distros (which use GNU C standard library) out there since they are built against an old version of glibc.
|
| 282 |
+
|
| 283 |
+
The default ``manylinux2014`` images have been extended with some OpenCV dependencies. See [Docker folder](https://github.com/skvark/opencv-python/tree/master/docker) for more info.
|
| 284 |
+
|
| 285 |
+
### Supported Python versions
|
| 286 |
+
|
| 287 |
+
Python 3.x compatible pre-built wheels are provided for the officially supported Python versions (not in EOL):
|
| 288 |
+
|
| 289 |
+
- 3.7
|
| 290 |
+
- 3.8
|
| 291 |
+
- 3.9
|
| 292 |
+
- 3.10
|
| 293 |
+
- 3.11
|
| 294 |
+
- 3.12
|
| 295 |
+
|
| 296 |
+
### Backward compatibility
|
| 297 |
+
|
| 298 |
+
Starting from 4.2.0 and 3.4.9 builds the macOS Travis build environment was updated to XCode 9.4. The change effectively dropped support for older than 10.13 macOS versions.
|
| 299 |
+
|
| 300 |
+
Starting from 4.3.0 and 3.4.10 builds the Linux build environment was updated from `manylinux1` to `manylinux2014`. This dropped support for old Linux distributions.
|
| 301 |
+
|
| 302 |
+
Starting from version 4.7.0 the Mac OS GitHub Actions build environment was update to version 11. Mac OS 10.x support deprecated. See https://github.com/actions/runner-images/issues/5583
|
| 303 |
+
|
| 304 |
+
Starting from version 4.9.0 the Mac OS GitHub Actions build environment was update to version 12. Mac OS 10.x support deprecated by Brew and most of used packages.
|
| 305 |
+
|
| 306 |
+
|
.venv/lib/python3.11/site-packages/opencv_python_headless-4.11.0.86.dist-info/RECORD
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
cv2/Error/__init__.pyi,sha256=A6NKtoMeZAvZWHC6DrJiwMVChY7LLxFfvuZ2dW4KSm8,4076
|
| 2 |
+
cv2/LICENSE-3RD-PARTY.txt,sha256=T8PBE9U-ldoPPEM2VaZwZ7cxDlOvMettKA6UzGkno2M,152360
|
| 3 |
+
cv2/LICENSE.txt,sha256=CdcZBY54Kse8cbohyUThE2zeK7lXwOiIEh8CGNa18Cw,1070
|
| 4 |
+
cv2/__init__.py,sha256=k2vZTFpd6_AhL8dRr3nToWNlLz6FAlnfIVnbaqPtitg,6612
|
| 5 |
+
cv2/__init__.pyi,sha256=RHyuwHTCKEDV7-EAu53Kpj6xW_iISuzWRp0DksTO8wI,302180
|
| 6 |
+
cv2/__pycache__/__init__.cpython-311.pyc,,
|
| 7 |
+
cv2/__pycache__/config-3.cpython-311.pyc,,
|
| 8 |
+
cv2/__pycache__/config.cpython-311.pyc,,
|
| 9 |
+
cv2/__pycache__/load_config_py2.cpython-311.pyc,,
|
| 10 |
+
cv2/__pycache__/load_config_py3.cpython-311.pyc,,
|
| 11 |
+
cv2/__pycache__/version.cpython-311.pyc,,
|
| 12 |
+
cv2/aruco/__init__.pyi,sha256=XOaNz4SbfQ0UFH8guZ9WgTybx8gekTOWr8452Yjz54E,13995
|
| 13 |
+
cv2/barcode/__init__.pyi,sha256=19t0bbiTB8nxuT0DyqcTwEWGBynXm6NkaZg646flAL0,1441
|
| 14 |
+
cv2/config-3.py,sha256=mnqt9yS4IgAfXpY7Af1ON11F4su-Mo0sp7QqRAwIOhw,724
|
| 15 |
+
cv2/config.py,sha256=l04tQJbuGpqaNB3xvzPhaXNoO_GsczAG3if_LyO8WE0,111
|
| 16 |
+
cv2/cuda/__init__.pyi,sha256=NLvu_nprfOlixHWXIngC4TFip6Tznzx5jORNwBtemGg,16106
|
| 17 |
+
cv2/cv2.abi3.so,sha256=aP7knSZqlecwwcsX2ROjmpOrXFC-4VgWAPRTAm-ce40,66106617
|
| 18 |
+
cv2/data/__init__.py,sha256=125Pcte_OtB55ZxjWg5ko8ugpnogZ1sRMyP48dtBCMw,70
|
| 19 |
+
cv2/data/__pycache__/__init__.cpython-311.pyc,,
|
| 20 |
+
cv2/data/haarcascade_eye.xml,sha256=ccxk_DBaNV3GAGeID2-71D3RVb1j7jhEZhob2jSy_Yw,341406
|
| 21 |
+
cv2/data/haarcascade_eye_tree_eyeglasses.xml,sha256=4y-cZ5NcM-nRMx6xT6WFVP8Xg1wDdCZjvLl6iS6Talc,601661
|
| 22 |
+
cv2/data/haarcascade_frontalcatface.xml,sha256=rCusk07yQoTviisunY5X7vhKwdaUO00R5cnoWE3Aacg,411388
|
| 23 |
+
cv2/data/haarcascade_frontalcatface_extended.xml,sha256=_9DR0o8H0DdsidtMmEUAnChVzHbIz_dj1TMdyTYdqFQ,382918
|
| 24 |
+
cv2/data/haarcascade_frontalface_alt.xml,sha256=YoHfE0Wcwhj_BH0Csq44WbEv8UqT_-iVL3sz-te5aXs,676709
|
| 25 |
+
cv2/data/haarcascade_frontalface_alt2.xml,sha256=ewyWfZq7373gJeuceGlH0VG2QmBA0HqPlWLtj9kHJLQ,540616
|
| 26 |
+
cv2/data/haarcascade_frontalface_alt_tree.xml,sha256=Dl7kfswTJp1U3XpV-LU3UhZ8Ulh3IId3MjiPsHigSAo,2689040
|
| 27 |
+
cv2/data/haarcascade_frontalface_default.xml,sha256=D31FJ4ROtRTUpJSOgi2pD7sWo0oLu7xq3GSYdHpar7A,930127
|
| 28 |
+
cv2/data/haarcascade_fullbody.xml,sha256=BBdFxx7vG1yGrvIk8XznWwQtMzFMyPZ1dCT4vYzTCqE,476827
|
| 29 |
+
cv2/data/haarcascade_lefteye_2splits.xml,sha256=dMMjx4yBR1_JFY-sv7hmuwzKBr5B9XHfR9SsjQH5zkw,195369
|
| 30 |
+
cv2/data/haarcascade_license_plate_rus_16stages.xml,sha256=TRxEv3obxOIE-iWwRu0Kz_1_cTzBP-KVi2l3Elxg3eo,47775
|
| 31 |
+
cv2/data/haarcascade_lowerbody.xml,sha256=HmluHHxmxDmuIpz_-IcfQgN8NX6eHgkKK1nrwfj_XLs,395322
|
| 32 |
+
cv2/data/haarcascade_profileface.xml,sha256=s5pKO-RVOdsUan_B0-dhopLBluuIQhGF5qYVswVeYS0,828514
|
| 33 |
+
cv2/data/haarcascade_righteye_2splits.xml,sha256=TPDXK-pzB-mvfrmdSsvhXXEBpnwi_Nz77v1pKtN893Y,196170
|
| 34 |
+
cv2/data/haarcascade_russian_plate_number.xml,sha256=gUy1lUaCr1cOWDYfnl-LW1E6QRJ3a7nsrO-fDkymwtc,75482
|
| 35 |
+
cv2/data/haarcascade_smile.xml,sha256=TKHzBOq9C1rjAYDIGstT4Walhn5b4Xsxa9PzLP34fYo,188506
|
| 36 |
+
cv2/data/haarcascade_upperbody.xml,sha256=cyirT9sVkvU9mNfqWxudkOAa9dlfISrzeMfrV5BIu18,785819
|
| 37 |
+
cv2/detail/__init__.pyi,sha256=FXndW6oxsE46hjgKBezLvqJ_iEAcOCmNOAZSpbSM_-8,22374
|
| 38 |
+
cv2/dnn/__init__.pyi,sha256=KMYD3dp9aVEIHhrkhGq7pLHImpyHwqksAVbgkc2LxnM,23021
|
| 39 |
+
cv2/fisheye/__init__.pyi,sha256=v7H-gbixYDzseDOcPo9Sk4irtwifHaLetm4Xi4ce93Q,8940
|
| 40 |
+
cv2/flann/__init__.pyi,sha256=ZxYG07bhFyFRA2d1lbPmAm_KEknsTcE1_NNw_Ksz1HQ,2677
|
| 41 |
+
cv2/gapi/__init__.py,sha256=6WBAjfq1FCiRADgYXGAKITHdBB6t0_jZ8hkTU8Biz-M,10298
|
| 42 |
+
cv2/gapi/__init__.pyi,sha256=zCLTsHvmbiGmlDUXPWqOGdgFcj66_iw7FXiTr4Y91m0,14636
|
| 43 |
+
cv2/gapi/__pycache__/__init__.cpython-311.pyc,,
|
| 44 |
+
cv2/gapi/core/__init__.pyi,sha256=_3OM_ITOrZomn7gs4HM-DRk8ngbjWkdr26KrmH3t4ks,142
|
| 45 |
+
cv2/gapi/core/cpu/__init__.pyi,sha256=MfRTDEPtcQekGnrvoaSSadxyylXPfa2lz8ucAkzjmh8,93
|
| 46 |
+
cv2/gapi/core/fluid/__init__.pyi,sha256=MfRTDEPtcQekGnrvoaSSadxyylXPfa2lz8ucAkzjmh8,93
|
| 47 |
+
cv2/gapi/core/ocl/__init__.pyi,sha256=MfRTDEPtcQekGnrvoaSSadxyylXPfa2lz8ucAkzjmh8,93
|
| 48 |
+
cv2/gapi/ie/__init__.pyi,sha256=rbOXOU39Wpt9Lhh1o1qr7Zj7qljqAu6aqoYsm4433yQ,1117
|
| 49 |
+
cv2/gapi/ie/detail/__init__.pyi,sha256=hGTS3yIiIq1B-djXgSQIPmeF7VDyeyucUuZOnd4O0OQ,269
|
| 50 |
+
cv2/gapi/imgproc/__init__.pyi,sha256=UUtPJcDK_UaE_TKN8K9Oz1TEChCQHDDB_eTI08mVXmU,71
|
| 51 |
+
cv2/gapi/imgproc/fluid/__init__.pyi,sha256=MfRTDEPtcQekGnrvoaSSadxyylXPfa2lz8ucAkzjmh8,93
|
| 52 |
+
cv2/gapi/oak/__init__.pyi,sha256=Tb7YXytKxnBFZZ8qTqHSZsDEpRt2937NXtbOQK23Ksc,1734
|
| 53 |
+
cv2/gapi/onnx/__init__.pyi,sha256=aDuvbrUkpNnxr-V0EGQ9hQ34YekwWFFx_QuK1fq6ROk,1497
|
| 54 |
+
cv2/gapi/onnx/ep/__init__.pyi,sha256=dUYUbcjIjWtx7peQLPKU60qUzMqEH8On9mU4lsdXbmQ,1357
|
| 55 |
+
cv2/gapi/ot/__init__.pyi,sha256=XTMT90lnElxl_KfhFi5xDwQWvB0g5N8tf7Cgb8VHcAY,720
|
| 56 |
+
cv2/gapi/ot/cpu/__init__.pyi,sha256=MfRTDEPtcQekGnrvoaSSadxyylXPfa2lz8ucAkzjmh8,93
|
| 57 |
+
cv2/gapi/ov/__init__.pyi,sha256=3BqKzC_lV-wzhwu2cawCBvGbMG_zxt5D6anjhORXvuM,2647
|
| 58 |
+
cv2/gapi/own/__init__.pyi,sha256=GzL91pOQQNsGcBGmZ_XDAXaLoF4N9qVgj_IaYzduSNc,69
|
| 59 |
+
cv2/gapi/own/detail/__init__.pyi,sha256=sTC8JFcjDcVxnaFfFc-VmuxjHBg6RMzfafFHtS8yrFU,140
|
| 60 |
+
cv2/gapi/render/__init__.pyi,sha256=S4FWzy_CJqqs3dPYl3bXJoLQSGeVZdoBK7EmHvbPVOM,66
|
| 61 |
+
cv2/gapi/render/ocv/__init__.pyi,sha256=MfRTDEPtcQekGnrvoaSSadxyylXPfa2lz8ucAkzjmh8,93
|
| 62 |
+
cv2/gapi/streaming/__init__.pyi,sha256=qIOndKlPMevrSglTW-vVugzy_n7nITT6lr_zrlUv9cI,813
|
| 63 |
+
cv2/gapi/video/__init__.pyi,sha256=V0Emspufw7x2-knfd7kE8LnLjY_ujIz_TaxR_oIyAps,150
|
| 64 |
+
cv2/gapi/wip/__init__.pyi,sha256=f7mz60ehM9yrK0_Vt28NP--WietDE65EjM5O91LVx5M,1086
|
| 65 |
+
cv2/gapi/wip/draw/__init__.pyi,sha256=x2BhywI5C-uMHF1H6L9AwrgjRtKHFr032TOnqtE9a9Q,3162
|
| 66 |
+
cv2/gapi/wip/gst/__init__.pyi,sha256=8VtSKP9duTmY7ETAACwzVEWP9xdDW0pW82UtL_8Z7Aw,467
|
| 67 |
+
cv2/gapi/wip/onevpl/__init__.pyi,sha256=eLbVPey7JCU5YdRSUH6lLlD1eT-1s7YqZrQh6xNdIlo,397
|
| 68 |
+
cv2/ipp/__init__.pyi,sha256=WSHVIqIT97vmudtuJjhOJYiZ0iBdYx4AtB0iJqtdD0o,223
|
| 69 |
+
cv2/load_config_py2.py,sha256=xP_h2pObzfbN8tONV7CAQmGh94fQ-0t0HysrXDDlt_Q,151
|
| 70 |
+
cv2/load_config_py3.py,sha256=A9wfETdKZnybfbEN1SdtZAsMLVsueGa0zO93JzK9OFI,262
|
| 71 |
+
cv2/mat_wrapper/__init__.py,sha256=i2JwY6kmDL_s7YXzIl-JZuWCMVYkRi4F6j60W3j4P9A,1124
|
| 72 |
+
cv2/mat_wrapper/__pycache__/__init__.cpython-311.pyc,,
|
| 73 |
+
cv2/misc/__init__.py,sha256=yr9PkxKslxRc87hhtIJRn5RommP9jaqksYr-ZDuj7cU,37
|
| 74 |
+
cv2/misc/__pycache__/__init__.cpython-311.pyc,,
|
| 75 |
+
cv2/misc/__pycache__/version.cpython-311.pyc,,
|
| 76 |
+
cv2/misc/version.py,sha256=iTExq1jwGgAv3jtYQHRI8pSpmfzPsjkG9brsH0bdYhk,90
|
| 77 |
+
cv2/ml/__init__.pyi,sha256=KGiSrNBU8YWqJzhV3owS_b_nKl_40EXwdGrmC1e41J4,22803
|
| 78 |
+
cv2/ocl/__init__.pyi,sha256=qv_ilpHZosfPEMHEEqqQLe6cJpsb9PiiwIZMbd---ho,5527
|
| 79 |
+
cv2/ogl/__init__.pyi,sha256=KxTX9DHYyXg2ipvOJiFeAsRivAjmvBkqeiLZV-0snII,1472
|
| 80 |
+
cv2/parallel/__init__.pyi,sha256=tc5nNoWrTkD7VAfhbajumKF79LBolpqlKjYX-lY2__8,129
|
| 81 |
+
cv2/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 82 |
+
cv2/samples/__init__.pyi,sha256=cjSW5vo2oMpIWHwP-3IY4hWjlKUTz8gd1MX7pLOCWKo,324
|
| 83 |
+
cv2/segmentation/__init__.pyi,sha256=jwKBUCRaXhHAM3FdzpLuGucGfNLWxWu5CDfLOpkcan4,1739
|
| 84 |
+
cv2/typing/__init__.py,sha256=OcpcWCPgPFdmAKQ9RuwEavViTFzC6E5CdyoxpzUMZIw,5339
|
| 85 |
+
cv2/typing/__pycache__/__init__.cpython-311.pyc,,
|
| 86 |
+
cv2/utils/__init__.py,sha256=fuw4GHHOXsxxKc-AadAEOKQq_I1Gr4G3yMlRvAbTP30,330
|
| 87 |
+
cv2/utils/__init__.pyi,sha256=q7PpnVUH597R_sF7AGrsRVDOIGKflT0b77ll-mkmb7g,3592
|
| 88 |
+
cv2/utils/__pycache__/__init__.cpython-311.pyc,,
|
| 89 |
+
cv2/utils/fs/__init__.pyi,sha256=lu2cK1Dbd7wRTOTju_kVVCvU4mNB5v5hSVpBxSXXvJg,87
|
| 90 |
+
cv2/utils/nested/__init__.pyi,sha256=n2J3aSxC2MrPKaKb4igY_d49luuuQqW7A_YTx6eZz9Q,573
|
| 91 |
+
cv2/version.py,sha256=OwdJIWnmB5lA9xYWI2jFG22-5FvjbJxG-2-eVrBElzk,92
|
| 92 |
+
cv2/videoio_registry/__init__.pyi,sha256=ef4uptXuTkAZVXwsyNSc-Xhs-hJlg6O2AcmoYkzEx80,962
|
| 93 |
+
opencv_python_headless-4.11.0.86.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
| 94 |
+
opencv_python_headless-4.11.0.86.dist-info/LICENSE-3RD-PARTY.txt,sha256=T8PBE9U-ldoPPEM2VaZwZ7cxDlOvMettKA6UzGkno2M,152360
|
| 95 |
+
opencv_python_headless-4.11.0.86.dist-info/LICENSE.txt,sha256=CdcZBY54Kse8cbohyUThE2zeK7lXwOiIEh8CGNa18Cw,1070
|
| 96 |
+
opencv_python_headless-4.11.0.86.dist-info/METADATA,sha256=M7i_-yZUZkKp6W0xfW4HdvBBk5x8aVqKw55WaCKvCPM,20300
|
| 97 |
+
opencv_python_headless-4.11.0.86.dist-info/RECORD,,
|
| 98 |
+
opencv_python_headless-4.11.0.86.dist-info/WHEEL,sha256=z9ZxY63jT7lbO94x_nkDqPBptV6C1ib4bMJb1l6mQWE,142
|
| 99 |
+
opencv_python_headless-4.11.0.86.dist-info/top_level.txt,sha256=SY8vrf_sYOg99OP9euhz7q36pPy_2VK5vbeEWXwwSoc,4
|
| 100 |
+
opencv_python_headless.libs/libavcodec-76c43bf0.so.59.37.100,sha256=CjnNT7tucmHHD6mOcvoJzOffzW0fufdLF61YZAeHsO0,13452609
|
| 101 |
+
opencv_python_headless.libs/libavformat-d296e685.so.59.27.100,sha256=cbv2Bd4lnqlrXNgUnIGiy7Mo2KDF6BOJVwF31QijtL4,2571489
|
| 102 |
+
opencv_python_headless.libs/libavutil-734d06dd.so.57.28.100,sha256=sgfG0I9y57wEfj0X-sGp8jxhBZ_9MMuoBASJ6K15rjM,844673
|
| 103 |
+
opencv_python_headless.libs/libcrypto-8c1ab3ad.so.1.1,sha256=1WLp3cViHK058dSpifsjPm69WReLKlT-Bui8I6c4lgA,3481345
|
| 104 |
+
opencv_python_headless.libs/libgfortran-91cc3cb1.so.3.0.0,sha256=VePrZzBsL_F-b4oIEOqg3LJulM2DkkxQZdUEDoeBRgg,1259665
|
| 105 |
+
opencv_python_headless.libs/libopenblas-r0-f650aae0.3.3.so,sha256=eewCtT9XPNcRaonwTDl0cwGOf9oFcgs1TUNQXBnUeVg,37325001
|
| 106 |
+
opencv_python_headless.libs/libpng16-ef62451c.so.16.44.0,sha256=OeI2Ri0G_yWbPWuU7tpsFjEaE55cxaMKA19q6GMdYxk,1105201
|
| 107 |
+
opencv_python_headless.libs/libquadmath-96973f99.so.0.0.0,sha256=k0wi3tDn0WnE1GeIdslgUa3z2UVF2pYvYLQWWbB12js,247609
|
| 108 |
+
opencv_python_headless.libs/libssl-28bef1ac.so.1.1,sha256=z5Awa2WYgK4hEUqSjRo0IcZnFfFuSagk-57lURPSt2c,736177
|
| 109 |
+
opencv_python_headless.libs/libswresample-3e7db482.so.4.7.100,sha256=4YcABnk9g5akqnpts-IoqgowrkeBpjl4e8HcePdrwiA,132417
|
| 110 |
+
opencv_python_headless.libs/libswscale-95ddd674.so.6.7.100,sha256=chVatRSRMGIfJEqcIiWXEyCPJeClspWVdHm507wYW-E,619945
|
| 111 |
+
opencv_python_headless.libs/libvpx-9f572e11.so.9.1.0,sha256=-cEjMnv6LpwOOTo0t5KpMkYsLxAqwaaAVXXBOVSE73Y,3524625
|
.venv/lib/python3.11/site-packages/opencv_python_headless-4.11.0.86.dist-info/WHEEL
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Wheel-Version: 1.0
|
| 2 |
+
Generator: skbuild 0.18.1
|
| 3 |
+
Root-Is-Purelib: false
|
| 4 |
+
Tag: cp37-abi3-manylinux_2_17_x86_64
|
| 5 |
+
Tag: cp37-abi3-manylinux2014_x86_64
|
| 6 |
+
|
.venv/lib/python3.11/site-packages/opencv_python_headless-4.11.0.86.dist-info/top_level.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
cv2
|
.venv/lib/python3.11/site-packages/pyOpenSSL-24.2.1.dist-info/INSTALLER
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
pip
|
.venv/lib/python3.11/site-packages/pyOpenSSL-24.2.1.dist-info/LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
Apache License
|
| 3 |
+
Version 2.0, January 2004
|
| 4 |
+
http://www.apache.org/licenses/
|
| 5 |
+
|
| 6 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 7 |
+
|
| 8 |
+
1. Definitions.
|
| 9 |
+
|
| 10 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 11 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 12 |
+
|
| 13 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 14 |
+
the copyright owner that is granting the License.
|
| 15 |
+
|
| 16 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 17 |
+
other entities that control, are controlled by, or are under common
|
| 18 |
+
control with that entity. For the purposes of this definition,
|
| 19 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 20 |
+
direction or management of such entity, whether by contract or
|
| 21 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 22 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 23 |
+
|
| 24 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 25 |
+
exercising permissions granted by this License.
|
| 26 |
+
|
| 27 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 28 |
+
including but not limited to software source code, documentation
|
| 29 |
+
source, and configuration files.
|
| 30 |
+
|
| 31 |
+
"Object" form shall mean any form resulting from mechanical
|
| 32 |
+
transformation or translation of a Source form, including but
|
| 33 |
+
not limited to compiled object code, generated documentation,
|
| 34 |
+
and conversions to other media types.
|
| 35 |
+
|
| 36 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 37 |
+
Object form, made available under the License, as indicated by a
|
| 38 |
+
copyright notice that is included in or attached to the work
|
| 39 |
+
(an example is provided in the Appendix below).
|
| 40 |
+
|
| 41 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 42 |
+
form, that is based on (or derived from) the Work and for which the
|
| 43 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 44 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 45 |
+
of this License, Derivative Works shall not include works that remain
|
| 46 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 47 |
+
the Work and Derivative Works thereof.
|
| 48 |
+
|
| 49 |
+
"Contribution" shall mean any work of authorship, including
|
| 50 |
+
the original version of the Work and any modifications or additions
|
| 51 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 52 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 53 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 54 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 55 |
+
means any form of electronic, verbal, or written communication sent
|
| 56 |
+
to the Licensor or its representatives, including but not limited to
|
| 57 |
+
communication on electronic mailing lists, source code control systems,
|
| 58 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 59 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 60 |
+
excluding communication that is conspicuously marked or otherwise
|
| 61 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 62 |
+
|
| 63 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 64 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 65 |
+
subsequently incorporated within the Work.
|
| 66 |
+
|
| 67 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 68 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 69 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 70 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 71 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 72 |
+
Work and such Derivative Works in Source or Object form.
|
| 73 |
+
|
| 74 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 75 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 76 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 77 |
+
(except as stated in this section) patent license to make, have made,
|
| 78 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 79 |
+
where such license applies only to those patent claims licensable
|
| 80 |
+
by such Contributor that are necessarily infringed by their
|
| 81 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 82 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 83 |
+
institute patent litigation against any entity (including a
|
| 84 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 85 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 86 |
+
or contributory patent infringement, then any patent licenses
|
| 87 |
+
granted to You under this License for that Work shall terminate
|
| 88 |
+
as of the date such litigation is filed.
|
| 89 |
+
|
| 90 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 91 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 92 |
+
modifications, and in Source or Object form, provided that You
|
| 93 |
+
meet the following conditions:
|
| 94 |
+
|
| 95 |
+
(a) You must give any other recipients of the Work or
|
| 96 |
+
Derivative Works a copy of this License; and
|
| 97 |
+
|
| 98 |
+
(b) You must cause any modified files to carry prominent notices
|
| 99 |
+
stating that You changed the files; and
|
| 100 |
+
|
| 101 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 102 |
+
that You distribute, all copyright, patent, trademark, and
|
| 103 |
+
attribution notices from the Source form of the Work,
|
| 104 |
+
excluding those notices that do not pertain to any part of
|
| 105 |
+
the Derivative Works; and
|
| 106 |
+
|
| 107 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 108 |
+
distribution, then any Derivative Works that You distribute must
|
| 109 |
+
include a readable copy of the attribution notices contained
|
| 110 |
+
within such NOTICE file, excluding those notices that do not
|
| 111 |
+
pertain to any part of the Derivative Works, in at least one
|
| 112 |
+
of the following places: within a NOTICE text file distributed
|
| 113 |
+
as part of the Derivative Works; within the Source form or
|
| 114 |
+
documentation, if provided along with the Derivative Works; or,
|
| 115 |
+
within a display generated by the Derivative Works, if and
|
| 116 |
+
wherever such third-party notices normally appear. The contents
|
| 117 |
+
of the NOTICE file are for informational purposes only and
|
| 118 |
+
do not modify the License. You may add Your own attribution
|
| 119 |
+
notices within Derivative Works that You distribute, alongside
|
| 120 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 121 |
+
that such additional attribution notices cannot be construed
|
| 122 |
+
as modifying the License.
|
| 123 |
+
|
| 124 |
+
You may add Your own copyright statement to Your modifications and
|
| 125 |
+
may provide additional or different license terms and conditions
|
| 126 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 127 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 128 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 129 |
+
the conditions stated in this License.
|
| 130 |
+
|
| 131 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 132 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 133 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 134 |
+
this License, without any additional terms or conditions.
|
| 135 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 136 |
+
the terms of any separate license agreement you may have executed
|
| 137 |
+
with Licensor regarding such Contributions.
|
| 138 |
+
|
| 139 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 140 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 141 |
+
except as required for reasonable and customary use in describing the
|
| 142 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 143 |
+
|
| 144 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 145 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 146 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 147 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 148 |
+
implied, including, without limitation, any warranties or conditions
|
| 149 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 150 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 151 |
+
appropriateness of using or redistributing the Work and assume any
|
| 152 |
+
risks associated with Your exercise of permissions under this License.
|
| 153 |
+
|
| 154 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 155 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 156 |
+
unless required by applicable law (such as deliberate and grossly
|
| 157 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 158 |
+
liable to You for damages, including any direct, indirect, special,
|
| 159 |
+
incidental, or consequential damages of any character arising as a
|
| 160 |
+
result of this License or out of the use or inability to use the
|
| 161 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 162 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 163 |
+
other commercial damages or losses), even if such Contributor
|
| 164 |
+
has been advised of the possibility of such damages.
|
| 165 |
+
|
| 166 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 167 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 168 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 169 |
+
or other liability obligations and/or rights consistent with this
|
| 170 |
+
License. However, in accepting such obligations, You may act only
|
| 171 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 172 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 173 |
+
defend, and hold each Contributor harmless for any liability
|
| 174 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 175 |
+
of your accepting any such warranty or additional liability.
|
| 176 |
+
|
| 177 |
+
END OF TERMS AND CONDITIONS
|
| 178 |
+
|
| 179 |
+
APPENDIX: How to apply the Apache License to your work.
|
| 180 |
+
|
| 181 |
+
To apply the Apache License to your work, attach the following
|
| 182 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
| 183 |
+
replaced with your own identifying information. (Don't include
|
| 184 |
+
the brackets!) The text should be enclosed in the appropriate
|
| 185 |
+
comment syntax for the file format. We also recommend that a
|
| 186 |
+
file or class name and description of purpose be included on the
|
| 187 |
+
same "printed page" as the copyright notice for easier
|
| 188 |
+
identification within third-party archives.
|
| 189 |
+
|
| 190 |
+
Copyright [yyyy] [name of copyright owner]
|
| 191 |
+
|
| 192 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 193 |
+
you may not use this file except in compliance with the License.
|
| 194 |
+
You may obtain a copy of the License at
|
| 195 |
+
|
| 196 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 197 |
+
|
| 198 |
+
Unless required by applicable law or agreed to in writing, software
|
| 199 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 200 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 201 |
+
See the License for the specific language governing permissions and
|
| 202 |
+
limitations under the License.
|
.venv/lib/python3.11/site-packages/pyOpenSSL-24.2.1.dist-info/RECORD
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
OpenSSL/SSL.py,sha256=-e-zsgdW_oLg87bLf7Jp5GMB8zypNGqBLDCl1H2k0T0,106856
|
| 2 |
+
OpenSSL/__init__.py,sha256=35kHGKn8c6hnSehguA69WoPvXy0eUPzhC80QDfImwZE,497
|
| 3 |
+
OpenSSL/__pycache__/SSL.cpython-311.pyc,,
|
| 4 |
+
OpenSSL/__pycache__/__init__.cpython-311.pyc,,
|
| 5 |
+
OpenSSL/__pycache__/_util.cpython-311.pyc,,
|
| 6 |
+
OpenSSL/__pycache__/crypto.cpython-311.pyc,,
|
| 7 |
+
OpenSSL/__pycache__/debug.cpython-311.pyc,,
|
| 8 |
+
OpenSSL/__pycache__/rand.cpython-311.pyc,,
|
| 9 |
+
OpenSSL/__pycache__/version.cpython-311.pyc,,
|
| 10 |
+
OpenSSL/_util.py,sha256=eo8NTmsyF9ND3rqXB6iJ5da7BRVLiB8PI1El8wgiQr0,3539
|
| 11 |
+
OpenSSL/crypto.py,sha256=YYMMn_yUnc3eL5wU-e51CPvC7FLJnce1BCCT8-1tEPY,98539
|
| 12 |
+
OpenSSL/debug.py,sha256=vCl77f2MslUoTRSu9fqP5DL_9DK_RSC7Jpu07Ip9gQM,1008
|
| 13 |
+
OpenSSL/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 14 |
+
OpenSSL/rand.py,sha256=arqFZUdw5YyI4z7TNBTJi_dyevzx6krLyB6zLbwjrVI,1069
|
| 15 |
+
OpenSSL/version.py,sha256=Fw05j5UfL3_C3WkVs8_TyvkNgj3tXtOR3Uyq6hFiKmo,641
|
| 16 |
+
pyOpenSSL-24.2.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
| 17 |
+
pyOpenSSL-24.2.1.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
| 18 |
+
pyOpenSSL-24.2.1.dist-info/METADATA,sha256=KBRQlB1gsg2tNhyRVlSn2X9IGVwFJER_pbD6LtI4nMk,13704
|
| 19 |
+
pyOpenSSL-24.2.1.dist-info/RECORD,,
|
| 20 |
+
pyOpenSSL-24.2.1.dist-info/WHEEL,sha256=rWxmBtp7hEUqVLOnTaDOPpR-cZpCDkzhhcBce-Zyd5k,91
|
| 21 |
+
pyOpenSSL-24.2.1.dist-info/top_level.txt,sha256=NNxWqS8hKNJh2cUXa1RZOMX62VJfyd8URo1TsYnR_MU,8
|
.venv/lib/python3.11/site-packages/pyOpenSSL-24.2.1.dist-info/WHEEL
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Wheel-Version: 1.0
|
| 2 |
+
Generator: setuptools (71.0.4)
|
| 3 |
+
Root-Is-Purelib: true
|
| 4 |
+
Tag: py3-none-any
|
| 5 |
+
|
.venv/lib/python3.11/site-packages/pyOpenSSL-24.2.1.dist-info/top_level.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
OpenSSL
|
.venv/lib/python3.11/site-packages/pyasn1-0.6.1.dist-info/INSTALLER
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
pip
|
.venv/lib/python3.11/site-packages/pyasn1-0.6.1.dist-info/LICENSE.rst
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Copyright (c) 2005-2020, Ilya Etingof <etingof@gmail.com>
|
| 2 |
+
All rights reserved.
|
| 3 |
+
|
| 4 |
+
Redistribution and use in source and binary forms, with or without
|
| 5 |
+
modification, are permitted provided that the following conditions are met:
|
| 6 |
+
|
| 7 |
+
* Redistributions of source code must retain the above copyright notice,
|
| 8 |
+
this list of conditions and the following disclaimer.
|
| 9 |
+
|
| 10 |
+
* Redistributions in binary form must reproduce the above copyright notice,
|
| 11 |
+
this list of conditions and the following disclaimer in the documentation
|
| 12 |
+
and/or other materials provided with the distribution.
|
| 13 |
+
|
| 14 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
| 15 |
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
| 16 |
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
| 17 |
+
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
| 18 |
+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
| 19 |
+
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
| 20 |
+
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
| 21 |
+
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
| 22 |
+
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
| 23 |
+
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
| 24 |
+
POSSIBILITY OF SUCH DAMAGE.
|
.venv/lib/python3.11/site-packages/pyasn1-0.6.1.dist-info/METADATA
ADDED
|
@@ -0,0 +1,228 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Metadata-Version: 2.1
|
| 2 |
+
Name: pyasn1
|
| 3 |
+
Version: 0.6.1
|
| 4 |
+
Summary: Pure-Python implementation of ASN.1 types and DER/BER/CER codecs (X.208)
|
| 5 |
+
Home-page: https://github.com/pyasn1/pyasn1
|
| 6 |
+
Author: Ilya Etingof
|
| 7 |
+
Author-email: etingof@gmail.com
|
| 8 |
+
Maintainer: pyasn1 maintenance organization
|
| 9 |
+
Maintainer-email: Christian Heimes <christian@python.org>
|
| 10 |
+
License: BSD-2-Clause
|
| 11 |
+
Project-URL: Documentation, https://pyasn1.readthedocs.io
|
| 12 |
+
Project-URL: Source, https://github.com/pyasn1/pyasn1
|
| 13 |
+
Project-URL: Issues, https://github.com/pyasn1/pyasn1/issues
|
| 14 |
+
Project-URL: Changelog, https://pyasn1.readthedocs.io/en/latest/changelog.html
|
| 15 |
+
Platform: any
|
| 16 |
+
Classifier: Development Status :: 5 - Production/Stable
|
| 17 |
+
Classifier: Environment :: Console
|
| 18 |
+
Classifier: Intended Audience :: Developers
|
| 19 |
+
Classifier: Intended Audience :: Education
|
| 20 |
+
Classifier: Intended Audience :: Information Technology
|
| 21 |
+
Classifier: Intended Audience :: System Administrators
|
| 22 |
+
Classifier: Intended Audience :: Telecommunications Industry
|
| 23 |
+
Classifier: License :: OSI Approved :: BSD License
|
| 24 |
+
Classifier: Natural Language :: English
|
| 25 |
+
Classifier: Operating System :: OS Independent
|
| 26 |
+
Classifier: Programming Language :: Python :: 3
|
| 27 |
+
Classifier: Programming Language :: Python :: 3.8
|
| 28 |
+
Classifier: Programming Language :: Python :: 3.9
|
| 29 |
+
Classifier: Programming Language :: Python :: 3.10
|
| 30 |
+
Classifier: Programming Language :: Python :: 3.11
|
| 31 |
+
Classifier: Programming Language :: Python :: 3.12
|
| 32 |
+
Classifier: Programming Language :: Python :: 3.13
|
| 33 |
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
| 34 |
+
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
| 35 |
+
Classifier: Topic :: Communications
|
| 36 |
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
| 37 |
+
Requires-Python: >=3.8
|
| 38 |
+
Description-Content-Type: text/markdown
|
| 39 |
+
License-File: LICENSE.rst
|
| 40 |
+
|
| 41 |
+
|
| 42 |
+
ASN.1 library for Python
|
| 43 |
+
------------------------
|
| 44 |
+
[](https://pypi.org/project/pyasn1)
|
| 45 |
+
[](https://pypi.org/project/pyasn1/)
|
| 46 |
+
[](https://github.com/pyasn1/pyasn1/actions/workflows/main.yml)
|
| 47 |
+
[](https://codecov.io/github/pyasn1/pyasn1)
|
| 48 |
+
[](https://raw.githubusercontent.com/pyasn1/pyasn1/master/LICENSE.txt)
|
| 49 |
+
|
| 50 |
+
This is a free and open source implementation of ASN.1 types and codecs
|
| 51 |
+
as a Python package. It has been first written to support particular
|
| 52 |
+
protocol (SNMP) but then generalized to be suitable for a wide range
|
| 53 |
+
of protocols based on
|
| 54 |
+
[ASN.1 specification](https://www.itu.int/rec/dologin_pub.asp?lang=e&id=T-REC-X.208-198811-W!!PDF-E&type=items).
|
| 55 |
+
|
| 56 |
+
**NOTE:** The package is now maintained by *Christian Heimes* and
|
| 57 |
+
*Simon Pichugin* in project https://github.com/pyasn1/pyasn1.
|
| 58 |
+
|
| 59 |
+
Features
|
| 60 |
+
--------
|
| 61 |
+
|
| 62 |
+
* Generic implementation of ASN.1 types (X.208)
|
| 63 |
+
* Standards compliant BER/CER/DER codecs
|
| 64 |
+
* Can operate on streams of serialized data
|
| 65 |
+
* Dumps/loads ASN.1 structures from Python types
|
| 66 |
+
* 100% Python, works with Python 3.8+
|
| 67 |
+
* MT-safe
|
| 68 |
+
* Contributed ASN.1 compiler [Asn1ate](https://github.com/kimgr/asn1ate)
|
| 69 |
+
|
| 70 |
+
Why using pyasn1
|
| 71 |
+
----------------
|
| 72 |
+
|
| 73 |
+
ASN.1 solves the data serialisation problem. This solution was
|
| 74 |
+
designed long ago by the wise Ancients. Back then, they did not
|
| 75 |
+
have the luxury of wasting bits. That is why ASN.1 is designed
|
| 76 |
+
to serialise data structures of unbounded complexity into
|
| 77 |
+
something compact and efficient when it comes to processing
|
| 78 |
+
the data.
|
| 79 |
+
|
| 80 |
+
That probably explains why many network protocols and file formats
|
| 81 |
+
still rely on the 30+ years old technology. Including a number of
|
| 82 |
+
high-profile Internet protocols and file formats.
|
| 83 |
+
|
| 84 |
+
Quite a number of books cover the topic of ASN.1.
|
| 85 |
+
[Communication between heterogeneous systems](http://www.oss.com/asn1/dubuisson.html)
|
| 86 |
+
by Olivier Dubuisson is one of those high quality books freely
|
| 87 |
+
available on the Internet.
|
| 88 |
+
|
| 89 |
+
The pyasn1 package is designed to help Python programmers tackling
|
| 90 |
+
network protocols and file formats at the comfort of their Python
|
| 91 |
+
prompt. The tool struggles to capture all aspects of a rather
|
| 92 |
+
complicated ASN.1 system and to represent it on the Python terms.
|
| 93 |
+
|
| 94 |
+
How to use pyasn1
|
| 95 |
+
-----------------
|
| 96 |
+
|
| 97 |
+
With pyasn1 you can build Python objects from ASN.1 data structures.
|
| 98 |
+
For example, the following ASN.1 data structure:
|
| 99 |
+
|
| 100 |
+
```bash
|
| 101 |
+
Record ::= SEQUENCE {
|
| 102 |
+
id INTEGER,
|
| 103 |
+
room [0] INTEGER OPTIONAL,
|
| 104 |
+
house [1] INTEGER DEFAULT 0
|
| 105 |
+
}
|
| 106 |
+
```
|
| 107 |
+
|
| 108 |
+
Could be expressed in pyasn1 like this:
|
| 109 |
+
|
| 110 |
+
```python
|
| 111 |
+
class Record(Sequence):
|
| 112 |
+
componentType = NamedTypes(
|
| 113 |
+
NamedType('id', Integer()),
|
| 114 |
+
OptionalNamedType(
|
| 115 |
+
'room', Integer().subtype(
|
| 116 |
+
implicitTag=Tag(tagClassContext, tagFormatSimple, 0)
|
| 117 |
+
)
|
| 118 |
+
),
|
| 119 |
+
DefaultedNamedType(
|
| 120 |
+
'house', Integer(0).subtype(
|
| 121 |
+
implicitTag=Tag(tagClassContext, tagFormatSimple, 1)
|
| 122 |
+
)
|
| 123 |
+
)
|
| 124 |
+
)
|
| 125 |
+
```
|
| 126 |
+
|
| 127 |
+
It is in the spirit of ASN.1 to take abstract data description
|
| 128 |
+
and turn it into a programming language specific form.
|
| 129 |
+
Once you have your ASN.1 data structure expressed in Python, you
|
| 130 |
+
can use it along the lines of similar Python type (e.g. ASN.1
|
| 131 |
+
`SET` is similar to Python `dict`, `SET OF` to `list`):
|
| 132 |
+
|
| 133 |
+
```python
|
| 134 |
+
>>> record = Record()
|
| 135 |
+
>>> record['id'] = 123
|
| 136 |
+
>>> record['room'] = 321
|
| 137 |
+
>>> str(record)
|
| 138 |
+
Record:
|
| 139 |
+
id=123
|
| 140 |
+
room=321
|
| 141 |
+
>>>
|
| 142 |
+
```
|
| 143 |
+
|
| 144 |
+
Part of the power of ASN.1 comes from its serialisation features. You
|
| 145 |
+
can serialise your data structure and send it over the network.
|
| 146 |
+
|
| 147 |
+
```python
|
| 148 |
+
>>> from pyasn1.codec.der.encoder import encode
|
| 149 |
+
>>> substrate = encode(record)
|
| 150 |
+
>>> hexdump(substrate)
|
| 151 |
+
00000: 30 07 02 01 7B 80 02 01 41
|
| 152 |
+
```
|
| 153 |
+
|
| 154 |
+
Conversely, you can turn serialised ASN.1 content, as received from
|
| 155 |
+
network or read from a file, into a Python object which you can
|
| 156 |
+
introspect, modify, encode and send back.
|
| 157 |
+
|
| 158 |
+
```python
|
| 159 |
+
>>> from pyasn1.codec.der.decoder import decode
|
| 160 |
+
>>> received_record, rest_of_substrate = decode(substrate, asn1Spec=Record())
|
| 161 |
+
>>>
|
| 162 |
+
>>> for field in received_record:
|
| 163 |
+
>>> print('{} is {}'.format(field, received_record[field]))
|
| 164 |
+
id is 123
|
| 165 |
+
room is 321
|
| 166 |
+
house is 0
|
| 167 |
+
>>>
|
| 168 |
+
>>> record == received_record
|
| 169 |
+
True
|
| 170 |
+
>>> received_record.update(room=123)
|
| 171 |
+
>>> substrate = encode(received_record)
|
| 172 |
+
>>> hexdump(substrate)
|
| 173 |
+
00000: 30 06 02 01 7B 80 01 7B
|
| 174 |
+
```
|
| 175 |
+
|
| 176 |
+
The pyasn1 classes struggle to emulate their Python prototypes (e.g. int,
|
| 177 |
+
list, dict etc.). But ASN.1 types exhibit more complicated behaviour.
|
| 178 |
+
To make life easier for a Pythonista, they can turn their pyasn1
|
| 179 |
+
classes into Python built-ins:
|
| 180 |
+
|
| 181 |
+
```python
|
| 182 |
+
>>> from pyasn1.codec.native.encoder import encode
|
| 183 |
+
>>> encode(record)
|
| 184 |
+
{'id': 123, 'room': 321, 'house': 0}
|
| 185 |
+
```
|
| 186 |
+
|
| 187 |
+
Or vice-versa -- you can initialize an ASN.1 structure from a tree of
|
| 188 |
+
Python objects:
|
| 189 |
+
|
| 190 |
+
```python
|
| 191 |
+
>>> from pyasn1.codec.native.decoder import decode
|
| 192 |
+
>>> record = decode({'id': 123, 'room': 321, 'house': 0}, asn1Spec=Record())
|
| 193 |
+
>>> str(record)
|
| 194 |
+
Record:
|
| 195 |
+
id=123
|
| 196 |
+
room=321
|
| 197 |
+
>>>
|
| 198 |
+
```
|
| 199 |
+
|
| 200 |
+
With ASN.1 design, serialisation codecs are decoupled from data objects,
|
| 201 |
+
so you could turn every single ASN.1 object into many different
|
| 202 |
+
serialised forms. As of this moment, pyasn1 supports BER, DER, CER and
|
| 203 |
+
Python built-ins codecs. The extremely compact PER encoding is expected
|
| 204 |
+
to be introduced in the upcoming pyasn1 release.
|
| 205 |
+
|
| 206 |
+
More information on pyasn1 APIs can be found in the
|
| 207 |
+
[documentation](https://pyasn1.readthedocs.io/en/latest/pyasn1/contents.html),
|
| 208 |
+
compiled ASN.1 modules for different protocols and file formats
|
| 209 |
+
could be found in the pyasn1-modules
|
| 210 |
+
[repo](https://github.com/pyasn1/pyasn1-modules).
|
| 211 |
+
|
| 212 |
+
How to get pyasn1
|
| 213 |
+
-----------------
|
| 214 |
+
|
| 215 |
+
The pyasn1 package is distributed under terms and conditions of 2-clause
|
| 216 |
+
BSD [license](https://pyasn1.readthedocs.io/en/latest/license.html). Source code is freely
|
| 217 |
+
available as a GitHub [repo](https://github.com/pyasn1/pyasn1).
|
| 218 |
+
|
| 219 |
+
You could `pip install pyasn1` or download it from [PyPI](https://pypi.org/project/pyasn1).
|
| 220 |
+
|
| 221 |
+
If something does not work as expected,
|
| 222 |
+
[open an issue](https://github.com/epyasn1/pyasn1/issues) at GitHub or
|
| 223 |
+
post your question [on Stack Overflow](https://stackoverflow.com/questions/ask)
|
| 224 |
+
or try browsing pyasn1
|
| 225 |
+
[mailing list archives](https://sourceforge.net/p/pyasn1/mailman/pyasn1-users/).
|
| 226 |
+
|
| 227 |
+
Copyright (c) 2005-2020, [Ilya Etingof](mailto:etingof@gmail.com).
|
| 228 |
+
All rights reserved.
|
.venv/lib/python3.11/site-packages/pyasn1-0.6.1.dist-info/RECORD
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
pyasn1-0.6.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
| 2 |
+
pyasn1-0.6.1.dist-info/LICENSE.rst,sha256=Kq1fwA9wXEoa3bg-7RCmp10oajd58M-FGdh-YrxHNf0,1334
|
| 3 |
+
pyasn1-0.6.1.dist-info/METADATA,sha256=8e1KBL3kvp1MlLUqCM1uOCMaBKxwlo4N0xHXk-_sd2Y,8383
|
| 4 |
+
pyasn1-0.6.1.dist-info/RECORD,,
|
| 5 |
+
pyasn1-0.6.1.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
|
| 6 |
+
pyasn1-0.6.1.dist-info/top_level.txt,sha256=dnNEQt3nIDIO5mSCCOB5obQHrjDOUsRycdBujc2vrWE,7
|
| 7 |
+
pyasn1-0.6.1.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
| 8 |
+
pyasn1/__init__.py,sha256=tc4WulUv4ZkpkmVtee9-Fsgc6gi9jZFH1VIbAvSWj3s,66
|
| 9 |
+
pyasn1/__pycache__/__init__.cpython-311.pyc,,
|
| 10 |
+
pyasn1/__pycache__/debug.cpython-311.pyc,,
|
| 11 |
+
pyasn1/__pycache__/error.cpython-311.pyc,,
|
| 12 |
+
pyasn1/codec/__init__.py,sha256=EEDlJYS172EH39GUidN_8FbkNcWY9OVV8e30AV58pn0,59
|
| 13 |
+
pyasn1/codec/__pycache__/__init__.cpython-311.pyc,,
|
| 14 |
+
pyasn1/codec/__pycache__/streaming.cpython-311.pyc,,
|
| 15 |
+
pyasn1/codec/ber/__init__.py,sha256=EEDlJYS172EH39GUidN_8FbkNcWY9OVV8e30AV58pn0,59
|
| 16 |
+
pyasn1/codec/ber/__pycache__/__init__.cpython-311.pyc,,
|
| 17 |
+
pyasn1/codec/ber/__pycache__/decoder.cpython-311.pyc,,
|
| 18 |
+
pyasn1/codec/ber/__pycache__/encoder.cpython-311.pyc,,
|
| 19 |
+
pyasn1/codec/ber/__pycache__/eoo.cpython-311.pyc,,
|
| 20 |
+
pyasn1/codec/ber/decoder.py,sha256=HZWc3M9406bhApuJF-TAYpRfLWvQT54CrREDqDMyU0Y,79192
|
| 21 |
+
pyasn1/codec/ber/encoder.py,sha256=eO_--5b-0HXmPpIW2JhYlejU6V7FwdORmXFyCfKHyzI,29796
|
| 22 |
+
pyasn1/codec/ber/eoo.py,sha256=dspLKc2xr_W5Tbcr2WcfLd_bJLhOjotq1YxKn3DCQNI,639
|
| 23 |
+
pyasn1/codec/cer/__init__.py,sha256=EEDlJYS172EH39GUidN_8FbkNcWY9OVV8e30AV58pn0,59
|
| 24 |
+
pyasn1/codec/cer/__pycache__/__init__.cpython-311.pyc,,
|
| 25 |
+
pyasn1/codec/cer/__pycache__/decoder.cpython-311.pyc,,
|
| 26 |
+
pyasn1/codec/cer/__pycache__/encoder.cpython-311.pyc,,
|
| 27 |
+
pyasn1/codec/cer/decoder.py,sha256=S279_LRjwHyTUBuv4LPYOpib1X4hLmBh_3et49ocm4A,4589
|
| 28 |
+
pyasn1/codec/cer/encoder.py,sha256=vsGrgOHJokTeZqBJwNGokejvqH5EfTvy8hExd_j5bbY,9838
|
| 29 |
+
pyasn1/codec/der/__init__.py,sha256=EEDlJYS172EH39GUidN_8FbkNcWY9OVV8e30AV58pn0,59
|
| 30 |
+
pyasn1/codec/der/__pycache__/__init__.cpython-311.pyc,,
|
| 31 |
+
pyasn1/codec/der/__pycache__/decoder.cpython-311.pyc,,
|
| 32 |
+
pyasn1/codec/der/__pycache__/encoder.cpython-311.pyc,,
|
| 33 |
+
pyasn1/codec/der/decoder.py,sha256=GOpKZ1wFRYU0EEF3kSmIaMfe1h2w17VdGu57AHUqQFw,3428
|
| 34 |
+
pyasn1/codec/der/encoder.py,sha256=ldxrpvXDFsxLxtvN7aiR61JNNtainNagZCSpsZM9DZs,3479
|
| 35 |
+
pyasn1/codec/native/__init__.py,sha256=EEDlJYS172EH39GUidN_8FbkNcWY9OVV8e30AV58pn0,59
|
| 36 |
+
pyasn1/codec/native/__pycache__/__init__.cpython-311.pyc,,
|
| 37 |
+
pyasn1/codec/native/__pycache__/decoder.cpython-311.pyc,,
|
| 38 |
+
pyasn1/codec/native/__pycache__/encoder.cpython-311.pyc,,
|
| 39 |
+
pyasn1/codec/native/decoder.py,sha256=2vK9B0AJzLT2exSNtlCUlYzZvm0E7IzUU8Ygg_lLxNo,9118
|
| 40 |
+
pyasn1/codec/native/encoder.py,sha256=C24L5FkwhXPSRytaLlcL0uuYDTC2BXD75ZwH_bCqKX8,9184
|
| 41 |
+
pyasn1/codec/streaming.py,sha256=Vp-VDh0SlA5h7T133rne9UNlJlqv2ohpUzVlSCGjq24,6377
|
| 42 |
+
pyasn1/compat/__init__.py,sha256=-9FOJV1STFBatf2pVRiOYn14GmCKC8RY3TYCxOqfRXY,112
|
| 43 |
+
pyasn1/compat/__pycache__/__init__.cpython-311.pyc,,
|
| 44 |
+
pyasn1/compat/__pycache__/integer.cpython-311.pyc,,
|
| 45 |
+
pyasn1/compat/integer.py,sha256=lMXqbJBTyjg34Rhx6JlFcXyoQxDaeXGxhaIIab86hX8,404
|
| 46 |
+
pyasn1/debug.py,sha256=u-WmIFfewqp0041ezvtTjvhZcU9K14OI6p00ArXZ63g,3494
|
| 47 |
+
pyasn1/error.py,sha256=e352oqW33seeh2MbIF27sFSgpiegjstabCMFx2piR0M,3258
|
| 48 |
+
pyasn1/type/__init__.py,sha256=EEDlJYS172EH39GUidN_8FbkNcWY9OVV8e30AV58pn0,59
|
| 49 |
+
pyasn1/type/__pycache__/__init__.cpython-311.pyc,,
|
| 50 |
+
pyasn1/type/__pycache__/base.cpython-311.pyc,,
|
| 51 |
+
pyasn1/type/__pycache__/char.cpython-311.pyc,,
|
| 52 |
+
pyasn1/type/__pycache__/constraint.cpython-311.pyc,,
|
| 53 |
+
pyasn1/type/__pycache__/error.cpython-311.pyc,,
|
| 54 |
+
pyasn1/type/__pycache__/namedtype.cpython-311.pyc,,
|
| 55 |
+
pyasn1/type/__pycache__/namedval.cpython-311.pyc,,
|
| 56 |
+
pyasn1/type/__pycache__/opentype.cpython-311.pyc,,
|
| 57 |
+
pyasn1/type/__pycache__/tag.cpython-311.pyc,,
|
| 58 |
+
pyasn1/type/__pycache__/tagmap.cpython-311.pyc,,
|
| 59 |
+
pyasn1/type/__pycache__/univ.cpython-311.pyc,,
|
| 60 |
+
pyasn1/type/__pycache__/useful.cpython-311.pyc,,
|
| 61 |
+
pyasn1/type/base.py,sha256=tjBRvXIQSiHES5-e5rBbsnn5CtIvBgCuflujDbdrtkM,22050
|
| 62 |
+
pyasn1/type/char.py,sha256=Rvj5ypQLPNXcdHkfUV8nul1XX66R_Akn0g2HUyLj1qY,9438
|
| 63 |
+
pyasn1/type/constraint.py,sha256=jmrt5esLa095XdfS0beqaoRuUjnuHiTKdkTdCcKx1FI,21915
|
| 64 |
+
pyasn1/type/error.py,sha256=2kwYYkbd2jXIVEE56ThLRmBEOGZfafwogEOo-9RV_GY,259
|
| 65 |
+
pyasn1/type/namedtype.py,sha256=jnTClIUoRZi025GTY9GlMlMI-j5dqEcv_ilzZ7i0hUQ,16179
|
| 66 |
+
pyasn1/type/namedval.py,sha256=84u6wKOfte7U47aWrFqIZRM3tO2ryivpsBqVblPezuc,4899
|
| 67 |
+
pyasn1/type/opentype.py,sha256=jjqSbTgAaCxlSHSf66YcLbrxtfh_98nAx2v8wzW35MU,2861
|
| 68 |
+
pyasn1/type/tag.py,sha256=hqIuspUhc5QwN182LeQMc23W_vFNTgASvnUUSX4SPHM,9497
|
| 69 |
+
pyasn1/type/tagmap.py,sha256=alJ9ZfDGTAsPeygHT6yONTagUkCjlgij82YXpPaQ_-8,3000
|
| 70 |
+
pyasn1/type/univ.py,sha256=Bnu2gHdA84UXMLtgb4LXbHI5TYw-kKljlsJ7dkJ8KfI,109212
|
| 71 |
+
pyasn1/type/useful.py,sha256=-J7ej0hqdjF29h150dtNmIIcGcMBg_y-nKqcozvk-48,5284
|
.venv/lib/python3.11/site-packages/pyasn1-0.6.1.dist-info/WHEEL
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Wheel-Version: 1.0
|
| 2 |
+
Generator: setuptools (74.1.2)
|
| 3 |
+
Root-Is-Purelib: true
|
| 4 |
+
Tag: py3-none-any
|
| 5 |
+
|
.venv/lib/python3.11/site-packages/pyasn1-0.6.1.dist-info/top_level.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
pyasn1
|
.venv/lib/python3.11/site-packages/pyasn1-0.6.1.dist-info/zip-safe
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
|
.venv/lib/python3.11/site-packages/pydantic/__pycache__/json_schema.cpython-311.pyc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:30779b06d965697618076cacf0a9d3a7a50ff7c7123000883b86b5c65de8b63d
|
| 3 |
+
size 125587
|
.venv/lib/python3.11/site-packages/pydantic/_internal/__pycache__/__init__.cpython-311.pyc
ADDED
|
Binary file (191 Bytes). View file
|
|
|
.venv/lib/python3.11/site-packages/pydantic/_internal/__pycache__/_config.cpython-311.pyc
ADDED
|
Binary file (17 kB). View file
|
|
|
.venv/lib/python3.11/site-packages/pydantic/_internal/__pycache__/_core_metadata.cpython-311.pyc
ADDED
|
Binary file (4.52 kB). View file
|
|
|
.venv/lib/python3.11/site-packages/pydantic/_internal/__pycache__/_core_utils.cpython-311.pyc
ADDED
|
Binary file (33.6 kB). View file
|
|
|
.venv/lib/python3.11/site-packages/pydantic/_internal/__pycache__/_dataclasses.cpython-311.pyc
ADDED
|
Binary file (10.9 kB). View file
|
|
|
.venv/lib/python3.11/site-packages/pydantic/_internal/__pycache__/_decorators.cpython-311.pyc
ADDED
|
Binary file (40 kB). View file
|
|
|
.venv/lib/python3.11/site-packages/pydantic/_internal/__pycache__/_decorators_v1.cpython-311.pyc
ADDED
|
Binary file (9.94 kB). View file
|
|
|
.venv/lib/python3.11/site-packages/pydantic/_internal/__pycache__/_discriminated_union.cpython-311.pyc
ADDED
|
Binary file (24 kB). View file
|
|
|
.venv/lib/python3.11/site-packages/pydantic/_internal/__pycache__/_docs_extraction.cpython-311.pyc
ADDED
|
Binary file (5.67 kB). View file
|
|
|
.venv/lib/python3.11/site-packages/pydantic/_internal/__pycache__/_fields.cpython-311.pyc
ADDED
|
Binary file (16.9 kB). View file
|
|
|
.venv/lib/python3.11/site-packages/pydantic/_internal/__pycache__/_forward_ref.cpython-311.pyc
ADDED
|
Binary file (1.47 kB). View file
|
|
|
.venv/lib/python3.11/site-packages/pydantic/_internal/__pycache__/_generics.cpython-311.pyc
ADDED
|
Binary file (26.1 kB). View file
|
|
|
.venv/lib/python3.11/site-packages/pydantic/_internal/__pycache__/_git.cpython-311.pyc
ADDED
|
Binary file (1.73 kB). View file
|
|
|
.venv/lib/python3.11/site-packages/pydantic/_internal/__pycache__/_import_utils.cpython-311.pyc
ADDED
|
Binary file (1.06 kB). View file
|
|
|
.venv/lib/python3.11/site-packages/pydantic/_internal/__pycache__/_known_annotated_metadata.cpython-311.pyc
ADDED
|
Binary file (15.6 kB). View file
|
|
|
.venv/lib/python3.11/site-packages/pydantic/_internal/__pycache__/_mock_val_ser.cpython-311.pyc
ADDED
|
Binary file (12.5 kB). View file
|
|
|
.venv/lib/python3.11/site-packages/pydantic/_internal/__pycache__/_model_construction.cpython-311.pyc
ADDED
|
Binary file (37.6 kB). View file
|
|
|