Skip to main content

Display inappropriate notifications at random intervals

Project description

https://badge.fury.io/py/inappropriate-notifications.svg

Ever want to get inappropriate notifications on your computer while you’re presenting? Well now you can!

Based off the homepage of https://muzzleapp.com/. Check out their website to see an example of what this does.

This program uses notifications from https://muzzleapp.com/notifications/notifications.json, as well as those we came up with ourself.

User names and images downloaded from https://randomuser.me.

Requirements

Linux

python3.6+ libnotify

Windows

python3.6+ win10toast (installed automatically)

Installation

pip install inappropriate-notifications

Alternative installation

git clone https://github.com/riley-martine/inappropriate-notifications.git

cd inappropriate-notifications

python3.6 setup.py install

Usage

Display help: inappropriate-notifications -h

Display one inappropriate notification: inappropriate-notifications --once

Display notifications about 2 seconds apart: inappropriate-notifications -t 2

Display 20 notifications about 5 seconds apart: inappropriate-notifications -c 20 -t 5

Caveats (To fix / to-do)

  • Only tested on Debian+Gnome and (at some point) Windows 10 (MacOS and Windows 7 on roadmap)

  • Relies on libnotify on Linux

  • Icons are for Mac apps when on windows

  • No fields on notifications (reply, dismiss) where applicable

  • Does not pull names/images from people you know when applicable

  • Only suited to work env – students don’t need messages about getting fired

  • No tests

  • No version command line argument

  • ctrl-c when running command line should fail nicer

  • Right-to-left names mess up first line

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

inappropriate-notifications-0.3.7.tar.gz (2.5 MB view details)

Uploaded Source

Built Distribution

inappropriate_notifications-0.3.7-py3-none-any.whl (2.8 MB view details)

Uploaded Python 3

File details

Details for the file inappropriate-notifications-0.3.7.tar.gz.

File metadata

  • Download URL: inappropriate-notifications-0.3.7.tar.gz
  • Upload date:
  • Size: 2.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0

File hashes

Hashes for inappropriate-notifications-0.3.7.tar.gz
Algorithm Hash digest
SHA256 ed7c0b571dbf63156b15c03176049d926779945c152c33948614835cf578f934
MD5 5c36319a26f7b207169cf82baf4f1221
BLAKE2b-256 0988d1da4d66ef890f4f387b7b024bb3b584a64d6d5ba5cf309f2894db824003

See more details on using hashes here.

File details

Details for the file inappropriate_notifications-0.3.7-py3-none-any.whl.

File metadata

  • Download URL: inappropriate_notifications-0.3.7-py3-none-any.whl
  • Upload date:
  • Size: 2.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0

File hashes

Hashes for inappropriate_notifications-0.3.7-py3-none-any.whl
Algorithm Hash digest
SHA256 710a5b15c94934421aa13df29c1059bfdccba7efe2676e33072cc66066364a68
MD5 24338d605e85de1df049fc5fa1f47577
BLAKE2b-256 88a4b04f398355a722f7a569628df84782be5b6d397aea7b4fbacad277ba7693

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page