A lightweight Python library for sending Discord webhook messages and embeds.
Project description
Dihook
A lightweight Python library for sending Discord webhook messages.
dihook makes it simple to send Discord webhook messages from any Python script — without unnecessary boilerplate.
Features
- Send Discord webhook messages
- Simple Python interface
- Lightweight and easy to use
- Minimal dependencies
- Built for scripts, bots, and automation
Installation
From PyPI
pip install dihook
From GitHub (latest)
pip install git+https://github.com/dj-kaif/dihook.git
Quick Start
from dihook import Dihook
WEBHOOK = Dihook("YOUR_WEBHOOK_URL")
WEBHOOK.send("Hello from Dihook 🚀")
print(WEBHOOK.send("This will print a success message in your terminal."))
Roadmap
v1.2.0 (planned)
- Discord embed support
- More usage examples
- Better documentation
- Improved error handling
- Better developer experience
Contributing
Contributions are welcome!
How to contribute
- Fork the repository
- Clone your fork
git clone https://github.com/YOUR_USERNAME/dihook.git
- Create a new branch
git checkout -b feature-name
- Make your changes
- Test your changes
- Open a pull request
Guidelines
- Keep code clean and readable
- Follow existing project style
- Do not add unnecessary dependencies
- Do not break existing features
- Keep pull requests focused on one change
License
Distributed under the MIT License. See LICENSE for details.
Contact & Support
- 🐛 Bugs & feature requests: Open an issue
- 💬 Discord: dj.kaif
- 📦 PyPI: pypi.org/project/dihook
If Dihook saves you time, consider ⭐ starring the repo — it really helps!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dihook-1.0.0.tar.gz.
File metadata
- Download URL: dihook-1.0.0.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c1bfca5ecdb521cc1b08e097df59812cb03f06be692fd669b9e3751b73eced86
|
|
| MD5 |
a0ebf39c160019642ed2ed62d8965685
|
|
| BLAKE2b-256 |
30deb4e7ab5889a96b0696ba513c13b0f53fcd4c5e32655483e4e00467ed89c0
|
File details
Details for the file dihook-1.0.0-py3-none-any.whl.
File metadata
- Download URL: dihook-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bb2eefc7a8623578219cc5326f88d1148f4fd0eecee188019f1ca44ada95ff35
|
|
| MD5 |
b78982e69e1adc9290b950799e4e8f83
|
|
| BLAKE2b-256 |
699c77f3b8ff064d8cae5765fa8a7f9a8c1db91daea97b155721aaf465c6c12c
|