Giter Site home page Giter Site logo

zonotify's Introduction

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': '[email protected]', 
    '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('[email protected]', '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!

zonotify's People

Contributors

sidmogoesbrrr avatar

Watchers

 avatar

Forkers

mercurius13

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.