--- id: dhooks-lite version: "2.0.1" license: unclear license_treatment: unclear maintenance: active --- # dhooks-lite — A wrapper for sending messages to Discord webhooks. License: unclear · Maintenance: active · Downloads: 256.8K/mo ## What it is and what it does dhooks-lite is a Python wrapper for Discord webhooks that handles the mechanics of posting messages and rich embeds to Discord channels. It aims to stay close to Discord's official webhook API while adding conveniences like automatic request retries, sensible timeouts, and logging. The library is synchronous only and depends on requests for HTTP communication. You use it by creating a Webhook object with your Discord webhook URL, then calling execute() to send messages. It supports custom usernames and avatars, embeds with fields and images, and can retrieve HTTP status codes and headers for rate-limit handling. The package is fully tested and documented, with support for Python 3.8 through 3.14. Use it for: - Send alerts or notifications from a Python application to a Discord channel without managing raw HTTP requests. - Post formatted reports or logs with embeds (title, description, fields, images, footer) to Discord for team visibility. - Implement a Discord bot or integration that posts messages on events or schedules without async complexity. - Retrieve HTTP response details (status, headers) from Discord to implement custom rate-limit handling. - Automate status updates or build notifications to a Discord channel from CI/CD pipelines or monitoring systems. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Sends messages and embeds to Discord channels via webhooks, with automatic retries, timeouts, and support for custom avatars and rich formatting. Yes, if you need a straightforward, low-friction way to post messages to Discord webhooks. The package is actively maintained, has no known vulnerabilities, and works with current Python versions. The main caveat is that the license is unclear—verify it matches your project's requirements before committing to it. ## Install pip install dhooks-lite uv add dhooks-lite poetry add dhooks-lite ## Installing dhooks-lite Before you install: Low friction: pure Python wheel with a single runtime dependency (requests). Active maintenance with a release in the last 20 days and support for modern Python versions (3.8–3.14). License in practice: License status is unclear—no SPDX identifier or raw license text is recorded. Verify the actual license before use in proprietary or copyleft-sensitive projects. Quickstart: pip install dhooks-lite from dhooks_lite import Webhook hook = Webhook('https://discord.com/api/webhooks/YOUR_WEBHOOK_URL') hook.execute('Hello, World!') Verify before relying: - Whether the unclear license is MIT, Apache, GPL, or another permissive/restrictive license—check the repository directly. ## Package facts - License: not declared (unclear) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 256.8K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags discord webhook message sender, post to discord channel, discord embed library, discord webhook python, discord message automation, send discord notifications, discord api wrapper, discord-integration, webhooks, notifications [View on SkillFed](https://skillfed.io/packages/dhooks-lite) · [View on PyPI](https://pypi.org/project/dhooks-lite/)