pypresence
Discord RPC client written in Python
Decision gist · record as of 2026-08-14
Yes. Pypresence is a stable, actively maintained library with no dependencies, a permissive MIT license, and no known vulnerabilities. Install it if you need to update Discord Rich Presence from a Python application. The only prerequisite is Python 3.9+ and a Discord application token for anything beyond basic rich presence updates.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a Discord application ID and Python 3.9 or above; Discord application must be authorized for RPC use.
- Low install friction with no runtime dependencies.
- The package is actively maintained with a recent release 37 days ago, and the repository shows consistent activity.
License · maintenance · safety
MIT (permissive) — Licensed under MIT, a permissive license that allows free use, modification, and distribution with minimal restrictions.
last release 2026-07-08 (37 days) · last repo commit 2026-07-08 · 739 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 176,164 downloads/mo, #10,251 on PyPI
Alternatives
Verify before relying
pip install pypresence
from pypresence import Presence
client_id = 'YOUR_CLIENT_ID'
Presence(client_id).connect()
Presence(client_id).update(state='Playing', details='Example')- Whether the package requires Discord application credentials or OAuth setup beyond what the description mentions
- Whether asyncio support is built-in or optional, given the AsyncIO framework classifier
What it is and what it does
Pypresence is a Discord Rich Presence client library that lets you programmatically update what appears in your Discord profile status. It wraps Discord's RPC API, allowing Python applications to display custom activity information—such as game state, elapsed time, or application details—directly in Discord's UI.
The package is designed for developers who want to integrate Discord presence updates into their applications or games. It requires Python 3.9 or above and has no external runtime dependencies, making it straightforward to add to existing projects. The library supports modern Python versions through 3.13 and is typed for better IDE support.
Use it for
- Display game state and progress in Discord while playing, showing elapsed time and current activity
- Update your Discord status from a custom application to show what you're currently working on
- Integrate Discord presence into a bot or automation script to reflect its operational state
- Show music playback information in Discord from a Python music player or streaming application
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Pypresence is a stable, actively maintained library with no dependencies, a permissive MIT license, and no known vulnerabilities. Install it if you need to update Discord Rich Presence from a Python application. The only prerequisite is Python 3.9+ and a Discord application token for anything beyond basic rich presence updates.
Install
pypresence on PyPI
Before you install
Low install friction with no runtime dependencies. The package is actively maintained with a recent release 37 days ago, and the repository shows consistent activity. Supports current Python versions from 3.9 onward.
Requires a Discord application ID and Python 3.9 or above; Discord application must be authorized for RPC use.
License in practice
Licensed under MIT, a permissive license that allows free use, modification, and distribution with minimal restrictions.
Quickstart
pip install pypresence
from pypresence import Presence
client_id = 'YOUR_CLIENT_ID'
Presence(client_id).connect()
Presence(client_id).update(state='Playing', details='Example')
Verify before relying
- Whether the package requires Discord application credentials or OAuth setup beyond what the description mentions
- Whether asyncio support is built-in or optional, given the AsyncIO framework classifier
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 37 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 176,164 / month, #10,251 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableFramework :: AsyncIOIntended Audience :: DevelopersOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonTopic :: Communications :: ChatTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python ModulesTyping :: Typed |
Evidence: pypresence-4.6.2-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 › “discord rich presence python”
- pypresencePypresence is a Python client for Discord Rich Presence, allowing you…
- discord-webhookSend messages to Discord channels via webhooks, with support for…
- dhooks-liteSends messages and embeds to Discord channels via webhooks, with…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also discord · discord.py · aa-inactivity · dhooks-lite · realtime · grpcio-channelz · py-cord · pusher · hikari · discord.py-self