Metadata-Version: 2.4
Name: m3u_ipytv
Version: 1.0.0
Summary: A library for handling M3U playlists for IPTV (AKA m3u_plus)
Home-page: https://github.com/Beer4Ever83/ipytv
Author: Francesco Rainone
Author-email: beer4evah@gmail.com
License: MIT
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
Keywords: m3u,m3u_plus,iptv,playlist
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Multimedia :: Video
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.6, <4
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: requests>=2.31.0
Requires-Dist: click>=8.1.7
Requires-Dist: jsonschema>=4.23.0
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: license-file
Dynamic: project-url
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# 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)
