Skip to main content

HazelAura CLI for Discord bot scaffolding

Project description

HazelAura

HazelAura is a powerful CLI framework designed for scaffolding clean, scalable, and lightning-fast Discord bots using discord.py. Built by Crazy Pokeking, it provides an ultra-modern developer experience out of the box.

🚀 Features

  • Instant Scaffolding: Create a fully structured Discord bot project with cogs, core utilities, and database placeholders in seconds.
  • Hybrid Commands: Bots generated by HazelAura use Hybrid Commands out of the box, allowing users to execute commands via both traditional prefixes (!) and modern slash commands (/).
  • Dev Mode Hot-Reloading: Run your bot with aura run dev and it will automatically reboot the moment you save a file, thanks to built-in watchfiles integration.
  • Lightning-Fast Installs: Uses uv under the hood to install dependencies 10x-100x faster than standard pip.
  • Auto-Discovery Dependency Installation: Run aura install and Aura uses AST scanning to automatically detect external imports in your code, install them, and append them to requirements.txt. It even interactively learns PyPI package names if they differ from import names (e.g. mapping pyray to raylib).
  • Built-in Security Audits: Run aura scan to automatically detect and optionally fix vulnerabilities in your bot's dependencies using pip-audit.
  • Low-Latency Loop: Automatically detects your OS and applies uvloop in production (on Linux/macOS) for a 2-4x speedup in event processing.

📦 Installation

pip install hazelaura

🛠️ Usage & Commands

# Create a new bot project
aura create --project my_bot

# Navigate into your new bot project
cd my_bot

# Create a new Cog (must be run inside the /cogs folder)
cd cogs
aura create --cog economy
cd ..

# Automatically scan all .py files, resolve missing dependencies, and install them
aura install

# Install a specific module and save it to requirements.txt
aura install requests

# Run the bot in Dev Mode (with Hot-Reloading)
aura run dev

# Scan your dependencies for known security vulnerabilities
aura scan

# Automatically attempt to fix security vulnerabilities
aura scan --fix

🌐 Author

Created with ❤️ by Crazy Pokeking.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hazelaura-2.0.1.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hazelaura-2.0.1-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file hazelaura-2.0.1.tar.gz.

File metadata

  • Download URL: hazelaura-2.0.1.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.6

File hashes

Hashes for hazelaura-2.0.1.tar.gz
Algorithm Hash digest
SHA256 98e34aaa2504db669ccd43c0837de90b72a20f55e666c2ba757922da5ecbb9f2
MD5 2ebb97125fc669bed42c300d4798ff29
BLAKE2b-256 3a3d545ef615084e8d01eab8c543e468ea21f130a9e96d705c8d2f99fc01372d

See more details on using hashes here.

File details

Details for the file hazelaura-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: hazelaura-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.6

File hashes

Hashes for hazelaura-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f551edee98ac2540540313e8e2cc95cc2a3093fea5fc189d532ed7f453e9be65
MD5 aac5b9c5d64d2f99bfffbec3bdd87830
BLAKE2b-256 ee4a4a28bee3d3815768543b4ef977e8366a731e8e80d4cf0bedbfd49c43be5b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page