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.1.tar.gz (5.6 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

push7_cmd-0.0.1-py3.5.egg (13.2 kB view details)

Uploaded Egg

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

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for push7_cmd-0.0.1.tar.gz
Algorithm Hash digest
SHA256 fc71733c55d86d9e7ca155b017e80ce1a28ba1f984378d7337b2f1f9ee964875
MD5 433bd76384423f2d1dea6c11e64be377
BLAKE2b-256 3dd548a93d0fbf0beaba1a95e5ac027899e7ef9bcccf6112ce71521f2c11d4c2

See more details on using hashes here.

File details

Details for the file push7_cmd-0.0.1-py3.5.egg.

File metadata

  • Download URL: push7_cmd-0.0.1-py3.5.egg
  • Upload date:
  • Size: 13.2 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for push7_cmd-0.0.1-py3.5.egg
Algorithm Hash digest
SHA256 bf9f528a95c0461ba605415e16fface289084a50e98dc554f94faa7e53a2b953
MD5 6a3b0a43b0f7d65d1e67b5ca4ae05ea2
BLAKE2b-256 145a06450b94a84f9db74ea6d8e9b3e713c0cc5b0c33a5d1550414a4a29a80c7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for push7_cmd-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1ba4e599d2849a033d4a6abcaed31ee05140d1734d66a66325af45138b6db0fd
MD5 68d3bc571b1cee79fde9d08701f40a0a
BLAKE2b-256 87da2d7b364e43f28d40121524150887cd41511efbe7154b02d3af2cad274e2e

See more details on using hashes here.

Supported by

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