second commit
This commit is contained in:
1
env/lib/python3.11/site-packages/m3u8-6.0.0.dist-info/INSTALLER
vendored
Normal file
1
env/lib/python3.11/site-packages/m3u8-6.0.0.dist-info/INSTALLER
vendored
Normal file
@ -0,0 +1 @@
|
||||
pip
|
11
env/lib/python3.11/site-packages/m3u8-6.0.0.dist-info/LICENSE
vendored
Normal file
11
env/lib/python3.11/site-packages/m3u8-6.0.0.dist-info/LICENSE
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
m3u8 is licensed under the MIT License:
|
||||
|
||||
The MIT License
|
||||
|
||||
Copyright (c) 2012 globo.com webmedia@corp.globo.com
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
116
env/lib/python3.11/site-packages/m3u8-6.0.0.dist-info/METADATA
vendored
Normal file
116
env/lib/python3.11/site-packages/m3u8-6.0.0.dist-info/METADATA
vendored
Normal file
@ -0,0 +1,116 @@
|
||||
Metadata-Version: 2.1
|
||||
Name: m3u8
|
||||
Version: 6.0.0
|
||||
Summary: Python m3u8 parser
|
||||
Home-page: https://github.com/globocom/m3u8
|
||||
Author: Globo.com
|
||||
License: MIT
|
||||
Requires-Python: >=3.7
|
||||
Description-Content-Type: text/markdown
|
||||
License-File: LICENSE
|
||||
Requires-Dist: backports-datetime-fromisoformat ; python_version < "3.11"
|
||||
|
||||
 [](https://badge.fury.io/py/m3u8)
|
||||
|
||||
# m3u8
|
||||
|
||||
Python [m3u8](https://tools.ietf.org/html/rfc8216) parser.
|
||||
|
||||
# Documentation
|
||||
|
||||
## Loading a playlist
|
||||
|
||||
To load a playlist into an object from uri, file path or directly from
|
||||
string, use the `load/loads` functions:
|
||||
|
||||
```python
|
||||
import m3u8
|
||||
|
||||
playlist = m3u8.load('http://videoserver.com/playlist.m3u8') # this could also be an absolute filename
|
||||
print(playlist.segments)
|
||||
print(playlist.target_duration)
|
||||
|
||||
# if you already have the content as string, use
|
||||
|
||||
playlist = m3u8.loads('#EXTM3U8 ... etc ... ')
|
||||
```
|
||||
|
||||
## Dumping a playlist
|
||||
|
||||
To dump a playlist from an object to the console or a file, use the
|
||||
`dump/dumps` functions:
|
||||
|
||||
``` python
|
||||
import m3u8
|
||||
|
||||
playlist = m3u8.load('http://videoserver.com/playlist.m3u8')
|
||||
print(playlist.dumps())
|
||||
|
||||
# if you want to write a file from its content
|
||||
|
||||
playlist.dump('playlist.m3u8')
|
||||
```
|
||||
|
||||
# Supported tags
|
||||
|
||||
- [\#EXT-X-TARGETDURATION](https://tools.ietf.org/html/rfc8216#section-4.3.3.1)
|
||||
- [\#EXT-X-MEDIA-SEQUENCE](https://tools.ietf.org/html/rfc8216#section-4.3.3.2)
|
||||
- [\#EXT-X-DISCONTINUITY-SEQUENCE](https://tools.ietf.org/html/rfc8216#section-4.3.3.3)
|
||||
- [\#EXT-X-PROGRAM-DATE-TIME](https://tools.ietf.org/html/rfc8216#section-4.3.2.6)
|
||||
- [\#EXT-X-MEDIA](https://tools.ietf.org/html/rfc8216#section-4.3.4.1)
|
||||
- [\#EXT-X-PLAYLIST-TYPE](https://tools.ietf.org/html/rfc8216#section-4.3.3.5)
|
||||
- [\#EXT-X-KEY](https://tools.ietf.org/html/rfc8216#section-4.3.2.4)
|
||||
- [\#EXT-X-STREAM-INF](https://tools.ietf.org/html/rfc8216#section-4.3.4.2)
|
||||
- [\#EXT-X-VERSION](https://tools.ietf.org/html/rfc8216#section-4.3.1.2)
|
||||
- [\#EXT-X-ALLOW-CACHE](https://datatracker.ietf.org/doc/html/draft-pantos-http-live-streaming-07#section-3.3.6)
|
||||
- [\#EXT-X-ENDLIST](https://tools.ietf.org/html/rfc8216#section-4.3.3.4)
|
||||
- [\#EXTINF](https://tools.ietf.org/html/rfc8216#section-4.3.2.1)
|
||||
- [\#EXT-X-I-FRAMES-ONLY](https://tools.ietf.org/html/rfc8216#section-4.3.3.6)
|
||||
- [\#EXT-X-BITRATE](https://datatracker.ietf.org/doc/html/draft-pantos-hls-rfc8216bis#section-4.4.4.8)
|
||||
- [\#EXT-X-BYTERANGE](https://tools.ietf.org/html/rfc8216#section-4.3.2.2)
|
||||
- [\#EXT-X-I-FRAME-STREAM-INF](https://tools.ietf.org/html/rfc8216#section-4.3.4.3)
|
||||
- [\#EXT-X-IMAGES-ONLY](https://github.com/image-media-playlist/spec/blob/master/image_media_playlist_v0_4.pdf)
|
||||
- [\#EXT-X-IMAGE-STREAM-INF](https://github.com/image-media-playlist/spec/blob/master/image_media_playlist_v0_4.pdf)
|
||||
- [\#EXT-X-TILES](https://github.com/image-media-playlist/spec/blob/master/image_media_playlist_v0_4.pdf)
|
||||
- [\#EXT-X-DISCONTINUITY](https://tools.ietf.org/html/rfc8216#section-4.3.2.3)
|
||||
- \#EXT-X-CUE-OUT
|
||||
- \#EXT-X-CUE-OUT-CONT
|
||||
- \#EXT-X-CUE-IN
|
||||
- \#EXT-X-CUE-SPAN
|
||||
- \#EXT-OATCLS-SCTE35
|
||||
- [\#EXT-X-INDEPENDENT-SEGMENTS](https://tools.ietf.org/html/rfc8216#section-4.3.5.1)
|
||||
- [\#EXT-X-MAP](https://tools.ietf.org/html/rfc8216#section-4.3.2.5)
|
||||
- [\#EXT-X-START](https://tools.ietf.org/html/rfc8216#section-4.3.5.2)
|
||||
- [\#EXT-X-SERVER-CONTROL](https://datatracker.ietf.org/doc/html/draft-pantos-hls-rfc8216bis#section-4.4.3.8)
|
||||
- [\#EXT-X-PART-INF](https://datatracker.ietf.org/doc/html/draft-pantos-hls-rfc8216bis#section-4.4.3.7)
|
||||
- [\#EXT-X-PART](https://datatracker.ietf.org/doc/html/draft-pantos-hls-rfc8216bis#section-4.4.4.9)
|
||||
- [\#EXT-X-RENDITION-REPORT](https://datatracker.ietf.org/doc/html/draft-pantos-hls-rfc8216bis#section-4.4.5.4)
|
||||
- [\#EXT-X-SKIP](https://datatracker.ietf.org/doc/html/draft-pantos-hls-rfc8216bis#section-4.4.5.2)
|
||||
- [\#EXT-X-SESSION-DATA](https://tools.ietf.org/html/rfc8216#section-4.3.4.4)
|
||||
- [\#EXT-X-PRELOAD-HINT](https://datatracker.ietf.org/doc/html/draft-pantos-hls-rfc8216bis-09#section-4.4.5.3)
|
||||
- [\#EXT-X-SESSION-KEY](https://tools.ietf.org/html/rfc8216#section-4.3.4.5)
|
||||
- [\#EXT-X-DATERANGE](https://tools.ietf.org/html/rfc8216#section-4.3.2.7)
|
||||
- [\#EXT-X-GAP](https://tools.ietf.org/html/draft-pantos-hls-rfc8216bis-05#section-4.4.2.7)
|
||||
- [\#EXT-X-CONTENT-STEERING](https://tools.ietf.org/html/draft-pantos-hls-rfc8216bis-10#section-4.4.6.64)
|
||||
|
||||
# Frequently Asked Questions
|
||||
|
||||
- [FAQ](https://github.com/globocom/m3u8/wiki/FAQ)
|
||||
|
||||
# Running Tests
|
||||
|
||||
``` bash
|
||||
$ ./runtests
|
||||
```
|
||||
|
||||
# Contributing
|
||||
|
||||
All contributions are welcome, but we will merge a pull request if, and
|
||||
only if, it
|
||||
|
||||
- Has tests
|
||||
- Follows the code conventions
|
||||
|
||||
If you plan to implement a new feature or something that will take more
|
||||
than a few minutes, please open an issue to make sure we don't work on
|
||||
the same thing.
|
23
env/lib/python3.11/site-packages/m3u8-6.0.0.dist-info/RECORD
vendored
Normal file
23
env/lib/python3.11/site-packages/m3u8-6.0.0.dist-info/RECORD
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
m3u8-6.0.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
||||
m3u8-6.0.0.dist-info/LICENSE,sha256=mRhFmg1VVZ0AMWnKV-lRO76eg6yaaygWnORIX4G7_9s,1135
|
||||
m3u8-6.0.0.dist-info/METADATA,sha256=uuQ2f7OATekO2BzSf0BPNFRhTMJBxbTO1F2LsZP7gQo,4911
|
||||
m3u8-6.0.0.dist-info/RECORD,,
|
||||
m3u8-6.0.0.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
||||
m3u8-6.0.0.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
||||
m3u8-6.0.0.dist-info/top_level.txt,sha256=IGgEHX50Cg7bbgbJ9a66-XcwsBtuC9STbvWAwZSrYA8,5
|
||||
m3u8/__init__.py,sha256=O30H6z3EPf8ZTl5CUI4vUEPvQy2aEW5wy0Lnw14FJsc,2525
|
||||
m3u8/__pycache__/__init__.cpython-311.pyc,,
|
||||
m3u8/__pycache__/httpclient.cpython-311.pyc,,
|
||||
m3u8/__pycache__/mixins.cpython-311.pyc,,
|
||||
m3u8/__pycache__/model.cpython-311.pyc,,
|
||||
m3u8/__pycache__/parser.cpython-311.pyc,,
|
||||
m3u8/__pycache__/protocol.cpython-311.pyc,,
|
||||
m3u8/__pycache__/version_matching.cpython-311.pyc,,
|
||||
m3u8/__pycache__/version_matching_rules.cpython-311.pyc,,
|
||||
m3u8/httpclient.py,sha256=0RIbdGTfcV-KHAxgG8ltTryz-glLDO9nNKdgYulBeCA,1270
|
||||
m3u8/mixins.py,sha256=wphBrAzyc36WBxxrnFVmk1j6uG1-aSi-z9C5LqLWWSE,1369
|
||||
m3u8/model.py,sha256=wSXBOu2LXANzgdlgTbsQHj86mnwTagpmFkHVvVix_4w,54839
|
||||
m3u8/parser.py,sha256=kiez1dci8STf4FeJOejq9FAjRYtN8hizxt7iytKPKuE,24817
|
||||
m3u8/protocol.py,sha256=sbu1QH1ydzXEOGIyXl6WZCcD4fGzDYR6_srK8TVC5Gk,1750
|
||||
m3u8/version_matching.py,sha256=7Qy2hC6TucegrQLLMvDtd21ZpRWgoUhKexivRXApuSg,1013
|
||||
m3u8/version_matching_rules.py,sha256=IYxBqRd7fQNoLfd98BcFjFTKDfO1JJPpD5hBI60_4H8,3038
|
0
env/lib/python3.11/site-packages/m3u8-6.0.0.dist-info/REQUESTED
vendored
Normal file
0
env/lib/python3.11/site-packages/m3u8-6.0.0.dist-info/REQUESTED
vendored
Normal file
5
env/lib/python3.11/site-packages/m3u8-6.0.0.dist-info/WHEEL
vendored
Normal file
5
env/lib/python3.11/site-packages/m3u8-6.0.0.dist-info/WHEEL
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
Wheel-Version: 1.0
|
||||
Generator: bdist_wheel (0.41.2)
|
||||
Root-Is-Purelib: true
|
||||
Tag: py3-none-any
|
||||
|
1
env/lib/python3.11/site-packages/m3u8-6.0.0.dist-info/top_level.txt
vendored
Normal file
1
env/lib/python3.11/site-packages/m3u8-6.0.0.dist-info/top_level.txt
vendored
Normal file
@ -0,0 +1 @@
|
||||
m3u8
|
Reference in New Issue
Block a user