Metadata-Version: 2.1
Name: psend
Version: 0.1.7
Summary: Utility to send push notification.
Home-page: https://github.com/sandrospadaro/psend
License: Apache-2.0
Author: Sandro Spadaro
Author-email: sandro.spadaro@gmail.com
Requires-Python: >=2.7,<4.0
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: argparse (>=1.4.0,<2.0.0)
Requires-Dist: requests (>=2.27.1,<3.0.0) ; python_version >= "2.7" and python_version < "3.0"
Requires-Dist: requests (>=2.28.1,<3.0.0) ; python_version >= "3.8" and python_version < "4.0"
Project-URL: Repository, https://github.com/sandrospadaro/psend
Description-Content-Type: text/markdown

# psend
Simple python utility for send push notifications.

## Description
A python client to send push notifications to phones and other device.

The notifications will recived by the "[Simple Push Notification API](https://play.google.com/store/apps/details?id=net.xdroid.pn)" App.

## How to install

You can install it using **pip**

```bash
pip install psend
```
## How to use

After installing this, it can be used by calling the script:

```bash
psend
```

or using python:

```bash
python -m psend
```
## Options
The options for this utility can shown using `-h` flag:

```
usage: psend [-h] -k KEY [KEY ...] -t TITLE -c CONTENT [-u URL]

Utility to send push notification

options:
  -h, --help            show this help message and exit
  -k KEY [KEY ...], --key KEY [KEY ...]
  -t TITLE, --title TITLE
  -c CONTENT, --content CONTENT
  -u URL, --url URL

Send push notification to Simple Push Notification API
(https://play.google.com/store/apps/details?id=net.xdroid.pn)
```

## References

* Git repository: https://github.com/sandrospadaro/psend
* Pypi repository: https://pypi.org/project/psend/
