Socket
Socket
Sign inDemoInstall

toastify

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    toastify

Simple and Lighweight Windows 10 Toast Notifications.


Maintainers
1

Readme

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

  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.

FAQs


Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc