You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

toastify

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

toastify

Simple and Lighweight Windows 10 Toast Notifications.

1.1.5
pipPyPI
Maintainers
1

This module is very lightweight and only takes about 50kb after installation.

#+++++++++------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-------++++++++++#

  • NOTIFICATION TIME IS SYSTEM DEAFULT (5sec)

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

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

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

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

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts