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!
Metadata
Release files for dihook 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| dihook-1.0.0.tar.gz | 4.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dihook-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.3 kB
Release files / dihook-1.0.0.tar.gz
| Download URL | dihook-1.0.0.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c1bfca5ecdb521cc1b08e097df59812cb03f06be692fd669b9e3751b73eced86
|
|
BLAKE2b-256 checksum How to use checksums |
30deb4e7ab5889a96b0696ba513c13b0f53fcd4c5e32655483e4e00467ed89c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Release files / dihook-1.0.0-py3-none-any.whl
| Download URL | dihook-1.0.0-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bb2eefc7a8623578219cc5326f88d1148f4fd0eecee188019f1ca44ada95ff35
|
|
BLAKE2b-256 checksum How to use checksums |
699c77f3b8ff064d8cae5765fa8a7f9a8c1db91daea97b155721aaf465c6c12c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Security for dihook 1.0.0
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.