ddp-asyncio-0.3.0
توضیحات
Asynchronous DDP library
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | ddp-asyncio-0.3.0 |
| نام | ddp-asyncio |
| نسخه کتابخانه | 0.3.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Isaac Smith |
| ایمیل نویسنده | isaac@isrv.pw |
| آدرس صفحه اصلی | https://github.com/hunternet93/ddp_asyncio |
| آدرس اینترنتی | https://pypi.org/project/ddp-asyncio/ |
| مجوز | MIT |
# ddp_asyncio
ddp_asyncio is an asynchronous implementation of [Meteor's DDP protocol](https://github.com/meteor/meteor/blob/devel/packages/ddp/DDP.md) for Python 3.5+.
### Installation
Install via PyPi:
pip3 install ddp_asyncio
Or, install using the included setup.py script:
python3 setup.py install
### Usage
[API docs](https://github.com/hunternet93/ddp_asyncio/blob/master/api.md)
Check out the following examples, all of which use Meteor's reference [Todos](https://github.com/meteor/todos) application.
* [Retrieve todo list](https://github.com/hunternet93/ddp_asyncio/blob/master/example_retrieve_todos.py)
* [Create a todo list](https://github.com/hunternet93/ddp_asyncio/blob/master/example_create_todos.py)
* [Watch todo lists for changes](https://github.com/hunternet93/ddp_asyncio/blob/master/example_watch_todos.py)
### Extras
#### Meteor-Files Upload
ddp_asyncio's `MeteorFilesUploader` can upload files to a server using the [Meteor-Files](https://github.com/VeliovGroup/Meteor-Files) package.
[Example](https://github.com/hunternet93/ddp_asyncio/blob/master/example_upload_file.py)
نیازمندی
| مقدار | نام |
|---|---|
| - | websockets |
| - | ejson |
نحوه نصب
نصب پکیج whl ddp-asyncio-0.3.0:
pip install ddp-asyncio-0.3.0.whl
نصب پکیج tar.gz ddp-asyncio-0.3.0:
pip install ddp-asyncio-0.3.0.tar.gz