Command line client for PingMe android app.
- Python 2.7+
PingMe-cli can be installed with pip:
$ pip install pingme
or directly from the source code:
$ git clone https://github.com/teddy-schmitz/pingme-cli.git
$ cd pingme-cli
$ python setup.py install
To send a message use the following syntax
$ pingme -d <device id> <message>
Devices can be a comma separated list. You can also define a config file in
~/.pingme_config
[Default]
devices=deviceid1,deviceid2
message=Example
This will allow you to specify defaults for the command, but any arguments passed in will override these values.
More information at ReadtheDocs
Please make check and make test before submitting any pull requests.
- Make:
- Windows: http://cygwin.com/install.html
- Mac: https://developer.apple.com/xcode
- Linux: http://www.gnu.org/software/make (likely already installed)
- virtualenv: https://pypi.python.org/pypi/virtualenv#installation
Create a virtualenv:
$ make env
Run the tests:
$ make test
$ make tests # includes integration tests
Build the documentation:
$ make doc
Run static analysis:
$ make pep8
$ make pep257
$ make pylint
$ make check # includes all checks
Prepare a release:
$ make dist # dry run
$ make upload