Skip to main content

hls-client

This is a simple Python HTTP Live Streaming Client. It consumes a list of remote playlists, and saves all needed files to serve the playlist locally: the key, segments, and a modified m3u8 with paths normalized.

It also supports backups, i.e., if the same playlist is available on more than one server, it will track each server status and will switch to the backup if needed.

Through the config.ini it’s possible to customize where the files will be saved and what is the URL that provides servers info via JSON.

The JSON must be something like:

{
    actives: [
        {
            m3u8: "/msfc/Edge.m3u8",
            servers: [
            "liveips.nasa.gov.edgesuite.net"
            ],
            bitrates: [],
            needs_index: false
        }
    ]
}

Running

To run the client, simply run:

$ python -m hlsclient

Running tests

We use py.test for testing.

$ py.test

Metadata

Release files for hlsclient 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hlsclient 0.2.0
File Size Uploaded Provenance Actions
hlsclient-0.2.0.tar.gz 8.1 kB Without provenance Details for hlsclient-0.2.0.tar.gz

Release files / hlsclient-0.2.0.tar.gz

Download URL hlsclient-0.2.0.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
fe12d2058368e63ac0d75f13c96ae40864c1bbfd70ab34c420b2cc0212264e5a
BLAKE2b-256 checksum
How to use checksums
1cf1b3ac44e41b38213a2da7ea9f51b60a7ce482a588e6dd08dafae8a03d494c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for hlsclient 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page