Metadata-Version: 2.5
Name: m3u-ipytv
Version: 1.0.2
Summary: A library for handling M3U playlists for IPTV (AKA m3u_plus)
Project-URL: Bug Reports, https://github.com/Beer4Ever83/ipytv/issues
Project-URL: Funding, https://www.buymeacoffee.com/beer4ever83
Project-URL: Source, https://github.com/Beer4Ever83/ipytv
Author-email: Francesco Rainone <beer4evah@gmail.com>
License: MIT License
        
        Copyright (c) 2021 Francesco Rainone
        
        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.
License-File: LICENSE.txt
Keywords: iptv,m3u,m3u_plus,playlist
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Multimedia :: Video
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.11
Requires-Dist: click>=8.1.7
Requires-Dist: jsonschema>=4.23.0
Requires-Dist: requests>=2.31.0
Description-Content-Type: text/markdown

# 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`:

```shell
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](https://github.com/Beer4Ever83/ipytv)

The documentation for the `iptv2json` and `json2iptv` tools can be found
[here](https://github.com/Beer4Ever83/ipytv/tree/main/ipytv/cli)