A simple and flexible m3u parser in python with no third-party requirements
Project description
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
-
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
-
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
-
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
-
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
- Eastern-Skill7173 - creator and maintainer
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file py_m3u-0.0.1.tar.gz
.
File metadata
- Download URL: py_m3u-0.0.1.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5707f44ea3637ce10475837c9c943a98fd0fa900d69cb6cf2d2d3f1de51743c0 |
|
MD5 | 610e6c6f7dbb008f915d32300189cfa2 |
|
BLAKE2b-256 | c226db0fe8cbefa9e7b2a1458a54a644c6a1b139f81f8fcff395423708e8b95f |
File details
Details for the file py_m3u-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: py_m3u-0.0.1-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0732e0c3e38a698450326c427632a26e7817ddffc19ad2d8c385b84c1375d464 |
|
MD5 | cc5adbefdc97a8be7f03ade66e6cadb3 |
|
BLAKE2b-256 | 04d82b930a8b8d2e080846bfc78ad1bd36557054dfc1c67dece202d745391085 |