Skip to main content

A lightweight Python library for sending Discord webhook messages and embeds.

Project description

Dihook

A lightweight Python library for sending Discord webhook messages.

Version PyPI Python License Stars

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

  1. Fork the repository
  2. Clone your fork
git clone https://github.com/YOUR_USERNAME/dihook.git
  1. Create a new branch
git checkout -b feature-name
  1. Make your changes
  2. Test your changes
  3. 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

If Dihook saves you time, consider ⭐ starring the repo — it really helps!

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

dihook-1.0.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

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

dihook-1.0.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

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

Hashes for dihook-1.0.0.tar.gz
Algorithm Hash digest
SHA256 c1bfca5ecdb521cc1b08e097df59812cb03f06be692fd669b9e3751b73eced86
MD5 a0ebf39c160019642ed2ed62d8965685
BLAKE2b-256 30deb4e7ab5889a96b0696ba513c13b0f53fcd4c5e32655483e4e00467ed89c0

See more details on using hashes here.

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

Hashes for dihook-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bb2eefc7a8623578219cc5326f88d1148f4fd0eecee188019f1ca44ada95ff35
MD5 b78982e69e1adc9290b950799e4e8f83
BLAKE2b-256 699c77f3b8ff064d8cae5765fa8a7f9a8c1db91daea97b155721aaf465c6c12c

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