threefive3 3.0.7__tar.gz → 3.0.9__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.
Files changed (34) hide show
  1. {threefive3-3.0.7/threefive3.egg-info → threefive3-3.0.9}/PKG-INFO +29 -15
  2. {threefive3-3.0.7 → threefive3-3.0.9}/README.md +28 -14
  3. {threefive3-3.0.7 → threefive3-3.0.9}/threefive3/stream.py +2 -2
  4. {threefive3-3.0.7 → threefive3-3.0.9}/threefive3/version.py +1 -1
  5. {threefive3-3.0.7 → threefive3-3.0.9/threefive3.egg-info}/PKG-INFO +29 -15
  6. {threefive3-3.0.7 → threefive3-3.0.9}/LICENSE +0 -0
  7. {threefive3-3.0.7 → threefive3-3.0.9}/bin/threefive3 +0 -0
  8. {threefive3-3.0.7 → threefive3-3.0.9}/setup.cfg +0 -0
  9. {threefive3-3.0.7 → threefive3-3.0.9}/setup.py +0 -0
  10. {threefive3-3.0.7 → threefive3-3.0.9}/threefive3/__init__.py +0 -0
  11. {threefive3-3.0.7 → threefive3-3.0.9}/threefive3/base.py +0 -0
  12. {threefive3-3.0.7 → threefive3-3.0.9}/threefive3/bitn.py +0 -0
  13. {threefive3-3.0.7 → threefive3-3.0.9}/threefive3/commands.py +0 -0
  14. {threefive3-3.0.7 → threefive3-3.0.9}/threefive3/crc.py +0 -0
  15. {threefive3-3.0.7 → threefive3-3.0.9}/threefive3/cue.py +0 -0
  16. {threefive3-3.0.7 → threefive3-3.0.9}/threefive3/descriptors.py +0 -0
  17. {threefive3-3.0.7 → threefive3-3.0.9}/threefive3/hls.py +0 -0
  18. {threefive3-3.0.7 → threefive3-3.0.9}/threefive3/iframes.py +0 -0
  19. {threefive3-3.0.7 → threefive3-3.0.9}/threefive3/new_reader.py +0 -0
  20. {threefive3-3.0.7 → threefive3-3.0.9}/threefive3/packetdata.py +0 -0
  21. {threefive3-3.0.7 → threefive3-3.0.9}/threefive3/section.py +0 -0
  22. {threefive3-3.0.7 → threefive3-3.0.9}/threefive3/segment.py +0 -0
  23. {threefive3-3.0.7 → threefive3-3.0.9}/threefive3/segmentation.py +0 -0
  24. {threefive3-3.0.7 → threefive3-3.0.9}/threefive3/sixfix.py +0 -0
  25. {threefive3-3.0.7 → threefive3-3.0.9}/threefive3/spare.py +0 -0
  26. {threefive3-3.0.7 → threefive3-3.0.9}/threefive3/streamtypes.py +0 -0
  27. {threefive3-3.0.7 → threefive3-3.0.9}/threefive3/sxp.py +0 -0
  28. {threefive3-3.0.7 → threefive3-3.0.9}/threefive3/upids.py +0 -0
  29. {threefive3-3.0.7 → threefive3-3.0.9}/threefive3/x2c.py +0 -0
  30. {threefive3-3.0.7 → threefive3-3.0.9}/threefive3/xml.py +0 -0
  31. {threefive3-3.0.7 → threefive3-3.0.9}/threefive3.egg-info/SOURCES.txt +0 -0
  32. {threefive3-3.0.7 → threefive3-3.0.9}/threefive3.egg-info/dependency_links.txt +0 -0
  33. {threefive3-3.0.7 → threefive3-3.0.9}/threefive3.egg-info/requires.txt +0 -0
  34. {threefive3-3.0.7 → threefive3-3.0.9}/threefive3.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: threefive3
3
- Version: 3.0.7
3
+ Version: 3.0.9
4
4
  Summary: threefive continued.
5
5
  Home-page: https://github.com/superkabuki/scte35
6
6
  Author: Adrian of Doom
@@ -24,24 +24,38 @@ Requires-Dist: pyaes
24
24
 
25
25
  ![image](https://github.com/user-attachments/assets/adae03a1-9f85-403e-9dce-d134e0996903)
26
26
 
27
+ # Latest version is v3.0.9
27
28
 
28
-
29
- > I wrote threefive because I couldn't find any SCTE-35 tools. There were a few libraries, but SCTE-35 wasn't their focus,
30
- > and they required writing several hundred lines of code to do anything. I think a library should save you time.
31
29
  # Why threefive3, why not just threefive?
32
- * __Answer #1__ <s>Github F2A'ed out of my account, and I have no idea where I put the recovery codes. I have more than one Internet account, where I am supposed to keep all this data? Should I store in some company's cloud so they can read it or give it away to Eastern European script kiddies? F2A is complete nonsense. It doesn't matter how secure it is, if a security measure prevents me from accessing my account, that's not secure, that's locked out.</s>
33
- * __Answer #2__ <s> Two repos with the same name, would be confusing. </s>
34
- * __Answer #3__ <s>I wanted to rethink everything. After going through the code, I kept about 75% of it. I completely rewrote the Xml parser,I did a lot of work with the Cue class, HLS, and really tuned up the cli. The cli is amazing and super easy to use.</s>
35
- * __Answer #4__ I came up with a really cool name, but it wasn't available on pypi.org for a package name.
36
- * __Answer #5__ <s>Really, I was just getting a little bored with the whole thing, I just wanted to shake things up a little, keep it fun.</s>
37
- * __Answer #6__ <s>Have you seen chewy Tic Tacs? They're just mini jelly beans.</s>
38
- * __Answer #7__ I'll tell you the truth, everything is a lie.
39
- * __Answer #8__ <s>Obama is a lizard. I'm not sure about his wife.</s>
30
+
31
+ * __Answer #1__
32
+ * <s>Github F2A'ed out of my account, and I have no idea where I put the recovery codes. I have more than one Internet account, where I am supposed to keep all this data? Should I store in some company's cloud so they can read it or give it away to Eastern European script kiddies? F2A is complete nonsense. It doesn't matter how secure it is, if a security measure prevents me from accessing my account, that's not secure, that's locked out.</s>
33
+
34
+ * __Answer #2__
35
+ * <s> Two repos with the same name, would be confusing. </s>
36
+
37
+ * __Answer #3__
38
+ * <s>I wanted to rethink everything. After going through the code, I kept about 75% of it. I completely rewrote the Xml parser,I did a lot of work with the Cue class, HLS, and really tuned up the cli. The cli is amazing and super easy to use.</s>
39
+
40
+ * __Answer #4__
41
+ * <s>I came up with a really cool name, but it wasn't available on pypi.org for a package name.</s>
42
+
43
+ * __Answer #5__
44
+ * <s>Really, I was just getting a little bored with the whole thing, I just wanted to shake things up a little, keep it fun.</s>
45
+
46
+ * __Answer #6__
47
+ * <s>Have you seen chewy Tic Tacs? They're just mini jelly beans.</s>
48
+
49
+ * __Answer #7__
50
+ * <s>I'll tell you the truth, everything is a lie.</s>
51
+
52
+ * __Answer #8__
53
+ * Obama is a lizard. I'm not sure about his wife.
40
54
 
41
55
  # How do I upgrade my code to threefive3?
42
56
  > Despite making a lot of changes, the api remains. threefive3 is pretty much a drop in replacement for threefive. I used sed to upgrade my code.
43
57
  ```js
44
- sed -e 's/threefive/threefive3/g'
58
+ sed -i 's/threefive/threefive3/g'
45
59
  ```
46
60
  > One thing to note, calling load or decode is no longer necessary for the Cue class, however, the methods are there in case you do call them.
47
61
  >
@@ -68,9 +82,9 @@ sed -e 's/threefive/threefive3/g'
68
82
 
69
83
 
70
84
  # Issues and Bugs.
71
- * If you think you have a bug, I'll quickly fix it, but first I need you to prove it to me. Show me the entire error message, the code you're running, and the SCTE-35.
85
+ * If you think you have a bug, I'll quickly fix it, but first I need you to prove it to me. __Show me the entire error message, the code you're running, and if the SCTE-35 is in video, the video stream. You think your stream has proprietary data, we call those UPIDS. I am not going to spend my time trying to guess what your issue might be because you don't trust me.
72
86
  ---
73
- # Special Requests
87
+ # Special Requests.
74
88
  * If need some work done, this is what I do for a living, you can hire me.
75
89
  * If you want to discuss your project open an issue and I'll send you my contact info.
76
90
  ---
@@ -1,23 +1,37 @@
1
1
  ![image](https://github.com/user-attachments/assets/adae03a1-9f85-403e-9dce-d134e0996903)
2
2
 
3
+ # Latest version is v3.0.9
3
4
 
4
-
5
- > I wrote threefive because I couldn't find any SCTE-35 tools. There were a few libraries, but SCTE-35 wasn't their focus,
6
- > and they required writing several hundred lines of code to do anything. I think a library should save you time.
7
5
  # Why threefive3, why not just threefive?
8
- * __Answer #1__ <s>Github F2A'ed out of my account, and I have no idea where I put the recovery codes. I have more than one Internet account, where I am supposed to keep all this data? Should I store in some company's cloud so they can read it or give it away to Eastern European script kiddies? F2A is complete nonsense. It doesn't matter how secure it is, if a security measure prevents me from accessing my account, that's not secure, that's locked out.</s>
9
- * __Answer #2__ <s> Two repos with the same name, would be confusing. </s>
10
- * __Answer #3__ <s>I wanted to rethink everything. After going through the code, I kept about 75% of it. I completely rewrote the Xml parser,I did a lot of work with the Cue class, HLS, and really tuned up the cli. The cli is amazing and super easy to use.</s>
11
- * __Answer #4__ I came up with a really cool name, but it wasn't available on pypi.org for a package name.
12
- * __Answer #5__ <s>Really, I was just getting a little bored with the whole thing, I just wanted to shake things up a little, keep it fun.</s>
13
- * __Answer #6__ <s>Have you seen chewy Tic Tacs? They're just mini jelly beans.</s>
14
- * __Answer #7__ I'll tell you the truth, everything is a lie.
15
- * __Answer #8__ <s>Obama is a lizard. I'm not sure about his wife.</s>
6
+
7
+ * __Answer #1__
8
+ * <s>Github F2A'ed out of my account, and I have no idea where I put the recovery codes. I have more than one Internet account, where I am supposed to keep all this data? Should I store in some company's cloud so they can read it or give it away to Eastern European script kiddies? F2A is complete nonsense. It doesn't matter how secure it is, if a security measure prevents me from accessing my account, that's not secure, that's locked out.</s>
9
+
10
+ * __Answer #2__
11
+ * <s> Two repos with the same name, would be confusing. </s>
12
+
13
+ * __Answer #3__
14
+ * <s>I wanted to rethink everything. After going through the code, I kept about 75% of it. I completely rewrote the Xml parser,I did a lot of work with the Cue class, HLS, and really tuned up the cli. The cli is amazing and super easy to use.</s>
15
+
16
+ * __Answer #4__
17
+ * <s>I came up with a really cool name, but it wasn't available on pypi.org for a package name.</s>
18
+
19
+ * __Answer #5__
20
+ * <s>Really, I was just getting a little bored with the whole thing, I just wanted to shake things up a little, keep it fun.</s>
21
+
22
+ * __Answer #6__
23
+ * <s>Have you seen chewy Tic Tacs? They're just mini jelly beans.</s>
24
+
25
+ * __Answer #7__
26
+ * <s>I'll tell you the truth, everything is a lie.</s>
27
+
28
+ * __Answer #8__
29
+ * Obama is a lizard. I'm not sure about his wife.
16
30
 
17
31
  # How do I upgrade my code to threefive3?
18
32
  > Despite making a lot of changes, the api remains. threefive3 is pretty much a drop in replacement for threefive. I used sed to upgrade my code.
19
33
  ```js
20
- sed -e 's/threefive/threefive3/g'
34
+ sed -i 's/threefive/threefive3/g'
21
35
  ```
22
36
  > One thing to note, calling load or decode is no longer necessary for the Cue class, however, the methods are there in case you do call them.
23
37
  >
@@ -44,9 +58,9 @@ sed -e 's/threefive/threefive3/g'
44
58
 
45
59
 
46
60
  # Issues and Bugs.
47
- * If you think you have a bug, I'll quickly fix it, but first I need you to prove it to me. Show me the entire error message, the code you're running, and the SCTE-35.
61
+ * If you think you have a bug, I'll quickly fix it, but first I need you to prove it to me. __Show me the entire error message, the code you're running, and if the SCTE-35 is in video, the video stream. You think your stream has proprietary data, we call those UPIDS. I am not going to spend my time trying to guess what your issue might be because you don't trust me.
48
62
  ---
49
- # Special Requests
63
+ # Special Requests.
50
64
  * If need some work done, this is what I do for a living, you can hire me.
51
65
  * If you want to discuss your project open an issue and I'll send you my contact info.
52
66
  ---
@@ -658,10 +658,10 @@ class Stream:
658
658
  program_number = False
659
659
  pay = self._chk_partial(pay, pid, self.PMT_TID)
660
660
  if not pay:
661
- return False
661
+ return False, False, False
662
662
  seclen = self._parse_length(pay[1], pay[2])
663
663
  if self._section_incomplete(pay, pid, seclen):
664
- return False
664
+ return False, False, False
665
665
  program_number = self._parse_program(pay[3], pay[4])
666
666
  return pay, seclen, program_number
667
667
 
@@ -5,6 +5,6 @@ from the cli tool run: threefive3 version
5
5
 
6
6
  major = 3
7
7
  minor = 0
8
- maintenance = 7
8
+ maintenance = 9
9
9
 
10
10
  version = f"{major}.{minor}.{maintenance}"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: threefive3
3
- Version: 3.0.7
3
+ Version: 3.0.9
4
4
  Summary: threefive continued.
5
5
  Home-page: https://github.com/superkabuki/scte35
6
6
  Author: Adrian of Doom
@@ -24,24 +24,38 @@ Requires-Dist: pyaes
24
24
 
25
25
  ![image](https://github.com/user-attachments/assets/adae03a1-9f85-403e-9dce-d134e0996903)
26
26
 
27
+ # Latest version is v3.0.9
27
28
 
28
-
29
- > I wrote threefive because I couldn't find any SCTE-35 tools. There were a few libraries, but SCTE-35 wasn't their focus,
30
- > and they required writing several hundred lines of code to do anything. I think a library should save you time.
31
29
  # Why threefive3, why not just threefive?
32
- * __Answer #1__ <s>Github F2A'ed out of my account, and I have no idea where I put the recovery codes. I have more than one Internet account, where I am supposed to keep all this data? Should I store in some company's cloud so they can read it or give it away to Eastern European script kiddies? F2A is complete nonsense. It doesn't matter how secure it is, if a security measure prevents me from accessing my account, that's not secure, that's locked out.</s>
33
- * __Answer #2__ <s> Two repos with the same name, would be confusing. </s>
34
- * __Answer #3__ <s>I wanted to rethink everything. After going through the code, I kept about 75% of it. I completely rewrote the Xml parser,I did a lot of work with the Cue class, HLS, and really tuned up the cli. The cli is amazing and super easy to use.</s>
35
- * __Answer #4__ I came up with a really cool name, but it wasn't available on pypi.org for a package name.
36
- * __Answer #5__ <s>Really, I was just getting a little bored with the whole thing, I just wanted to shake things up a little, keep it fun.</s>
37
- * __Answer #6__ <s>Have you seen chewy Tic Tacs? They're just mini jelly beans.</s>
38
- * __Answer #7__ I'll tell you the truth, everything is a lie.
39
- * __Answer #8__ <s>Obama is a lizard. I'm not sure about his wife.</s>
30
+
31
+ * __Answer #1__
32
+ * <s>Github F2A'ed out of my account, and I have no idea where I put the recovery codes. I have more than one Internet account, where I am supposed to keep all this data? Should I store in some company's cloud so they can read it or give it away to Eastern European script kiddies? F2A is complete nonsense. It doesn't matter how secure it is, if a security measure prevents me from accessing my account, that's not secure, that's locked out.</s>
33
+
34
+ * __Answer #2__
35
+ * <s> Two repos with the same name, would be confusing. </s>
36
+
37
+ * __Answer #3__
38
+ * <s>I wanted to rethink everything. After going through the code, I kept about 75% of it. I completely rewrote the Xml parser,I did a lot of work with the Cue class, HLS, and really tuned up the cli. The cli is amazing and super easy to use.</s>
39
+
40
+ * __Answer #4__
41
+ * <s>I came up with a really cool name, but it wasn't available on pypi.org for a package name.</s>
42
+
43
+ * __Answer #5__
44
+ * <s>Really, I was just getting a little bored with the whole thing, I just wanted to shake things up a little, keep it fun.</s>
45
+
46
+ * __Answer #6__
47
+ * <s>Have you seen chewy Tic Tacs? They're just mini jelly beans.</s>
48
+
49
+ * __Answer #7__
50
+ * <s>I'll tell you the truth, everything is a lie.</s>
51
+
52
+ * __Answer #8__
53
+ * Obama is a lizard. I'm not sure about his wife.
40
54
 
41
55
  # How do I upgrade my code to threefive3?
42
56
  > Despite making a lot of changes, the api remains. threefive3 is pretty much a drop in replacement for threefive. I used sed to upgrade my code.
43
57
  ```js
44
- sed -e 's/threefive/threefive3/g'
58
+ sed -i 's/threefive/threefive3/g'
45
59
  ```
46
60
  > One thing to note, calling load or decode is no longer necessary for the Cue class, however, the methods are there in case you do call them.
47
61
  >
@@ -68,9 +82,9 @@ sed -e 's/threefive/threefive3/g'
68
82
 
69
83
 
70
84
  # Issues and Bugs.
71
- * If you think you have a bug, I'll quickly fix it, but first I need you to prove it to me. Show me the entire error message, the code you're running, and the SCTE-35.
85
+ * If you think you have a bug, I'll quickly fix it, but first I need you to prove it to me. __Show me the entire error message, the code you're running, and if the SCTE-35 is in video, the video stream. You think your stream has proprietary data, we call those UPIDS. I am not going to spend my time trying to guess what your issue might be because you don't trust me.
72
86
  ---
73
- # Special Requests
87
+ # Special Requests.
74
88
  * If need some work done, this is what I do for a living, you can hire me.
75
89
  * If you want to discuss your project open an issue and I'll send you my contact info.
76
90
  ---
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