etherpad_lite-0.5
توضیحات
Python interface for Etherpad-Lite's HTTP API
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | etherpad_lite-0.5 |
| نام | etherpad_lite |
| نسخه کتابخانه | 0.5 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Changaco |
| ایمیل نویسنده | changaco ατ changaco δοτ net |
| آدرس صفحه اصلی | http://changaco.net/gitweb/?p=python-etherpad_lite.git |
| آدرس اینترنتی | https://pypi.org/project/etherpad_lite/ |
| مجوز | CC0 |
Etherpad Lite is a web service that allows real-time document collaboration for groups of users. http://etherpad.org/
python-etherpad_lite provides an interface for Etherpad-Lite's HTTP API.
Installation
============
pip install etherpad_lite
python-etherpad_lite doesn't have dependencies and is compatible with both python 2 and 3.
Usage
=====
From python::
from etherpad_lite import EtherpadLiteClient
c = EtherpadLiteClient(base_params={'apikey':'secret_from_APIKEY.txt'})
c.createPad(padID='test', text="Lorem ipsum dolor sit amet.")
From the command line::
$ python -m etherpad_lite -p apikey=secret_from_APIKEY.txt
=> Welcome to the Etherpad Lite shell !
=> Command example: createPad padID=test text="Lorem ipsum dolor sit amet."
% createPad padID=test text="Lorem ipsum dolor sit amet."
ok
% getHTML padID=test
{u'html': u'Lorem ipsum dolor sit amet.<br>'}
% deletePad padID=test
ok
See the documentation of Etherpad Lite for the list of API functions and their arguments.
License
=======
`CC0 Public Domain Dedication <http://creativecommons.org/publicdomain/zero/1.0/>`_
نحوه نصب
نصب پکیج whl etherpad_lite-0.5:
pip install etherpad_lite-0.5.whl
نصب پکیج tar.gz etherpad_lite-0.5:
pip install etherpad_lite-0.5.tar.gz