ciris-holon 0.1.0__py3-none-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.
- ciris_holon/__init__.py +7 -0
- ciris_holon/media/__init__.py +28 -0
- ciris_holon/media/jars/SHA256SUMS +2 -0
- ciris_holon/media/jars/ffmpeg-7.1-1.5.11-windows-x86_64.jar +0 -0
- ciris_holon/media/jars/javacpp-1.5.11-windows-x86_64.jar +0 -0
- ciris_holon-0.1.0.dist-info/METADATA +38 -0
- ciris_holon-0.1.0.dist-info/RECORD +9 -0
- ciris_holon-0.1.0.dist-info/WHEEL +4 -0
- ciris_holon-0.1.0.dist-info/licenses/NOTICE.md +29 -0
ciris_holon/__init__.py
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"""ciris-holon: what CIRISHolon publishes for other CIRIS components to run on.
|
|
2
|
+
|
|
3
|
+
Today it holds one thing, `ciris_holon.media`: the FFmpeg and JavaCPP native jars the CIRIS
|
|
4
|
+
client's video calls load. Video is one form of holon this project draws; the draw engine
|
|
5
|
+
itself is meant to follow in the same package.
|
|
6
|
+
"""
|
|
7
|
+
__version__ = "0.1.0"
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"""ciris_holon.media: the FFmpeg and JavaCPP native jars the CIRIS client's video calls load, and nothing else.
|
|
2
|
+
|
|
3
|
+
This module holds no code that decodes anything. It carries, byte for byte, the native jars
|
|
4
|
+
published on Maven Central by the bytedeco project for one platform, so that the client's own
|
|
5
|
+
wheel does not have to. The client's jar finds them beside it in site-packages, or asks here.
|
|
6
|
+
"""
|
|
7
|
+
import pathlib
|
|
8
|
+
|
|
9
|
+
FFMPEG = "7.1-1.5.11"
|
|
10
|
+
JAVACPP = "1.5.11"
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def jar_dir() -> pathlib.Path:
|
|
14
|
+
"""The directory holding the native jars."""
|
|
15
|
+
return pathlib.Path(__file__).resolve().parent / "jars"
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
def jars() -> list:
|
|
19
|
+
"""The native jars of this platform's wheel, sorted by name."""
|
|
20
|
+
return sorted(jar_dir().glob("*.jar"))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
def verify() -> bool:
|
|
24
|
+
"""True when each jar here hashes to its line in jars/SHA256SUMS and there are no others."""
|
|
25
|
+
import hashlib
|
|
26
|
+
want = dict(reversed(line.split(" ", 1)) for line in (jar_dir() / "SHA256SUMS").read_text().splitlines() if line)
|
|
27
|
+
have = {p.name: hashlib.sha256(p.read_bytes()).hexdigest() for p in jars()}
|
|
28
|
+
return have == want and len(have) > 0
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: ciris-holon
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: What CIRISHolon publishes for CIRIS components to run on. 0.1 holds the FFmpeg and JavaCPP native jars for video calls, unmodified from Maven Central
|
|
5
|
+
Home-page: https://github.com/CIRISAI/CIRISHolon
|
|
6
|
+
License: AGPL-3.0-only AND LGPL-3.0-or-later AND (Apache-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0)
|
|
7
|
+
Requires-Python: >=3.8
|
|
8
|
+
Description-Content-Type: text/markdown
|
|
9
|
+
|
|
10
|
+
# What is in this package, and under what terms
|
|
11
|
+
|
|
12
|
+
This package redistributes, unmodified, native jars built and published by the bytedeco
|
|
13
|
+
project (https://github.com/bytedeco/javacpp-presets, tag 1.5.11) on Maven Central:
|
|
14
|
+
|
|
15
|
+
- `org.bytedeco:ffmpeg:7.1-1.5.11`, one platform classifier;
|
|
16
|
+
- `org.bytedeco:javacpp:1.5.11`, the same classifier.
|
|
17
|
+
|
|
18
|
+
`pins.json` in the source repository lists each file's size and digests.
|
|
19
|
+
|
|
20
|
+
**The wrapper code** in those jars (JavaCPP and its presets) is offered by its authors under
|
|
21
|
+
the Apache License 2.0, or the GNU GPL version 2 or later with the Classpath exception.
|
|
22
|
+
|
|
23
|
+
**The FFmpeg libraries** inside are the bytedeco default build, not its `-gpl` build. Its
|
|
24
|
+
build script (`ffmpeg/cppbuild.sh` at that tag) configures FFmpeg with `--enable-version3`
|
|
25
|
+
and without `--enable-gpl`, which makes the FFmpeg libraries LGPL version 3 or later. They
|
|
26
|
+
are shared libraries, and may be replaced by a build of your own. FFmpeg's source is at
|
|
27
|
+
https://ffmpeg.org; the exact sources and patches of this build are fetched by that script.
|
|
28
|
+
|
|
29
|
+
The same build statically includes other libraries under their own terms, among them
|
|
30
|
+
SVT-AV1, dav1d, libaom, libvpx, OpenSSL, LAME, Speex, opencore-amr, vo-amrwbenc and
|
|
31
|
+
OpenH264. This notice does not list every one; the build script does. OpenH264 is included
|
|
32
|
+
as compiled by bytedeco, not as the binary Cisco distributes.
|
|
33
|
+
|
|
34
|
+
**This package's own files** (`ciris_holon/`, the builder) are part of
|
|
35
|
+
CIRISHolon and under the GNU AGPL version 3.
|
|
36
|
+
|
|
37
|
+
Nothing here is legal advice. The digests say which bytes are carried; the terms above are
|
|
38
|
+
as their authors state them at the places named.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
ciris_holon-0.1.0.dist-info/METADATA,sha256=ARwYzCO4b1kB4EfZHDDtWOrqb0ntl8ojCg9McN8ycuM,2065
|
|
2
|
+
ciris_holon-0.1.0.dist-info/WHEEL,sha256=dD1xEI7c26UU6hRotOeOmeH8cQT4zB4HxH6Pqp74gqk,105
|
|
3
|
+
ciris_holon-0.1.0.dist-info/licenses/NOTICE.md,sha256=v7rDZ49CL3Zvr_2LUH6v5Ufaevbkh14cnlcmGBM16S0,1627
|
|
4
|
+
ciris_holon/__init__.py,sha256=ClvuenkDa8bI6nRq3B-6wb8gocDstP5iF9zeUfWWjhs,336
|
|
5
|
+
ciris_holon/media/__init__.py,sha256=hCtt20Pz6dbHCwOq3El85M1uzfIl1CPlx_jDwiAXA5w,1110
|
|
6
|
+
ciris_holon/media/jars/SHA256SUMS,sha256=JKhQZkiRKqOs_aX_UuRn9UKNDdQO9nQezgG7GRziogQ,203
|
|
7
|
+
ciris_holon/media/jars/ffmpeg-7.1-1.5.11-windows-x86_64.jar,sha256=YyBdp1Dz-7f6Dl0jueAPwSV-R4wz0C3O6SmSaDCdWUs,25536044
|
|
8
|
+
ciris_holon/media/jars/javacpp-1.5.11-windows-x86_64.jar,sha256=y2fKRr-vVHgtOFVKq1kfLK_6mokSR4mGavyMggMDTPM,1971409
|
|
9
|
+
ciris_holon-0.1.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# What is in this package, and under what terms
|
|
2
|
+
|
|
3
|
+
This package redistributes, unmodified, native jars built and published by the bytedeco
|
|
4
|
+
project (https://github.com/bytedeco/javacpp-presets, tag 1.5.11) on Maven Central:
|
|
5
|
+
|
|
6
|
+
- `org.bytedeco:ffmpeg:7.1-1.5.11`, one platform classifier;
|
|
7
|
+
- `org.bytedeco:javacpp:1.5.11`, the same classifier.
|
|
8
|
+
|
|
9
|
+
`pins.json` in the source repository lists each file's size and digests.
|
|
10
|
+
|
|
11
|
+
**The wrapper code** in those jars (JavaCPP and its presets) is offered by its authors under
|
|
12
|
+
the Apache License 2.0, or the GNU GPL version 2 or later with the Classpath exception.
|
|
13
|
+
|
|
14
|
+
**The FFmpeg libraries** inside are the bytedeco default build, not its `-gpl` build. Its
|
|
15
|
+
build script (`ffmpeg/cppbuild.sh` at that tag) configures FFmpeg with `--enable-version3`
|
|
16
|
+
and without `--enable-gpl`, which makes the FFmpeg libraries LGPL version 3 or later. They
|
|
17
|
+
are shared libraries, and may be replaced by a build of your own. FFmpeg's source is at
|
|
18
|
+
https://ffmpeg.org; the exact sources and patches of this build are fetched by that script.
|
|
19
|
+
|
|
20
|
+
The same build statically includes other libraries under their own terms, among them
|
|
21
|
+
SVT-AV1, dav1d, libaom, libvpx, OpenSSL, LAME, Speex, opencore-amr, vo-amrwbenc and
|
|
22
|
+
OpenH264. This notice does not list every one; the build script does. OpenH264 is included
|
|
23
|
+
as compiled by bytedeco, not as the binary Cisco distributes.
|
|
24
|
+
|
|
25
|
+
**This package's own files** (`ciris_holon/`, the builder) are part of
|
|
26
|
+
CIRISHolon and under the GNU AGPL version 3.
|
|
27
|
+
|
|
28
|
+
Nothing here is legal advice. The digests say which bytes are carried; the terms above are
|
|
29
|
+
as their authors state them at the places named.
|