Skip to main content

A library for handling M3U playlists for IPTV (AKA m3u_plus)

Project description

IPyTV

IPyTV is a Python 3 library for parsing and handling IPTV playlists in the M3U Plus format. It also provides two command-line utilities (iptv2json and json2iptv) for handling IPTV playlists from the command line (for example using the jq tool).

Features

  • Parse M3U Plus playlists and access channel attributes.
  • Search channels using regular expressions.
  • Fix common errors in IPTV playlists with the doctor module.
  • Serialize playlists to M3U Plus, M3U8, or JSON formats.
  • Utilities for working with series and episodes in playlists.

Installation

Install the library and the command-line tools using pip:

python -m venv .venv
source .venv/bin/activate  # On Windows use: .venv\Scripts\activate
pip install m3u-ipytv

Repository

You can find the source code and the documentation in the GitHub repository

The documentation for the iptv2json and json2iptv tools can be found here

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

m3u_ipytv-1.0.0.tar.gz (31.3 kB view details)

Uploaded Source

File details

Details for the file m3u_ipytv-1.0.0.tar.gz.

File metadata

  • Download URL: m3u_ipytv-1.0.0.tar.gz
  • Upload date:
  • Size: 31.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.18

File hashes

Hashes for m3u_ipytv-1.0.0.tar.gz
Algorithm Hash digest
SHA256 ab0258241c60ff19ea2b327ff6e5cca1425fb6e673320a655ba7ef6cb0383d49
MD5 52f53c5a05a0de9d91ce5440b44ae8bc
BLAKE2b-256 73884ded1d724967ac2765308bb9523b7bb1e082acb2662df0d86d02136fb19f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page