Python m3u8 parser
Project description
m3u8
Python m3u8 parser.
Documentation
The basic usage is to create a playlist object from uri, file path or directly from a string:
import m3u8 m3u8_obj = m3u8.load('http://videoserver.com/playlist.m3u8') # this could also be an absolute filename print m3u8_obj.segments print m3u8_obj.target_duration # if you already have the content as string, use m3u8_obj = m3u8.loads('#EXTM3U8 ... etc ... ')
Running Tests
$ ./runtests
Contributing
All contribution is 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
m3u8-0.3.11.tar.gz
(17.3 kB
view details)
Built Distribution
m3u8-0.3.11-py3-none-any.whl
(16.4 kB
view details)
File details
Details for the file m3u8-0.3.11.tar.gz
.
File metadata
- Download URL: m3u8-0.3.11.tar.gz
- Upload date:
- Size: 17.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a13d980324ff20a8e9982398e79f7fab39a1d6b385dd5c88aa4c0f41c87ac1a2 |
|
MD5 | d9f4f3d61a24ca75df5a997ba218b9d2 |
|
BLAKE2b-256 | 9dbf4e186d8e77efea6f1d7481868f8e3cae3bab916c8b7ba7cac8000d3e4f97 |
File details
Details for the file m3u8-0.3.11-py3-none-any.whl
.
File metadata
- Download URL: m3u8-0.3.11-py3-none-any.whl
- Upload date:
- Size: 16.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22bbbc14ef85d652d7c9c19a113170f9391b47c8df9e341e5e1e50ce68911680 |
|
MD5 | 6d22c90fd061b6426828f74f921bb800 |
|
BLAKE2b-256 | 97da81ff48c01cb1cef455fd5f5a92162bbb15de691b698eeeff3f7437c5e6f6 |