Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Discord.py Command Line Interface

A library built by Amelia Cabotte and RaviAnand Mohabir.

DPyCLI is a set of command line tools inspired by packages such as npx and vue cli to aid in creating Discord.py bots. The interface enables fast creation of Python projects that follow all the file structure conventions and are typed properly. Goodies such as configuration files, which can be either INI, YAML, Python or .env files are supported as well, and a custom .gitignore keeps your client information safe.

Usage

DPyCLI is launched with the dpy command with numerous options and flags.

Creating a Bot

The dpy create command allows you to use numerous flags and options to create a Discord.py bot which

  • name: The project's name, can be snake, kebab or camel case.
  • --cog: Supply cogs that should be generated with the bot.
  • --basic: Flag to create a simple instance of a commands.Bot, instead of the full class implementation.

Running dpy create my-bot --cog=TestCog and leaving all the prompts at their default will create the following base folder structure:

my-bot /
  .gitignore
  my_bot.py
  requirements.txt
  discord.yaml
  cogs /
    __init__.py
    test_cog.py

By default the script will also generate a boilerplate help command by Dan6erbond#2259 with support for pagination and customized outputs. The bot's command prefix, description and support for Banhammer.py can all be customized during the command-run, as you will be prompted to supply additional information.

Roadmap

  • bot add cog
  • bot add cmd
  • bot db create
  • bot db model

Metadata

Release files for DPyCLI 0.1.0b0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for DPyCLI 0.1.0b0
File Size Uploaded Provenance Actions
DPyCLI-0.1.0b0.tar.gz 2.7 kB Without provenance Details for DPyCLI-0.1.0b0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for DPyCLI 0.1.0b0
File Interpreter ABI Platform Actions
DPyCLI-0.1.0b0-py3-none-any.whl Python 3 none any Details for DPyCLI-0.1.0b0-py3-none-any.whl

Total release size: 17.5 kB

Release files / DPyCLI-0.1.0b0.tar.gz

Download URL DPyCLI-0.1.0b0.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
1a6c12983e6b75f22ced7706a3ef122f76a160cb6a896f3515113d33088fab7d
BLAKE2b-256 checksum
How to use checksums
f4e38cf5c69e98650eee894a1769360144ca76ba11109d560f6ab92d1773ba70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

Release files / DPyCLI-0.1.0b0-py3-none-any.whl

Download URL DPyCLI-0.1.0b0-py3-none-any.whl
Size 14.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
db0b3c582472a78fecdb5b1bb30f78a1bdd26427189598692a91df7c603ade06
BLAKE2b-256 checksum
How to use checksums
ff35b720a2bec703dbe72ea76bbbfaf9a44075ff1dce0d92f3ab8201766682e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

Security for DPyCLI 0.1.0b0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page