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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
chump-1.6.0.tar.gz
(15.6 kB
view details)
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
chump-1.6.0-py3-none-any.whl
(10.9 kB
view details)
chump-1.6.0-py2-none-any.whl
(10.3 kB
view details)
File details
Details for the file chump-1.6.0.tar.gz.
File metadata
- Download URL: chump-1.6.0.tar.gz
- Upload date:
- Size: 15.6 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4659f39849c69e32e939b97bec53550f1e30055fdbd81d52b6564d1153255ee
|
|
| MD5 |
81ea989582453daa5e9c3236420f1ec8
|
|
| BLAKE2b-256 |
f32d5d049a2a8a5f895a50c8cfe27fbc2ff76f17f975df53e342ac682e65af4d
|
File details
Details for the file chump-1.6.0-py3-none-any.whl.
File metadata
- Download URL: chump-1.6.0-py3-none-any.whl
- Upload date:
- Size: 10.9 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f5b50b9f855b2d6473e291013f0ae8f42f02180b980d337b3b2c274f985e1f7
|
|
| MD5 |
f50e698727a87662e8d66f0fe405b492
|
|
| BLAKE2b-256 |
6f02c1e2d20069b742eeb387739d4e84e1cf95064a27bcf4074fd238473955b3
|
File details
Details for the file chump-1.6.0-py2-none-any.whl.
File metadata
- Download URL: chump-1.6.0-py2-none-any.whl
- Upload date:
- Size: 10.3 kB
- Tags: Python 2
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
efa15165ec608681d7265fc006bc57e330ee74911074db3de90e27de0042b3eb
|
|
| MD5 |
a89c5bdfd1e9fca58988e271d5d4f613
|
|
| BLAKE2b-256 |
6aff292f7fe7449d24d1f30952a550a980255c69e92f93a19cf5845066dff0b5
|