Skip to main content

easy notification command on terminal using push7

Project description

This command provides a push7 command. Using this command, you can send a push notification from your terminal to your browser using push7.jp.

Installation

pip install push7-cmd

Setup

First, you should add a push7 application into push7-cmd.

push7 applications add 'your_appno' 'your_apikey'
push7 applications list
push7 applications use 'your_appno'

Usage

# Send a push from stdin
push7 < a.txt

# Send a push from stdin
echo 'notification' | push7

a-time-consuming-command | push7

# Send a push with given title
echo 'notification with given title' | push7 -t 'test push'

# Send a push without stdin
push7 --title 'poe' --body 'poe'

a-command-will-cause-output-like-a-flood | push7 --body 'finish the command'

# Add new application
push7 applications add 'your_appno' 'your_apikey'

# List registed applications
push7 applications list

# Delete the application
push7 applications delete 'your_appno'

# Change default applicatios
# Default applications means : An application which this command will use when you sent a push.
push7 applications use 'your_appno'

# Help
push7 --help

All Commands

push7 applications list
push7 applications delete <appno>
push7 applications add <appno> <apikey>
push7 applications use <appno>
push7 --title title --body body

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

push7_cmd-0.0.2.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

push7_cmd-0.0.2-py2.py3-none-any.whl (7.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file push7_cmd-0.0.2.tar.gz.

File metadata

  • Download URL: push7_cmd-0.0.2.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for push7_cmd-0.0.2.tar.gz
Algorithm Hash digest
SHA256 74a1ed8a07d0c93dbf5174f0c2ca6819780fb3bda4a00843b6152fb65e61d88f
MD5 2f3296fc2d5d5ba9fb08cabaf47c783e
BLAKE2b-256 3ebc505f6e9a4380eb3877348a961c7cff48f3e87105864f70fe3fc0d22f248b

See more details on using hashes here.

File details

Details for the file push7_cmd-0.0.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for push7_cmd-0.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0c8bce8fe8d53abc804a52b0ecb0c8cdc611c129fceac4df82ceca31e14f1642
MD5 4daa82a92487216c643636cdcfa696dd
BLAKE2b-256 49a440ec0272759d1297427b9da2cb3b8362122a5670c3ec01075410ceb4d6c0

See more details on using hashes here.

Supported by

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