https://github.com/hunternet93/ddp_asyncio
Asynchronous Python module for Meteor's DDP protocol
https://github.com/hunternet93/ddp_asyncio
asyncio ddp meteor meteor-framework python
Last synced: 6 months ago
JSON representation
Asynchronous Python module for Meteor's DDP protocol
- Host: GitHub
- URL: https://github.com/hunternet93/ddp_asyncio
- Owner: hunternet93
- License: mit
- Created: 2015-02-01T22:48:33.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2018-06-22T22:26:34.000Z (over 7 years ago)
- Last Synced: 2025-05-31T21:01:25.019Z (7 months ago)
- Topics: asyncio, ddp, meteor, meteor-framework, python
- Language: Python
- Homepage:
- Size: 22.5 KB
- Stars: 13
- Watchers: 4
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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)