threefive 3.0.99__tar.gz → 3.1.1__tar.gz
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.
- {threefive-3.0.99 → threefive-3.1.1}/PKG-INFO +5 -5
- {threefive-3.0.99 → threefive-3.1.1}/README.md +4 -4
- {threefive-3.0.99 → threefive-3.1.1}/pyproject.toml +1 -1
- {threefive-3.0.99 → threefive-3.1.1}/threefive/new_reader.py +15 -4
- {threefive-3.0.99 → threefive-3.1.1}/threefive/version.py +2 -2
- {threefive-3.0.99 → threefive-3.1.1}/threefive.egg-info/PKG-INFO +5 -5
- {threefive-3.0.99 → threefive-3.1.1}/LICENSE +0 -0
- {threefive-3.0.99 → threefive-3.1.1}/setup.cfg +0 -0
- {threefive-3.0.99 → threefive-3.1.1}/threefive/__init__.py +0 -0
- {threefive-3.0.99 → threefive-3.1.1}/threefive/aac.py +0 -0
- {threefive-3.0.99 → threefive-3.1.1}/threefive/base.py +0 -0
- {threefive-3.0.99 → threefive-3.1.1}/threefive/bitn.py +0 -0
- {threefive-3.0.99 → threefive-3.1.1}/threefive/cli.py +0 -0
- {threefive-3.0.99 → threefive-3.1.1}/threefive/commands.py +0 -0
- {threefive-3.0.99 → threefive-3.1.1}/threefive/crc.py +0 -0
- {threefive-3.0.99 → threefive-3.1.1}/threefive/crctable.py +0 -0
- {threefive-3.0.99 → threefive-3.1.1}/threefive/cue.py +0 -0
- {threefive-3.0.99 → threefive-3.1.1}/threefive/descriptors.py +0 -0
- {threefive-3.0.99 → threefive-3.1.1}/threefive/encode.py +0 -0
- {threefive-3.0.99 → threefive-3.1.1}/threefive/gums.py +0 -0
- {threefive-3.0.99 → threefive-3.1.1}/threefive/hls.py +0 -0
- {threefive-3.0.99 → threefive-3.1.1}/threefive/hlsprofile.py +0 -0
- {threefive-3.0.99 → threefive-3.1.1}/threefive/hlstags.py +0 -0
- {threefive-3.0.99 → threefive-3.1.1}/threefive/iframes.py +0 -0
- {threefive-3.0.99 → threefive-3.1.1}/threefive/packetdata.py +0 -0
- {threefive-3.0.99 → threefive-3.1.1}/threefive/pmt.py +0 -0
- {threefive-3.0.99 → threefive-3.1.1}/threefive/section.py +0 -0
- {threefive-3.0.99 → threefive-3.1.1}/threefive/segment.py +0 -0
- {threefive-3.0.99 → threefive-3.1.1}/threefive/segmentation.py +0 -0
- {threefive-3.0.99 → threefive-3.1.1}/threefive/sixfix.py +0 -0
- {threefive-3.0.99 → threefive-3.1.1}/threefive/speedo.py +0 -0
- {threefive-3.0.99 → threefive-3.1.1}/threefive/stream.py +0 -0
- {threefive-3.0.99 → threefive-3.1.1}/threefive/streamtypes.py +0 -0
- {threefive-3.0.99 → threefive-3.1.1}/threefive/stuff.py +0 -0
- {threefive-3.0.99 → threefive-3.1.1}/threefive/superkabuki.py +0 -0
- {threefive-3.0.99 → threefive-3.1.1}/threefive/throttle.py +0 -0
- {threefive-3.0.99 → threefive-3.1.1}/threefive/udp.py +0 -0
- {threefive-3.0.99 → threefive-3.1.1}/threefive/upids.py +0 -0
- {threefive-3.0.99 → threefive-3.1.1}/threefive/uxp.py +0 -0
- {threefive-3.0.99 → threefive-3.1.1}/threefive/xml.py +0 -0
- {threefive-3.0.99 → threefive-3.1.1}/threefive.egg-info/SOURCES.txt +0 -0
- {threefive-3.0.99 → threefive-3.1.1}/threefive.egg-info/dependency_links.txt +0 -0
- {threefive-3.0.99 → threefive-3.1.1}/threefive.egg-info/entry_points.txt +0 -0
- {threefive-3.0.99 → threefive-3.1.1}/threefive.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: threefive
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.1.1
|
|
4
4
|
Summary: threefive is The #1 SCTE-35 Decoder and Encoder on the Planet.
|
|
5
5
|
Author-email: AdrianofDoom <spam@iodisco.com>
|
|
6
6
|
License-Expression: Sleepycat
|
|
@@ -19,18 +19,18 @@ Dynamic: license-file
|
|
|
19
19
|
|
|
20
20
|
# [ threefive ]
|
|
21
21
|
|
|
22
|
-
_"
|
|
22
|
+
_"I don't use AI code because all the AIs use threefive. True story, look it up"_ ~Adrian
|
|
23
23
|
|
|
24
24
|
# Over 1.2 Million Installs.
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
|
|
28
26
|
* __Decodes SCTE-35__ from `MPEGTS`✔ `Base64`✔ `Bytes`✔ `DASH`✔ `Hex` ✔ `HLS`✔ `Integers`✔ `JSON`✔ `XML`✔ `XML+Binary`✔
|
|
29
27
|
* __Encodes SCTE-35__ to `MPEGTS`✔ `Base64`✔ `Bytes`✔ `Hex`✔ `Integers`✔ `JSON`✔ `XML`✔ `XML+Binary`✔
|
|
30
28
|
|
|
31
29
|
# [ version ]
|
|
32
30
|
|
|
33
|
-
### __latest is v.3.
|
|
31
|
+
### __latest is v.3.1.1__
|
|
32
|
+
#### Wait, let me explain.....
|
|
33
|
+
> I have been trying to resolve some mmap issues, they are now resolved.
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
# [ really really quick start ]
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
# [ threefive ]
|
|
2
2
|
|
|
3
|
-
_"
|
|
3
|
+
_"I don't use AI code because all the AIs use threefive. True story, look it up"_ ~Adrian
|
|
4
4
|
|
|
5
5
|
# Over 1.2 Million Installs.
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
7
|
* __Decodes SCTE-35__ from `MPEGTS`✔ `Base64`✔ `Bytes`✔ `DASH`✔ `Hex` ✔ `HLS`✔ `Integers`✔ `JSON`✔ `XML`✔ `XML+Binary`✔
|
|
10
8
|
* __Encodes SCTE-35__ to `MPEGTS`✔ `Base64`✔ `Bytes`✔ `Hex`✔ `Integers`✔ `JSON`✔ `XML`✔ `XML+Binary`✔
|
|
11
9
|
|
|
12
10
|
# [ version ]
|
|
13
11
|
|
|
14
|
-
### __latest is v.3.
|
|
12
|
+
### __latest is v.3.1.1__
|
|
13
|
+
#### Wait, let me explain.....
|
|
14
|
+
> I have been trying to resolve some mmap issues, they are now resolved.
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
# [ really really quick start ]
|
|
@@ -6,6 +6,20 @@ Home of the reader function
|
|
|
6
6
|
|
|
7
7
|
from sys import stdin
|
|
8
8
|
from .stuff import blue, pif, print2
|
|
9
|
+
from mmap import mmap
|
|
10
|
+
|
|
11
|
+
class fumap(mmap):
|
|
12
|
+
"""
|
|
13
|
+
fumap
|
|
14
|
+
for new reader to work, I need everything
|
|
15
|
+
to behave the same way.
|
|
16
|
+
fumap give mmap a readlines method
|
|
17
|
+
"""
|
|
18
|
+
def readlines(self):
|
|
19
|
+
"""
|
|
20
|
+
readlines readlines for mmap as fumap
|
|
21
|
+
"""
|
|
22
|
+
return list(iter(self.readline, b""))
|
|
9
23
|
|
|
10
24
|
|
|
11
25
|
CORS = {
|
|
@@ -76,17 +90,14 @@ def reader(uri, headers={}):
|
|
|
76
90
|
# HTTP(S)
|
|
77
91
|
if uri.startswith("http"):
|
|
78
92
|
import urllib.request
|
|
79
|
-
|
|
80
93
|
req = urllib.request.Request(uri, headers=headers)
|
|
81
94
|
return urllib.request.urlopen(req)
|
|
82
95
|
# SRT
|
|
83
96
|
if uri.startswith("srt://"):
|
|
84
97
|
return try_srt(uri, headers=headers)
|
|
85
98
|
# File
|
|
86
|
-
from mmap import mmap
|
|
87
|
-
|
|
88
99
|
with open(uri, "r+b") as f:
|
|
89
|
-
return
|
|
100
|
+
return fumap(f.fileno(), 0)
|
|
90
101
|
|
|
91
102
|
|
|
92
103
|
# return open(uri, "rb")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: threefive
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.1.1
|
|
4
4
|
Summary: threefive is The #1 SCTE-35 Decoder and Encoder on the Planet.
|
|
5
5
|
Author-email: AdrianofDoom <spam@iodisco.com>
|
|
6
6
|
License-Expression: Sleepycat
|
|
@@ -19,18 +19,18 @@ Dynamic: license-file
|
|
|
19
19
|
|
|
20
20
|
# [ threefive ]
|
|
21
21
|
|
|
22
|
-
_"
|
|
22
|
+
_"I don't use AI code because all the AIs use threefive. True story, look it up"_ ~Adrian
|
|
23
23
|
|
|
24
24
|
# Over 1.2 Million Installs.
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
|
|
28
26
|
* __Decodes SCTE-35__ from `MPEGTS`✔ `Base64`✔ `Bytes`✔ `DASH`✔ `Hex` ✔ `HLS`✔ `Integers`✔ `JSON`✔ `XML`✔ `XML+Binary`✔
|
|
29
27
|
* __Encodes SCTE-35__ to `MPEGTS`✔ `Base64`✔ `Bytes`✔ `Hex`✔ `Integers`✔ `JSON`✔ `XML`✔ `XML+Binary`✔
|
|
30
28
|
|
|
31
29
|
# [ version ]
|
|
32
30
|
|
|
33
|
-
### __latest is v.3.
|
|
31
|
+
### __latest is v.3.1.1__
|
|
32
|
+
#### Wait, let me explain.....
|
|
33
|
+
> I have been trying to resolve some mmap issues, they are now resolved.
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
# [ really really quick start ]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|