chump-1.6.0
توضیحات
A fully featured API wrapper for Pushover.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | chump-1.6.0 |
| نام | chump |
| نسخه کتابخانه | 1.6.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Karan Lyons |
| ایمیل نویسنده | karan@karanlyons.com |
| آدرس صفحه اصلی | https://github.com/karanlyons/chump |
| آدرس اینترنتی | https://pypi.org/project/chump/ |
| مجوز | Apache 2.0 |
#####
Chump
#####
.. image:: https://img.shields.io/pypi/v/chump.svg
:target: https://pypi.org/project/chump
:alt: PyPI Version
.. image:: https://img.shields.io/pypi/l/chump.svg
:target: https://pypi.org/project/chump
:alt: License
.. image:: https://img.shields.io/pypi/pyversions/chump.svg
:target: https://pypi.org/project/chump
:alt: Python Compatibility
.. image:: https://img.shields.io/badge/docs-latest-blue.svg
:target: https://chump.readthedocs.io
:alt: Documentation
Chump is a fully featured API wrapper for `Pushover <https://pushover.net>`_:
.. code-block:: pycon
>>> 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:
.. code-block:: bash
$ pip install chump
Documentation
=============
Full documentation is available at
`ReadTheDocs <https://chump.readthedocs.io>`_.
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=2.7 | Python |
نحوه نصب
نصب پکیج whl chump-1.6.0:
pip install chump-1.6.0.whl
نصب پکیج tar.gz chump-1.6.0:
pip install chump-1.6.0.tar.gz