Skip to content

Simple and Lightweight Python Toast Notifications.

License

Notifications You must be signed in to change notification settings

frak0d/toastify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This module is very lightweight and only takes about 50kb after installation. It's a python frontend for DesktopToast

GitHub Repo : https://github.com/Tanishq-Banyal/toastify

Install Using : pip install toastify

#+++++++++------EXAMPLE------++++++++++#

from toastify import notify

# CALLING WITH ALL PARAMETERS :-
notify (
	BodyText='BodyText is Required !',
	AppName='AppName (Optional)',
	AppPath='AppPath (Optional)',
	TitleText='TitleText (Optional)',
	ImagePath='optional_image_path(jpg/png/bmp/ico)'
	)

OR IF YOU ONLY WANT BODY TEXT THEN YOU CAN JUST DO :-

notify('My Body Text')

#+++++++++-------NOTES-------++++++++++#

  1. NOTIFICATION TIME IS SYSTEM DEAFULT (5sec)

  2. The function is blocking by default but you can use threading/asyncio

  3. StartMenu Shortcut will be created for your app. (this is a requirement set by microsoft for Toast Notifications)

  4. BodyText argument is required !! , rest of the arguments are optional.

  5. App Icon Is Set Automatically, it is same as icon of the application that the AppName shortucut in start menu is pointing.

About

Simple and Lightweight Python Toast Notifications.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published