Pushbullet CLI interface
Installation
$ pip install pushbullet-cli
Usage
Use Pushbullet from the command line.
First of all, set your API key by running:
$ pb set-key
Then pasting your API key at the prompt.
Push stdin to all devices:
$ echo "hello" | pb push
Push text to all devices:
$ pb push "I love burritos"
Pick a device to push to:
$ pb list-devices # Find the index of your desired device $ pb push -d 0 "iPhones cannot eat burritos"
Push links:
$ pb push --link https://www.pushbullet.com/
Push files:
$ pb push --file /path/to/burrito_photo.jpg
Push to all subscribers of channel:
$ pb push -c "CHANNEL" "Why burritos are better than tacos"
Send an SMS:
$ pb sms -d 0 -n +123456789 "I sense a soul in search of answers"
List your pushes:
$ pb list -c 20
To set the API key from within python:
import keyring, keyrings.alt
if isinstance(keyring.get_keyring(), keyrings.alt.file.EncryptedKeyring):
keyring.set_keyring(keyrings.alt.file.PlaintextKeyring())
keyring.set_password("pushbullet", "cli", PUSHBULLET_KEY)
Changelog
1.2.2
Bump dependencies
Add support for python 3.10
1.2.1
Bump dependencies
Fix #99
1.2
Bump dependencies
1.1
Bump keyring version (Security patches)
1.0
Remove Python 2.7 support (Countdown)
Support to Click 7.0
Add test cases
Add CI build
Add coverage report
0.7.6
List previous pushes (#35)
Avoid prompt the user when message is piped (#34)
Removes default title (Note) (#36)
Contribution
Many thanks to the original author @r-darwish
Pull requests are welcome
Take a look at the Contributing guidelines
Release files for pushbullet-cli 1.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pushbullet-cli-1.2.2.tar.gz | 5.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pushbullet_cli-1.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.5 kB
Release files / pushbullet-cli-1.2.2.tar.gz
| Download URL | pushbullet-cli-1.2.2.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eef737e76a35f2d7c9dea642988de0bfe7b962239c06c35d0cba95d0e6037edd
|
|
BLAKE2b-256 checksum How to use checksums |
a6c70d80bf3f8f73bdf9314f728c6d54e622bfecd77c82db3be60e88867cb530
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|
Release files / pushbullet_cli-1.2.2-py3-none-any.whl
| Download URL | pushbullet_cli-1.2.2-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
975798dbb21981d103f3fb0cf6173743078a6640aa64bcb4fd1ab3cd58fc95d9
|
|
BLAKE2b-256 checksum How to use checksums |
9f11059ec0785ea1a50595ee8baf3db4d9dfb517b76bd8682b41e74c0de9a58b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|