Saravanan666/pypi-org huggingface dataset:
Package: notification-mount
notification-mount==================![GPL v3.0](https://img.shields.io/github/license/patrick96/notification-mount.svg)This is a script that displays a notification for a drive with a button to mount it.It might be wise to call the script from a listeners that fires every time a new block device is detected (see [examples](#examples)).Table of Contents=================* [notification-mount](#notification-mount)* [Table of Contents](#table-of-contents)* [Installation](#installation)* [Requirements](#requirements)* [Non-Arch Systems](#non-arch-systems)* [Arch Linux](#arch-linux)* [Examples](#examples)* [Devmon Script](#devmon-script)* [Systemd Unit](#systemd-unit)Installation============## Requirements* Linux* python3* [python-gobject](https://wiki.gnome.org/Projects/PyGObject)* [python-notify2](https://pypi.python.org/pypi/notify2)* [udevil][udevil]## Non-Arch SystemsIf you are not using **Arch**, then you will need to copy or symlink the `notification-mount` file to somewhere that is in your `PATH` (see below in the systemd example for more info on wĥat you need to pay attention to when placing it somewhere in the `PATH`).For how to install and start the system service see the [example](#systemd-unit) below.## Arch LinuxIf you are using **Arch Linux** either install [notification-mount][notification-mount] or [notification-mount-git][notification-mount-git] from the AUR.You should now also have a user systemd service which you can enable and start like this:```bashsystemctl --user enable notification-mount.servicesystemctl --user start notification-mount.service```This service is the same as the one in the example below.Examples========## Devmon ScriptIf you have [udevil][udevil] installed, you can run the following script and it will show a notification whenever a new device is detected:```bashdevmon --no-mount --no-unmount --exec-on-drive "./notification-mount -d %f" &```You could at this to your `.xinitrc` or any other script that runs whenever your system starts up.You may need to change the path to the script depending on where you run this piece of code from.## Systemd UnitSystemd service using the previous example and [udevil][udevil]:```ininotification-mount.service--------------------------[Unit]Description=Notification when new block device is detected with button to mount[Service]Type=simpleExecStart=/usr/bin/devmon --no-mount --no-unmount --exec-on-drive "notification-mount -d %%f"[Install]WantedBy=default.target```Fot this you will need to have the `notification-mount` in a folder that is part of the `PATH`**Note:** This should be the default `PATH`. Alternatively you can set your modified `PATH` on the systemd environment like described [here](https://wiki.archlinux.org/index.php/Systemd/User#PATH).After that just enable and start the service:```bashsystemctl --user enable notification-mount.servicesystemctl --user start notification-mount.service```[udevil]: https://ignorantguru.github.io/udevil/[notification-mount]: https://aur.archlinux.org/packages/notification-mount[notification-mount-git]: https://aur.archlinux.org/packages/notification-mount-git
Package: notifications-android-tv
Android TV / Fire TV NotificationsPython package that interfaces withNotifications for Android TVandNotifications for Fire TVto send notifications to your TV.UsageInstall the application on your TVGet the IP of the TV unitfromnotifications_android_tvimportNotificationsnotify=Notifications("192.168.1.10")# validate connectiontry:awaitnotify.async_connect()expectConnectError:returnFalseawaitnotify.async_send("message text",title="Title text",)Optional parameterstitle: Notification titleduration: Display the notification for the specified period. Default is 5 secondsfontsize: Text font size. UseFontSizesclass to set the fontsize. Default isFontSizes.MEDIUMposition: Notification position. UsePositionsclass to set position. Default isPositions.BOTTOM_RIGHT.bkgcolor: Notification background color. UseBkgColorsclass to set color. Default isBkgColors.GREY.transparency: Background transparency of the notification. UseTransparenciesclass. Default isTransparencies._0_PERCENT.interrupt: Setting it toTruemakes the notification interactive and can be dismissed or selected to display more details. Default isFalseicon: Can bestrrepresnting the file path or anImageUrlSourcethat includes the url and authentication params to fetch the image from a url.image_file: Can bestrrepresnting the file path or anImageUrlSourcethat includes the url and authentication params to fetch the image from a url.Refer to theexample filefor setting these parameters directly or from a data dictionary (as documented inhttps://www.home-assistant.io/integrations/nfandroidtv)
Package: notifications-api-common
1notifications-api-commonVersion:0.2.2Source:https://github.com/maykinmedia/notifications-api-commonKeywords:notifications, REST, API, Common Ground, ZGWPythonVersion:3.9Re-usable integration layer for the Common Ground Notifications API specification.Contents1notifications-api-common2Features3Installation3.1Requirements3.2Install4Usage2FeaturesDefine your own notifications channelsEasily emit notifications from your API endpoints (using DRF)Manage subscriptions to receive notifications3Installation3.1RequirementsPython 3.7 or abovesetuptools 30.3.0 or aboveDjango 3.2 or newer3.2Installpipinstallnotifications-api-common4UsageSee thedocumentation.
Package: notifications-tj
notificationsthis module houses shared code used to send notifications for students teaching studentsfirst time stuff:
pip install wheel
pip install twineuse python3 setup.py sdist bdist_wheel to make new version
then remove old whl and tar files
then usepython3 -m twine upload --repository testpypi dist/*to reuploadthen, in the project the library is to be used in, do
pip uninstall 
pip install --index-urlhttps://test.pypi.org/simple/--extra-index-urlhttps://pypi.org/simpleto get the latestonce the dependency is solidified, you don't have to use test.pypi, so instead, the above becomes:use python3 setup.py sdist bdist_wheel to make new version
then remove old whl and tar files
then usepython3 -m twine upload dist/*to reuploadthen, in the project the library is to be used in, do
pip uninstall 
pip install 
to get the latestDon't forget to save the dependency snapshot in this and the other package!
pip freeze > requirements.txt
Package: notifier-altear
NotifierA simple project to send email or text notifications for when another program is done.UsageRunning the commandnotifyWill send an email to the configured addressesTo send another notification that a script or another program is complete, que thenotifycommandpython -c "import antigravity" && notifyText messages can be sent to phones whose service provider have an SMS Gateway (ie. For Bell, the SMS gateway is txt.bell.ca)notify -r 6133142234@txt.bell.caInstallationpip install notify-altearSetupnotify configureThe configurable options are:server: the smtp server. For gmail this would besmtp.gmail.comport: the smtp port. For gmail this would be465username: the username of the account used to send the emailspassword: the password of the account used to send the emailsrecipients: comma separated email addressessubject: the notification subject linecontent: the notification contentLicenseMIT. Copyright (c) 2019, Andre Telfer
Package: notifier-function
Notifier Function StatusThis library use a decorator to show a toast in your screen.RequerimentsPlease install this packages by yourself depending you OS:Windows:pip3 install win10toastUbuntu:apt-get install libnotify-bin(if don't work try searching how install notify-send for your distro of Linux)UsageAll that you need is use a decorator and specific some parameters, next explain it:Import:from notifier import notifyDecorator to use:@notify()Parameterstitle: the title of toast notification, by defult is: Function finished.msg: the message of toast notification, by default is:Your function has finished.duration: the time, in seconds, that the nottications will show, by default is 8.urgency: the urgency of the notifcation. By defualt isnormal. The options are:low.normal.critial.
Package: notifierlib
A library that implements a kind of fan-out pattern, sending messages to very different endpoints.
Extendable through the implementation of custom Channels.Documentation:http://notifierlib.readthedocs.io/en/latest/FeaturesIntroduced concepts are:ChannelsA channel is a communication endpoint capable of sending some type of message exposing a “notify” method.GroupsA group is a construct bringing channels together under a common entrypoint showing up as a method call of the main Notifier object.NotifierThe main object bringing together channels as broadcast by default and exposing methods to register and unregister channels and add and remove groups.The payload of the notification methods is by convention a dictionary with at least a “subject” and a “message” key with the appropriate values.
It is designed like this so it can be very easy to implement much more complex structures like templates without needed any domain knowledge on all the channels.Each channel can implement their own template as in instantiation argument in their class and handle the interpolation of variables in the notify method.An example could be :fromnotifierlib.channelsimportEmailfromnotifierlibimportNotifier,Groupimportlogginglogging.basicConfig(level=logging.DEBUG)template='<b>{{subject}}</b> <i>{{message}}</i> <a href="http://google.com">link</a>.'email=Email('email',sender='sender@gmail.com',recipient='recipient@gmail.com',smtp_address='smtp.domain.com',username='smtp_username',password='smtp_password',tls=True,ssl=False,port=587,template=template,content='html')notifier=Notifier()notifier.register(email)notifier.broadcast(subject='this is a test of a template',message="""this is a nice and long message""")The above would render the template with the provided values on the notify method of the email channel before the mail gets sent.For a more detailed explanation please see the USAGE.rst file.History0.0.1 (18-09-2017)First code creation1.0.0 (07-07-2021)Dropped support for python2.7, implemented a pipeline and bumped dependencies.
Package: notifier.py
NotifierA simple Python library that simplifies the sending of desktop notifications!What is that?Notifier (pynotifier) is a Python library that allows you to easily send desktop notifications.This project originally came fromhttps://github.com/ms7m/notify-py(huge thanks), but we decided to fork this project, actively maintain it and add more features.Supported PlatformsWindows 10/11Windows 8.1 (Balloon tips)macOS 10 >=10.10Linux (libnotify)Windows 7Windows 8.1Windows 10Windows 11LinuxmacOS 10 >=10.10❓✅(Balloon tips)✅(Toast notification)✅(Toast notification)✅(requires libnotify)✅(No custom icon)InstallationYou can install notifier with pippip install notifier.pyUsageSend Simple NotificationfromnotifierimportNotifiernotifier=Notifier()notifier.title="Some title"notifier.message="Some message"notifier.send()Send Notification With IconfromnotifierimportNotifiernotifier=Notifier()notifier.title="Some title"notifier.message="Some message"notifier.icon="path/to/icon.png"# .png is not supported under windows 8.1notifier.send()Send Notification With SoundfromnotifierimportNotifiernotifier=Notifier()notifier.title="Some title"notifier.message="Some message"notifier.audio="path/to/audio/file.wav"# we currently only support wav filesnotifier.send()Sending with Default Notification Titles/Messages/IconsfromnotifierimportNotifiernotifier=Notifier(default_notification_title="Function Message",default_application_name="Great Application",default_notification_icon="path/to/icon.png",default_notification_audio="path/to/sound.wav")defyour_function():# stuff happening here.notifier.message="Function Result"notifier.send()Disabling Windows Version DetectionfromnotifierimportNotifiernotifier=Notifier(override_windows_version_detection=True)notifier.title="Some title"notifier.message="Some message"notifier.send()Changing Windows Override VersionfromnotifierimportNotifiernotifier=Notifier(override_windows_version="8.1")# Available values: 10, 8.1notifier.title="Some title"notifier.message="Some message"notifier.send()Inspiration and Special ThanksThanks toms7mfor creatinghttps://github.com/ms7m/notify-pyAlso thanks tojithurjacobfor creatinghttps://github.com/jithurjacob/Windows-10-Toast-Notifications(a modified version has been added to this repository to fix bugs)Side notesmacOS doesnotsupport custom icons on the fly.. You will need to bundle a customized version of the notifier embedded with your custom icon.
Package: notifierr
notifierrnotifierr is an SMS notification service used in conjunction with Radarr/Sonarr to send SMS notifications when movies and TV shows are available to watch.InstallationThe easiest way to install notifierr is with pippython3-mpipinstallnotifierrYou can also clone the repository directly and run setup.py manuallygitclonehttps://github.com/adamsbytes/notifierr.gitcdnotifierr
python3setup.pyinstallUsageConfiguring the ServerYou must editnotifierr/config.pywith your own values before starting the API server. You'll also need to set some environment variables, depending on which SMS provider you're using.Twilio SMS providerThe following environment variables are required and can be found in your Twilio console:TWILIO_ACCOUNT_SID: Twilio account SIDTWILIO_AUTH_TOKEN: Twilio auth tokenTWILIO_FROM_NUMBER: the Twilio phone number you want to send messages fromStarting the ServerNOTE: pip installs may need to add~/.local/binto their PATHFor pip installs:notifierr--host0.0.0.0--port8181To manually start the server:$appdir/cli.py--host0.0.0.0--port8181Available API endpointsGET /version: responds with the running version of notifierrPOST /message/movie/{uid}: sends a detailed notification message for new movies (Radarr) to the phone numbers associated with uidPOST /message/tv/{uid}: sends a detailed notification message for new TV episodes (Sonarr) to the phone numbers associated with uidConfiguring Radarr/SonarrA high level overviewThe app uses the UID portion ofhttp://ip:8181/message/tv/UIDto select which phone numbers to use for the message. These are configured in the app'sconfig.pyfile.To have granular control over which numbers are messaged about which downloads, useTagsin Radarr/Sonarr!For example, to let Dave know when his favorite show is ready, put his number in theconfig.pywith any UID you'd like. Tag Dave's show with a unique tag, then create a notification that triggers with that same tag and use a URL containing Dave's UID at the end.A step by step walkthroughOnce notifierr is running, in Radarr/Sonarr, visit Settings > Connect and create a new Connection.For the connection type, selectWebhookFor the notification triggers, chooseOn DownloadorOn Import(depending on the option available)For the URL, enterhttp://notifierr-ip-address:8181/message/tv/$uid, replacing$uidwith the UID you entered inconfig.pyto correspond with the numbers who should receive the messageFor the method, selectPOSTPressTestto validate the connection, then pressSave.A picture is worth a thousand wordsRadarr Configuration PictureSonarr Configuration Picture
Package: notifiers
Seechangelogfor recent changesGot an app or service, and you want to enable your users to use notifications with their provider of choice? Working on a script and you want to receive notification based on its output? You don't need to implement a solution yourself, or use individual provider libs. A one stop shop for all notification providers with a unified and simple interface.Supported providersPushover,SimplePush,Slack,Gmail, Email (SMTP),Telegram,Gitter,Pushbullet,Join,Zulip,Twilio,Pagerduty,Mailgun,PopcornNotify,StatusPage.io,iCloud,VictorOps (Splunk)AdvantagesSpend your precious time on your own code base, instead of chasing down 3rd party provider APIs. That's what we're here for!With a minimal set of well known and stable dependencies (requests,jsonschemaandclick) you're better off than installing 3rd party SDKs.A unified interface means that you already support any new providers that will be added, no more work needed!Thorough testing means protection against any breaking API changes. We make sure your code your notifications will always get delivered!InstallationVia pip:$ pip install notifiersVia homebrew:$ brew install notifiersOr Dockerhub:$ docker pull liiight/notifiersBasic Usage>>>fromnotifiersimportget_notifier>>>p=get_notifier('pushover')>>>p.required{'required':['user','message','token']}>>>p.notify(user='foo',token='bar',message='test')<NotificationResponse,provider=Pushover,status=Success>Or:>>>fromnotifiersimportnotify>>>notify('pushover',user='foo',token='bar',message='test')<NotificationResponse,provider=Pushover,status=Success>From CLI$ notifiers pushover notify --user foo --token baz "This is so easy!"As a loggerDirectly add to your existing stdlib logging:>>>importlogging>>>fromnotifiers.loggingimportNotificationHandler>>>log=logging.getLogger(__name__)>>>defaults={'token':'foo','user':'bar'}>>>hdlr=NotificationHandler('pushover',defaults=defaults)>>>hdlr.setLevel(logging.ERROR)>>>log.addHandler(hdlr)>>>log.error('And just like that, you get notified about all your errors!')MentionsMentioned inPython BytespodcastRoad mapMany more providers!Low level providers (Amazon SNS, Google FCM, OS Toast messages) viaextradependenciesSeeDocsfor more informationDonationsIf you like this and want to buy me a cup of coffee, please click the donation button above or click thislink☕Code of ConductEveryone interacting in the Notifiers project's codebases, issue trackers and chat rooms is expected to follow thePyPA Code of Conduct.
Package: notifiqueme
Notifique-meEste pacote ajuda desenvolvedores usar os serviÃ§os de noficaÃ§Ã£o via whatsApp e sms, para desenvolvedor a ferramenta Ã© gratuita.Getting StartedDependenciesYou need Python 2.7 or later to usenotifique-me. You can find it atpython.org.You also need setuptools, wheel and twine packages, which is available fromPyPI. If you have pip, just run:pip install setuptools
pip install wheel
pip install twineInstallationFeaturesFile structure for PyPI packagesSetup with package informationsLicense example
Package: notifique-me
Notifique-meEste pacote ajuda desenvolvedores usar os serviÃ§os de noficaÃ§Ã£o via whatsApp e sms, para desenvolvedor a ferramenta Ã© gratuita.Getting StartedDependenciesYou need Python 2.7 or later to usenotifique-me. You can find it atpython.org.You also need setuptools, wheel and twine packages, which is available fromPyPI. If you have pip, just run:pip install setuptools
pip install wheel
pip install twineInstallationFeaturesFile structure for PyPI packagesSetup with package informationsLicense example
Package: notifire
Notifire - Python client forNotifireNotifire-Python is Python client used for sending Apple push notifications from your code to your iOS device with
the Notifire application.
Notification is sent as a HTTP request to the Notifire server through various implemented transports.UsageNotifire has an account management system. This allows you to preserve your data across various iOS devices.
You can either create Notifire account or use 3rd party accounts (e.g. Google).Create a service in the Notifire iOS application.
Then you obtainservice api keythat you can either pass directly to the client class or through the environment
variableNOTIFIRE_SERVICE_API_KEY.Install notifire with pip:pip install notifireCreate and configure a client:fromnotifireimportClientclient=Client('service_api_key')client.send_notification('Hello from Python')NotificationThe notification consists ofbody(required) - title of the iOS notification pop-uplevel- one ofinfo/error/warningto filter the notificationtext- additional text of the notification shown in notification taburl- url displayed in the notificationThese parameters are accepted bysend_notificationmethod.
Notifications are aggregated under aservicewhich you create in the Notifire iOS application.Service is a representation of your code/script/application from which you send these notifications.TransportsA transport is the mechanism through which Notifire sends the HTTP request to the Notifire server.
There are 6 types of transports implemented:AioHTTPTransport- sends concurrent message viaaiohttplibrary, should be used in asyncio based environmentsGeventedHTTPTransport- sends non-blocking message viageventlibrary, should be used in gevent based environmentsHTTPTransport- synchronous blocking transport, can be used in any environmentRequestsHTTPTransport- synchronous blocking transport usingrequestslibrary, can be used in any environmentThreadedHTTPTransport(Default) - spawns a thread (async worker) that is processing messagesThreadedRequestsHTTPTransport- spawns a thread (async worker) that is usingrequestslibrary for processing messagesTo useaiohhtp/gevent/requeststransport, install it's appropriate library:pipinstallaiohttp
pipinstallgevent
pipinstallrequestsTo use your desired transport, simply import and pass it to the Client class.fromnotifireimportClientfromnotifire.transportimportThreadedHTTPTransportclient=Client('service_api_key',transport=ThreadedHTTPTransport)IntegrationsYou can use Notifire with the legacy Sentry python clientRaven.
This will allow you to receive errors to Notifire as well as to Sentry.Install notifire and raven from pip:pip install notifire[raven]Create and configure a client which serves as both Notifire and Sentry client:fromnotifire.integrations.ravenimportClientclient=Client(service_api_key='service_api_key',sentry_dsn='__DSN__')
Package: notifo
Introductionnotifo.py is a python library for thenotifo.comnotification service.InstallationInstall via pip:pip install notifoOr if you must:easy_install notifoUsagenotifo.py can be imported into any python module:import notifo

notifo.send_notification(login, token, recipient, msg, label, title, uri)
notifo.send_message(login, token, to, msg)
notifo.subscribe_user(login, token, user)Return data is the parsed json status code:{u'status': u'success', u'response_code': 2201, u'response_message': u'OK'}There is also a cli client included:notifo_cli.py -u user -s secret -n name [-m] [-l label] [-t title] [-c callback] [TEXT]ContributeIf you want to contribute:Fork the project.Make your feature addition or bug fix.Add tests for it. This is important so I don’t break it in a future version unintentionally.Commit, do not mess with versionSend me a pull request. Bonus points for topic branches.History0.3.0 (2010-10-01)add support for messagingsubscribe user from cli client if no msg text is givenmessage text with spaces allowed without quotes0.2.2 (2010-09-07)fix kwargs issue with exported methods0.2.1 (2010-07-05)fallbacks for json importimproved HTTP error handlingunit tests0.2.0 (2010-06-27)add cli client to send notifications0.1.1 (2010-06-25)fix typo which prevented proper function call of subscribe_user0.1.0 (2010-06-17)add basic API access
Package: notifout
What is Notifout.comNotifout.com is an online service which helps your application have nice-looking and reliable email notifications.Seenotifout.comfor details.Installationpip install notifoutUsagefrom notifout import Notifout

notifout = Notifout('ohsh6Iez3Nah0ahmohz2ge')
notifout.send('signup', 'Dummy User <user@example.com>', {'first_name': 'Dummy'})
Package: notifstats
Stats collectorNotification event collectorInstalationInstall with pip:$ pip install notifstatsAPIcapture_eventreceives two arguments:data: Analytic data to be captured. See Usage section.is_production: Default to True. If False, the data will be sent to staging BigQuery.UsageRequiresgoogle-cloud-bigquery>=1.20.0from datetime import datetime
from notifstats import capture_event


if __name__ == "__main__":
    data = {
        "notification_id": "test-12345",
        "event_type": "sent_to_slackbot",
        "object_id": "test-67890",
        "taxonomy_id": "test-2345",
        "created_at": datetime.now().isoformat(),
        "notification_type": "segmented",
    }

    capture_event(data=data, is_production=False)Available events_type:available_events = [
    "notification_requested",
    "notification_sent_to_onesignal",
    "notification_statistic_stored",
    "notification_history_written",
    "sent_to_slackbot",
]LicenseMIT