plexauth
Handles the authorization flow to obtain tokens from Plex.tv via external redirection.
Decision gist · record as of 2026-08-14
Yes, if you need Plex.tv authentication in an async context and are willing to accept dormant maintenance. The package is simple, has low install friction, and carries no known vulnerabilities. However, verify that Plex.tv's current API still matches the implementation before deploying to production, and be prepared to fork or patch if the authentication flow changes.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires aiohttp for async HTTP requests.
- Low install friction with a single runtime dependency (aiohttp).
- Maintenance is dormant—last release was 2020-11-11 and last commit 2023-12-30, so expect no active bug fixes or feature updates.
License · maintenance · safety
MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this package with minimal restrictions, though you must include the license notice.
last release 2020-11-11 (2102 days) · last repo commit 2023-12-30 · 6 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 111,375 downloads/mo, #12,420 on PyPI
Alternatives
Verify before relying
pip install plexauth
import asyncio
from plexauth import PlexAuth
PAYLOAD = {
'X-Plex-Product': 'MyApp',
'X-Plex-Version': '1.0',
'X-Plex-Device': 'PC',
'X-Plex-Platform': 'Linux',
'X-Plex-Device-Name': 'MyDevice',
'X-Plex-Device-Vendor': 'Vendor',
'X-Plex-Model': 'Model',
'X-Plex-Client-Platform': 'Web'
}
async def main():
async with PlexAuth(PAYLOAD) as plexauth:
await plexauth.initiate_auth()
print(plexauth.auth_url())
token = await plexauth.token()
print(token)
asyncio.run(main())- Whether the package works with Plex.tv's current authentication endpoints.
- Compatibility with Python versions beyond those listed in classifiers (3.5, 3.6, 3.7).
- Whether aiohttp's version constraints are compatible with modern releases.
What it is and what it does
PlexAuth is a small async library that manages the authorization handshake with Plex.tv. It initiates an authentication request, generates a URL for the user to complete login in a browser, then polls Plex.tv for the resulting access token. The library wraps this flow in an async context manager, making it suitable for integration into async applications that need to authenticate with Plex without blocking.
The package depends only on aiohttp and is designed to be lightweight. However, it has been dormant since its last release on 2020-11-11, with the most recent commit on 2023-12-30. While no vulnerabilities are known, the lack of active maintenance means it may not track changes to Plex.tv's authentication API or support newer Python versions.
Use it for
- Integrate Plex authentication into an async Python application that needs user tokens.
- Build a Plex client or media server integration that requires device authorization.
- Automate token acquisition for Plex API calls in a background service or bot.
- Handle multi-device authentication flows where users authorize via browser redirection.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need Plex.tv authentication in an async context and are willing to accept dormant maintenance.
The package is simple, has low install friction, and carries no known vulnerabilities. However, verify that Plex.tv's current API still matches the implementation before deploying to production, and be prepared to fork or patch if the authentication flow changes.
Install
plexauth on PyPI
Before you install
Low install friction with a single runtime dependency (aiohttp). Maintenance is dormant—last release was 2020-11-11 and last commit 2023-12-30, so expect no active bug fixes or feature updates.
Requires aiohttp for async HTTP requests.
License in practice
MIT license is permissive; you can use, modify, and distribute this package with minimal restrictions, though you must include the license notice.
Quickstart
pip install plexauth
import asyncio
from plexauth import PlexAuth
PAYLOAD = {
'X-Plex-Product': 'MyApp',
'X-Plex-Version': '1.0',
'X-Plex-Device': 'PC',
'X-Plex-Platform': 'Linux',
'X-Plex-Device-Name': 'MyDevice',
'X-Plex-Device-Vendor': 'Vendor',
'X-Plex-Model': 'Model',
'X-Plex-Client-Platform': 'Web'
}
async def main():
async with PlexAuth(PAYLOAD) as plexauth:
await plexauth.initiate_auth()
print(plexauth.auth_url())
token = await plexauth.token()
print(token)
asyncio.run(main())
Verify before relying
- Whether the package works with Plex.tv's current authentication endpoints.
- Compatibility with Python versions beyond those listed in classifiers (3.5, 3.6, 3.7).
- Whether aiohttp's version constraints are compatible with modern releases.
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packageaiohttp |
| Maintenance | Dormant 2,102 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 111,375 / month, #12,420 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7 |
Evidence: plexauth-0.0.6-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “plex authentication token”
- plexauthHandles authorization flow to obtain tokens from Plex.tv via external…
- plexwebsocketAsync library that connects to Plex media servers over websockets and…
- PlexAPIUnofficial Python bindings for the Plex API that let you…
Give your agent the search over MCP, or paste the wish link into any chat.
More Internet packages
Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.
Install it if you need programmatic access to AWS services.
Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.
Install it if you need to call AWS services from async Python code; it is the standard way to do so.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.
See also requests-oauth2client · PlexAPI · plexwebsocket · gpsoauth · requests-oauthlib · requests-auth · wandelbots_api_client · oauth2-client · directv · rokuecp