python-libphash 2.0.1.0__cp315-cp315t-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- libphash/__init__.py +216 -0
- libphash/__main__.py +7 -0
- libphash/_algorithms.py +88 -0
- libphash/_batch.py +366 -0
- libphash/_cli.py +518 -0
- libphash/_config.py +210 -0
- libphash/_context.py +388 -0
- libphash/_digest.py +293 -0
- libphash/_errors.py +109 -0
- libphash/_native.pyd +0 -0
- libphash/_native.pyi +944 -0
- libphash/_sources.py +278 -0
- libphash/_version.py +3 -0
- libphash/exceptions.py +157 -0
- libphash/py.typed +0 -0
- python_libphash-2.0.1.0.dist-info/METADATA +138 -0
- python_libphash-2.0.1.0.dist-info/RECORD +29 -0
- python_libphash-2.0.1.0.dist-info/WHEEL +5 -0
- python_libphash-2.0.1.0.dist-info/entry_points.txt +2 -0
- python_libphash-2.0.1.0.dist-info/licenses/LICENSE +21 -0
- python_libphash-2.0.1.0.dist-info/licenses/native/libphash/THIRD-PARTY-NOTICES.md +139 -0
- python_libphash-2.0.1.0.dist-info/licenses/native/libphash/vendor/libjpeg-turbo/LICENSE.md +147 -0
- python_libphash-2.0.1.0.dist-info/licenses/native/libphash/vendor/libjpeg-turbo/README.ijg +260 -0
- python_libphash-2.0.1.0.dist-info/licenses/native/libphash/vendor/libpng/LICENSE +134 -0
- python_libphash-2.0.1.0.dist-info/licenses/native/libphash/vendor/libwebp/COPYING +30 -0
- python_libphash-2.0.1.0.dist-info/licenses/native/libphash/vendor/libwebp/PATENTS +23 -0
- python_libphash-2.0.1.0.dist-info/licenses/native/libphash/vendor/zlib-ng/LICENSE.md +19 -0
- python_libphash-2.0.1.0.dist-info/sboms/python-libphash.cdx.json +161 -0
- python_libphash-2.0.1.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
Copyright (c) 2010, Google Inc. All rights reserved.
|
|
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
|
+
* Redistributions of source code must retain the above copyright
|
|
8
|
+
notice, this list of conditions and the following disclaimer.
|
|
9
|
+
|
|
10
|
+
* Redistributions in binary form must reproduce the above copyright
|
|
11
|
+
notice, this list of conditions and the following disclaimer in
|
|
12
|
+
the documentation and/or other materials provided with the
|
|
13
|
+
distribution.
|
|
14
|
+
|
|
15
|
+
* Neither the name of Google nor the names of its contributors may
|
|
16
|
+
be used to endorse or promote products derived from this software
|
|
17
|
+
without specific prior written permission.
|
|
18
|
+
|
|
19
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
20
|
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
21
|
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
22
|
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
23
|
+
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
24
|
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
25
|
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
26
|
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
27
|
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
28
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
29
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
30
|
+
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
Additional IP Rights Grant (Patents)
|
|
2
|
+
------------------------------------
|
|
3
|
+
|
|
4
|
+
"These implementations" means the copyrightable works that implement the WebM
|
|
5
|
+
codecs distributed by Google as part of the WebM Project.
|
|
6
|
+
|
|
7
|
+
Google hereby grants to you a perpetual, worldwide, non-exclusive, no-charge,
|
|
8
|
+
royalty-free, irrevocable (except as stated in this section) patent license to
|
|
9
|
+
make, have made, use, offer to sell, sell, import, transfer, and otherwise
|
|
10
|
+
run, modify and propagate the contents of these implementations of WebM, where
|
|
11
|
+
such license applies only to those patent claims, both currently owned by
|
|
12
|
+
Google and acquired in the future, licensable by Google that are necessarily
|
|
13
|
+
infringed by these implementations of WebM. This grant does not include claims
|
|
14
|
+
that would be infringed only as a consequence of further modification of these
|
|
15
|
+
implementations. If you or your agent or exclusive licensee institute or order
|
|
16
|
+
or agree to the institution of patent litigation or any other patent
|
|
17
|
+
enforcement activity against any entity (including a cross-claim or
|
|
18
|
+
counterclaim in a lawsuit) alleging that any of these implementations of WebM
|
|
19
|
+
or any code incorporated within any of these implementations of WebM
|
|
20
|
+
constitute direct or contributory patent infringement, or inducement of
|
|
21
|
+
patent infringement, then any patent rights granted to you under this License
|
|
22
|
+
for these implementations of WebM shall terminate as of the date such
|
|
23
|
+
litigation is filed.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
(C) 1995-2024 Jean-loup Gailly and Mark Adler
|
|
2
|
+
|
|
3
|
+
This software is provided 'as-is', without any express or implied
|
|
4
|
+
warranty. In no event will the authors be held liable for any damages
|
|
5
|
+
arising from the use of this software.
|
|
6
|
+
|
|
7
|
+
Permission is granted to anyone to use this software for any purpose,
|
|
8
|
+
including commercial applications, and to alter it and redistribute it
|
|
9
|
+
freely, subject to the following restrictions:
|
|
10
|
+
|
|
11
|
+
1. The origin of this software must not be misrepresented; you must not
|
|
12
|
+
claim that you wrote the original software. If you use this software
|
|
13
|
+
in a product, an acknowledgment in the product documentation would be
|
|
14
|
+
appreciated but is not required.
|
|
15
|
+
|
|
16
|
+
2. Altered source versions must be plainly marked as such, and must not be
|
|
17
|
+
misrepresented as being the original software.
|
|
18
|
+
|
|
19
|
+
3. This notice may not be removed or altered from any source distribution.
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
{
|
|
2
|
+
"bomFormat": "CycloneDX",
|
|
3
|
+
"specVersion": "1.6",
|
|
4
|
+
"version": 1,
|
|
5
|
+
"metadata": {
|
|
6
|
+
"component": {
|
|
7
|
+
"type": "library",
|
|
8
|
+
"bom-ref": "pkg:pypi/python-libphash@2.0.1.0",
|
|
9
|
+
"name": "python-libphash",
|
|
10
|
+
"version": "2.0.1.0",
|
|
11
|
+
"licenses": [
|
|
12
|
+
{
|
|
13
|
+
"expression": "MIT"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"purl": "pkg:pypi/python-libphash@2.0.1.0"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"components": [
|
|
20
|
+
{
|
|
21
|
+
"type": "library",
|
|
22
|
+
"bom-ref": "pkg:github/gudoshnikovn/libphash@2.0.1",
|
|
23
|
+
"name": "libphash",
|
|
24
|
+
"version": "2.0.1",
|
|
25
|
+
"licenses": [
|
|
26
|
+
{
|
|
27
|
+
"expression": "MIT"
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"purl": "pkg:github/gudoshnikovn/libphash@2.0.1",
|
|
31
|
+
"externalReferences": [
|
|
32
|
+
{
|
|
33
|
+
"type": "vcs",
|
|
34
|
+
"url": "https://github.com/gudoshnikovn/libphash"
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"type": "library",
|
|
40
|
+
"bom-ref": "pkg:github/libjpeg-turbo/libjpeg-turbo@3.2.0",
|
|
41
|
+
"name": "libjpeg-turbo",
|
|
42
|
+
"version": "3.2.0",
|
|
43
|
+
"licenses": [
|
|
44
|
+
{
|
|
45
|
+
"expression": "IJG AND Zlib"
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"purl": "pkg:github/libjpeg-turbo/libjpeg-turbo@3.2.0",
|
|
49
|
+
"externalReferences": [
|
|
50
|
+
{
|
|
51
|
+
"type": "vcs",
|
|
52
|
+
"url": "https://github.com/libjpeg-turbo/libjpeg-turbo"
|
|
53
|
+
}
|
|
54
|
+
]
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"type": "library",
|
|
58
|
+
"bom-ref": "pkg:github/pnggroup/libpng@1.6.59",
|
|
59
|
+
"name": "libpng",
|
|
60
|
+
"version": "1.6.59",
|
|
61
|
+
"licenses": [
|
|
62
|
+
{
|
|
63
|
+
"expression": "libpng-2.0"
|
|
64
|
+
}
|
|
65
|
+
],
|
|
66
|
+
"purl": "pkg:github/pnggroup/libpng@1.6.59",
|
|
67
|
+
"externalReferences": [
|
|
68
|
+
{
|
|
69
|
+
"type": "vcs",
|
|
70
|
+
"url": "https://github.com/pnggroup/libpng"
|
|
71
|
+
}
|
|
72
|
+
]
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"type": "library",
|
|
76
|
+
"bom-ref": "pkg:github/webmproject/libwebp@1.6.0",
|
|
77
|
+
"name": "libwebp",
|
|
78
|
+
"version": "1.6.0",
|
|
79
|
+
"licenses": [
|
|
80
|
+
{
|
|
81
|
+
"expression": "BSD-3-Clause"
|
|
82
|
+
}
|
|
83
|
+
],
|
|
84
|
+
"purl": "pkg:github/webmproject/libwebp@1.6.0",
|
|
85
|
+
"externalReferences": [
|
|
86
|
+
{
|
|
87
|
+
"type": "vcs",
|
|
88
|
+
"url": "https://github.com/webmproject/libwebp"
|
|
89
|
+
}
|
|
90
|
+
]
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"type": "library",
|
|
94
|
+
"bom-ref": "pkg:github/zlib-ng/zlib-ng@2.3.3",
|
|
95
|
+
"name": "zlib-ng",
|
|
96
|
+
"version": "2.3.3",
|
|
97
|
+
"licenses": [
|
|
98
|
+
{
|
|
99
|
+
"expression": "Zlib"
|
|
100
|
+
}
|
|
101
|
+
],
|
|
102
|
+
"purl": "pkg:github/zlib-ng/zlib-ng@2.3.3",
|
|
103
|
+
"externalReferences": [
|
|
104
|
+
{
|
|
105
|
+
"type": "vcs",
|
|
106
|
+
"url": "https://github.com/zlib-ng/zlib-ng"
|
|
107
|
+
}
|
|
108
|
+
]
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"type": "library",
|
|
112
|
+
"bom-ref": "pkg:github/nothings/stb@2.30",
|
|
113
|
+
"name": "stb_image",
|
|
114
|
+
"version": "2.30",
|
|
115
|
+
"licenses": [
|
|
116
|
+
{
|
|
117
|
+
"expression": "MIT OR Unlicense"
|
|
118
|
+
}
|
|
119
|
+
],
|
|
120
|
+
"purl": "pkg:github/nothings/stb@2.30",
|
|
121
|
+
"externalReferences": [
|
|
122
|
+
{
|
|
123
|
+
"type": "vcs",
|
|
124
|
+
"url": "https://github.com/nothings/stb"
|
|
125
|
+
}
|
|
126
|
+
]
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"type": "library",
|
|
130
|
+
"bom-ref": "pkg:github/nothings/stb@2.18",
|
|
131
|
+
"name": "stb_image_resize2",
|
|
132
|
+
"version": "2.18",
|
|
133
|
+
"licenses": [
|
|
134
|
+
{
|
|
135
|
+
"expression": "MIT OR Unlicense"
|
|
136
|
+
}
|
|
137
|
+
],
|
|
138
|
+
"purl": "pkg:github/nothings/stb@2.18",
|
|
139
|
+
"externalReferences": [
|
|
140
|
+
{
|
|
141
|
+
"type": "vcs",
|
|
142
|
+
"url": "https://github.com/nothings/stb"
|
|
143
|
+
}
|
|
144
|
+
]
|
|
145
|
+
}
|
|
146
|
+
],
|
|
147
|
+
"dependencies": [
|
|
148
|
+
{
|
|
149
|
+
"ref": "pkg:pypi/python-libphash@2.0.1.0",
|
|
150
|
+
"dependsOn": [
|
|
151
|
+
"pkg:github/gudoshnikovn/libphash@2.0.1",
|
|
152
|
+
"pkg:github/libjpeg-turbo/libjpeg-turbo@3.2.0",
|
|
153
|
+
"pkg:github/pnggroup/libpng@1.6.59",
|
|
154
|
+
"pkg:github/webmproject/libwebp@1.6.0",
|
|
155
|
+
"pkg:github/zlib-ng/zlib-ng@2.3.3",
|
|
156
|
+
"pkg:github/nothings/stb@2.30",
|
|
157
|
+
"pkg:github/nothings/stb@2.18"
|
|
158
|
+
]
|
|
159
|
+
}
|
|
160
|
+
]
|
|
161
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
libphash
|