Skip to content

LizardByte/python-plexapi-backport

Repository files navigation

Python-PlexAPI-Backport

GitHub Workflow Status (CI) Read the Docs Codecov PyPI GitHub last commit

Overview

This is a backport of Python-PlexAPI to Python 2.7. The main purpose of this backport is to allow the library to be used within Plex Media Server plugins, which are currently limited to Python 2.7.

Documentation is available on Read the Docs. The documentation should be almost identical to the original library, with the exception that they are built with Python 2.7.

This project is not affiliated with the original project, or Plex Inc.

Warning

Python 2.7 reached end-of-life on January 1, 2020. There are many known security vulnerabilities within Python 2.7 including some of the requirements of this backport. By using this backport, you may be exposing yourself to security vulnerabilities. Use at your own risk.

Validation

This backport is tested against the same tests as the original library.

Python Host OS
2.7 Ubuntu 22.04
3.7 Ubuntu 22.04
3.8 Ubuntu 22.04
3.9 Ubuntu 22.04
3.10 Ubuntu 22.04
3.11 Ubuntu 22.04

This backport may work on some of the versions between Python 2.7 and 3.7, but they have not been tested and there is no guarantee that it will work.

Installation

This backport is available on PyPI as PlexAPI-backport. It can be installed in several ways.

PyPI

python -m pip install plexapi-backport

or

python -m pip install plexapi-backport[alert]

git

python -m pip install git+https://github.com/lizardbyte/python-plexapi-backport.git@dist#egg=plexapi-backport

or

python -m pip install --install-option="--extras-require=alert" git+https://github.com/lizardbyte/python-plexapi-backport.git@dist#egg=plexapi-backport

github archive

python -m pip install https://github.com/lizardbyte/python-plexapi-backport/archive/dist.zip#egg=plexapi-backport

or

python -m pip install --install-option="--extras-require=alert" https://github.com/lizardbyte/python-plexapi-backport/archive/dist.zip#egg=plexapi-backport