$npx skillfedfor your agent

py-cord

A Python wrapper for the Discord API

Worth itPyPI LibrariesReleased Jul 2026540.6K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — py_cord-2.8.1-py3-none-any.whl
v2.8.1 · released 2026-07-25 · Python <3.15,>=3.10 · 2 runtime deps: aiohttp, typing_extensions

Yes. py-cord is actively maintained, has low install friction, carries no known vulnerabilities, and uses a permissive MIT license. It is suitable for anyone building Discord bots in Python who wants modern async syntax and a well-supported library.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or higher.
  • Voice support requires optional system packages on Linux and additional Python packages.
  • Low friction: pure Python wheel with only two runtime dependencies (aiohttp and typing_extensions).

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you can use py-cord in commercial and private projects with minimal restrictions, provided you include the license notice.

last release 2026-07-25 (20 days) · last repo commit 2026-08-14 · 2,955 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 540,570 downloads/mo, #6,101 on PyPI

Verify before relying

pip install py-cord

import py_cord

bot = py_cord.Bot()

@bot.slash_command()
async def hello(ctx, name: str = None):
    name = name or ctx.author.name
    await ctx.respond(f"Hello {name}!")

bot.run("your_token_here")
  • Whether the package maintains API compatibility with Discord API changes over time.
  • Performance characteristics under high-concurrency scenarios.
  • Specific system package names required for voice support on different Linux distributions.
Same gist for agents: .md · .json

What it is and what it does

py-cord is a Python library that wraps Discord's REST and WebSocket APIs, allowing you to write Discord bots using async/await syntax. It provides both modern slash commands and traditional prefix-based commands, with built-in rate limit handling and memory optimization. The library depends on aiohttp for HTTP requests and typing_extensions for type hints, and is designed to work with Python 3.10 through 3.14.

You use it by importing the module, instantiating a Bot object, decorating handler functions with command decorators, and calling bot.run() with your bot token. It handles the WebSocket connection, message routing, and command parsing automatically. Optional extras like voice support and performance speedups are available but require additional packages.

Use it for

  • Build a Discord bot with slash commands that responds to user interactions in real time.
  • Create a moderation bot that monitors messages and enforces server rules using prefix commands.
  • Develop a music bot that connects to voice channels and streams audio with optional voice support.
  • Automate server tasks like role assignment, welcome messages, or scheduled announcements.
  • Integrate external APIs or databases into Discord workflows via bot commands.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

py-cord is actively maintained, has low install friction, carries no known vulnerabilities, and uses a permissive MIT license. It is suitable for anyone building Discord bots in Python who wants modern async syntax and a well-supported library.

Install

py-cord on PyPI

Before you install

Low friction: pure Python wheel with only two runtime dependencies (aiohttp and typing_extensions). Active maintenance with a recent release 20 days old and steady commit activity. Supports Python 3.10–3.14.

Requires Python 3.10 or higher. Voice support requires optional system packages on Linux and additional Python packages.

License in practice

MIT license is permissive; you can use py-cord in commercial and private projects with minimal restrictions, provided you include the license notice.

Quickstart

pip install py-cord

import py_cord

bot = py_cord.Bot()

@bot.slash_command()
async def hello(ctx, name: str = None):
    name = name or ctx.author.name
    await ctx.respond(f"Hello {name}!")

bot.run("your_token_here")

Verify before relying

  • Whether the package maintains API compatibility with Discord API changes over time.
  • Performance characteristics under high-concurrency scenarios.
  • Specific system package names required for voice support on different Linux distributions.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release <3.15,>=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
aiohttptyping_extensions
MaintenanceActively maintained 20 days since the last release
Last repo commit
First released
Downloads540,570 / month, #6,101 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: InternetTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python ModulesTopic :: UtilitiesTyping :: Typed

Evidence: py_cord-2.8.1-py3-none-any.whl

Tags

Capabilities
discord bot library pythondiscord api wrapper asyncpython discord slash commandsdiscord bot frameworkasync discord clientdiscord bot developmentpython discord library
Topics
discord-botasync-apiapi-wrapper

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 bot library python”

  • py-cordpy-cord is an async Python wrapper for the Discord API that lets you…
  • hikariHikari is an async Discord bot framework for Python that provides…
  • nextcordNextcord is an async-ready Python wrapper for the Discord API that…

Give your agent the search over MCP, or paste the wish link into any chat.

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

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.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

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.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

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.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

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.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

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.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also nextcord · discord.py · discord · discord.py-self · qq-botpy · hikari · python-telegram-bot · pyTelegramBotAPI · aiodns · allianceauth-discordbot