Zonotify
Zonotify is a versatile Python package designed to provide convenient notification services for developers and users working on extensive tasks. Born out of the need for staying updated on the status of long-running tasks without the hassle of constantly checking the code, Zonotify simplifies the process by sending notifications directly through Discord or email. Whether you're running a complex data processing task, a lengthy machine learning model training, or any other time-consuming operation, Zonotify keeps you informed about the task's completion or progress updates, seamlessly integrating with just a few lines of code.
Installation
Install Zonotify easily using pip:
pip install zonotify
Usage
To use Zonotify, first import the package and set up the notifier for either Discord or email notifications or both.
from zonotify import Zonotify
# Initialize with your Discord webhook URL and gmail credentials
notifier = Zonotify(discord_webhook_url='your_discord_webhook_url', gmail_credentials={
'email': 'your_email@example.com',
'smtp_server': 'smtp.gmail.com',
'smtp_port': 587,
'username': 'your_username',
'password': 'your_password'
})
Send a notification to Discord
notifier.notify_discord('Task Completed', 'Your long-running task has finished.')
Send a notification via Email
notifier.notify_email('recipient@example.com', 'Task Status', 'Your task')
Contributing
We welcome contributions from the community! If you have suggestions, improvements, or want to report an issue, please visit our GitHub repository. Your input is valuable to us, and we look forward to seeing your ideas and contributions!
Conclusion
Zonotify aims to make the life of developers and users easier by automating the notification process for various tasks. It's a simple yet powerful tool that can be integrated into numerous workflows and systems. We hope Zonotify enhances your productivity and helps you stay updated on your tasks with minimal disruption. Happy coding!
Release files for zonotify 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| zonotify-1.0.5.tar.gz | 4.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| zonotify-1.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.6 kB
Release files / zonotify-1.0.5.tar.gz
| Download URL | zonotify-1.0.5.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2ccb2fe4135457ebcec58a1d3247af2c50d89383b7208890a748c2328b162fc6
|
|
BLAKE2b-256 checksum How to use checksums |
78bfd9e28d2c186ea411111f5853408c6e671d15ef654720801a3e82835d7b50
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.8
|
Release files / zonotify-1.0.5-py3-none-any.whl
| Download URL | zonotify-1.0.5-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d2e9457e7b1b9dafd2978bf05ea03ffb9298844d30a62dc2894fbc68a0032e7d
|
|
BLAKE2b-256 checksum How to use checksums |
c0fa4a3e358ce04476a13c8a3b44c28c29f71327213ff092e506f359b026ef89
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.8
|