Threefive

Latest version: v2.4.39

Safety actively analyzes 638418 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 5

2.2.43

Changes | Files
------------------------------------| -------------------------------------
__threefive.Stream__ now supports assembling PAT tables from multiple packets. | [stream.py](https://github.com/futzu/SCTE35-threefive/blob/master/threefive/stream.py)
__staticmethods__ implemented in __Stream__, __Cue__, and __SegmentationDescriptor__ classes. | [cue.py](https://github.com/futzu/SCTE35-threefive/blob/master/threefive/cue.py) [stream.py](https://github.com/futzu/SCTE35-threefive/blob/master/threefive/stream.py) [segmentation.py](https://github.com/futzu/SCTE35-threefive/blob/master/threefive/segmentation.py)
__threefive.commands.SpliceSchedule__ has been __removed__., it just isn't used . | [commands.py](https://github.com/futzu/SCTE35-threefive/blob/master/threefive/commands.py)
___________________________________________________________________________
![IMG_20191205_215230](https://user-images.githubusercontent.com/52701496/102331961-7c00d280-3f59-11eb-9eaf-4f231f3a19df.jpg)




v.2.2.41

2.2.41

* Stream.___fast_start()__ rewritten.

* __Cue__._mk_info_section__ renamed to __Cue.mk_info_section__

* __reserve()__ function added to threefive.__tools__

* __f2i()__ function removed from threefive.__tools__

* __More__ documentation in __stream.py__

Committer: a <anetfu.org
![whodovoodoo](https://user-images.githubusercontent.com/52701496/101774882-b501f880-3abc-11eb-9547-39022b754eaa.png)
>


v.2.2.39

* As of __2.2.39, threefive.Cue__ will require __Cue.decode()__ to be called to parse data.

python3
from threefive import Cue
Base64 = "/DAvAAAAAAAA///wBQb+dGKQoAAZAhdDVUVJSAAAjn+fCAgAAAAALKChijUCAKnMZ1g="
cue = Cue(Base64)
cue.decode() Now required
cue.show()

* The __threefive.Stream__ class __should__ now support SCTE-35 cues __> 184 bytes , thanks__ to [ __Richard__ ](https://github.com/richard-vd).

![shocking](https://user-images.githubusercontent.com/52701496/101655286-6e09f980-3a0f-11eb-80a2-664f454227e1.jpg)


v.2.2.37
* __Critical__ bug __fix__ for __examples/multicast__
* __Removed__ Stream __.decode_next()__
* __Removed StreamB__ class

![IMG_0083](https://user-images.githubusercontent.com/52701496/100888139-c5462200-3483-11eb-8a16-f26e6a5f3e7b.jpg)


v.2.2.33
I got ahead of myself with the StreamB class, StreamB.tsdata should have been StreamB._tsdata in the __init__ method.
![IMG_0080](https://user-images.githubusercontent.com/52701496/100299011-9817e200-2f60-11eb-89ae-1839ceb766f7.jpg)


v.2.2.31
threefive.StreamB implements the super fast "Magic Bytes" technique for SCTE-35 packet detection.

SCTE-35 packet detection in less than ten lines of code.

python3
def chk_magic(self,packet):
if len(packet) < 20:
return False
if packet[5] == 0xfc:
if packet[6] == 48:
if packet[8] == 0:
if packet[15] == 255:
return packet[18] in self._CMD_TYPES


![foil-evolve](https://user-images.githubusercontent.com/52701496/100271827-215ef280-2f28-11eb-9862-d7b23d0f71f6.jpg)

v.2.2.29
Multicast Mea Culpa Fix
Fixes:
* [multicast example errors ](https://github.com/futzu/SCTE35-threefive/blob/master/examples/multicast/ts_scte_parser.py)
* The __Stream__ ._parser(__pkt__) method __return__ is now __return None__.

* The __return__ without a value __resolved True__, now they resolve __False__, as __expected__


![scounix](https://user-images.githubusercontent.com/52701496/100204334-c1d5f800-2ed1-11eb-84da-9b7bcf6a2ebf.jpg)




v.2.2.27

![cbaby](https://user-images.githubusercontent.com/52701496/100154794-2a8e8780-2e74-11eb-816d-6ae77494b672.png)
Nobody Puts Baby in the Corner



v.2.2.25
Heavy pylint clean up.
threefive pylint score: 8.42/10

js
afuhq:~/SCTE35-threefive$ radon cc -s threefive
110 blocks (classes, functions, methods) analyzed.

2.1.97

v.2.1.93
Includes threefive.Stream.decode_next()

v.2.1.91
SCTE-35 for the people.

v.2.1.89
The latest and greatest.

1.972972972972973

afumatica:~/threefive$ radon cc -s -a threefive




[threefive/go](https://github.com/futzu/scte35-threefive/tree/master/threefive/go)
* Added all segmentation UPIDs to threefive/go.
* Added PacketData to threefive/go
* [![Go Report Card](https://goreportcard.com/badge/github.com/FUTZU/threefive)](https://goreportcard.com/report/github.com/FUTZU/threefive)

Page 5 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.