Chump is a fully featured API wrapper for Pushover:
>>> from chump import Application
>>> app = Application('vmXXhu6J04RCQPaAIFUR6JOq6jllP1')
>>> app.is_authenticated
True
>>> user = app.get_user('KAGAw2ZMxDJVhW2HAUiSZEamwGebNa')
>>> user.is_authenticated, user.devices
(True, {'iPhone'})
>>> message = user.send_message("What's up, dog?")
>>> message.is_sent, message.id, str(message.sent_at)
(True, '7LjjD6bK8hgqdK6aJzZUblOPPH9cVpjZ', '2005-10-05 07:50:40+00:00')
Installation
Install chump just like everything else:
$ pip install chump
Documentation
Full documentation is available at ReadTheDocs.
Release files for chump 1.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| chump-1.6.0.tar.gz | 15.6 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| chump-1.6.0-py3-none-any.whl | Python 3 | none | any | Details |
| chump-1.6.0-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 36.9 kB
Release files / chump-1.6.0.tar.gz
| Download URL | chump-1.6.0.tar.gz |
|---|---|
| Size | 15.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f4659f39849c69e32e939b97bec53550f1e30055fdbd81d52b6564d1153255ee
|
|
BLAKE2b-256 checksum How to use checksums |
f32d5d049a2a8a5f895a50c8cfe27fbc2ff76f17f975df53e342ac682e65af4d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0
|
Release files / chump-1.6.0-py3-none-any.whl
| Download URL | chump-1.6.0-py3-none-any.whl |
|---|---|
| Size | 10.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5f5b50b9f855b2d6473e291013f0ae8f42f02180b980d337b3b2c274f985e1f7
|
|
BLAKE2b-256 checksum How to use checksums |
6f02c1e2d20069b742eeb387739d4e84e1cf95064a27bcf4074fd238473955b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0
|
Release files / chump-1.6.0-py2-none-any.whl
| Download URL | chump-1.6.0-py2-none-any.whl |
|---|---|
| Size | 10.3 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
efa15165ec608681d7265fc006bc57e330ee74911074db3de90e27de0042b3eb
|
|
BLAKE2b-256 checksum How to use checksums |
6aff292f7fe7449d24d1f30952a550a980255c69e92f93a19cf5845066dff0b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0
|