Skip to main content

py_m3u

A simple and flexible m3u parser in python with no third-party requirements

Getting Started

These instructions will get you a copy of the project up and running on your local machine for personal use, development or testing purposes. There are two ways which you can get the project working:

Pre-Packaged Wheels

This project is available on pypi.org, therefore, you can easily install this project through pip:

pip install py_m3u

From Source

As a result of the pypi build only contains the stable builds it could behind the development version, so you may want to install the package from the development package, or maybe you would like to contribute to the project

Installing the pre-requisites

  1. You MUST have a python >= 3.8 interpreter installed on your machine. In order to check your python version, you can do:

    python3 --version
    

    If you are on Windows, you can visit the download section of the official python website in order to download a matching version.

    If you are on Linux OR Mac, you already have python installed, but it is highly possible that is does not match the minimum required version. You can get a matching version using the package manager on your machine, like so:

    On Ubuntu:

    sudo apt install python3
    

    On Fedora:

    sudo dnf install python3
    

    On Mac (Using homebrew):

    brew install python
    
  2. You MUST also have pip installed. In order to check if you have pip installed, you can do:

    pip --version
    

    If you are on Windows, you probably have pip installed alongside python. If not, follow the official pip installation guide.

    If you are on Linux OR Mac, using your package manager you can install pip, like so:

    On Ubuntu:

    sudo apt install python3-pip
    

    On Fedora:

    sudo dnf install python3-pip
    

    On Mac:

    python3 -m pip install --upgrade pip
    
  3. You MUST also have git installed on your machine to be able to copy the repo, otherwise you are going to have to manually copy and paste the files' content. In order to check if you have git installed, you can do:

    git --version
    

    If you are on Windows, you can visit the download section of the official git website and follow their guides to have it setup on your machine.

    If you are on Linux OR Mac, you can easily install git through your package manager, like so:

    On Ubuntu:

    sudo apt install git
    

    On Fedora:

    sudo dnf install git
    

    On Mac (Using homebrew):

    brew install git
    

Setting up the module

  1. Clone the repository (copy the source code):

    git clone https://github.com/Eastern-Skill7173/py_m3u.git
    

    TIP: you can add a --depth 1 to the end of the command to only copy the latest version of each file if you are planing on just using the project, like so:

    git clone https://github.com/Eastern-Skill7173/py_m3u.git --depth 1
    

After cloning the repo, switch to its directory, and run the following command through your terminal:

```
pip install .
```

Built With

  • Python - The core programming language

Contributing

Please read CONTRIBUTING.md & CODE_OF_CONDUCT.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • Special thanks to the python team
  • Anyone who has shared or committed to the project
  • Also, Billie Thompson for this README template

Metadata

Release files for py-m3u 0.0.1

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

Source distribution (sdist)

Source distribution for py-m3u 0.0.1
File Size Uploaded
py_m3u-0.0.1.tar.gz 9.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for py-m3u 0.0.1
File Interpreter ABI Platform
py_m3u-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 17.6 kB

Release files / py_m3u-0.0.1.tar.gz

Download URL py_m3u-0.0.1.tar.gz
Size 9.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5707f44ea3637ce10475837c9c943a98fd0fa900d69cb6cf2d2d3f1de51743c0
BLAKE2b-256 checksum
How to use checksums
c226db0fe8cbefa9e7b2a1458a54a644c6a1b139f81f8fcff395423708e8b95f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.10

Release files / py_m3u-0.0.1-py3-none-any.whl

Download URL py_m3u-0.0.1-py3-none-any.whl
Size 8.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0732e0c3e38a698450326c427632a26e7817ddffc19ad2d8c385b84c1375d464
BLAKE2b-256 checksum
How to use checksums
04d82b930a8b8d2e080846bfc78ad1bd36557054dfc1c67dece202d745391085
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

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