Py-InfinoteA Python implementation of the infinote operation transformation protocol | |
Download |
Py-Infinote Ranking & Summary
Advertisement
- License:
- BSD License
- Price:
- FREE
- Publisher Name:
- Jeroen van Veen
- Publisher web site:
- https://github.com/phrearch/
Py-Infinote Tags
Py-Infinote Description
Py-Infinote is a Python implementation of the infinote operation transformation protocol.This is a port of JInfinote, implemented in Python.Usage>>> from infinote.document import InfinoteDocument>>> newdoc = InfinoteDocument('Hello world')>>> newdoc.state('1:1', 'Hello world')>>> newdoc.try_delete(, 4, 7])>>> newdoc.state('1:2', 'Hell')>>> newdoc.try_insert(, 4,' is the place where all cool people go'])>>> newdoc.state('1:2;2:1', 'Hell is the place where all cool people go')>>> newdoc.try_delete(, 24, 3])>>> newdoc.state('1:3;2:1', 'Hell is the place where cool people go')>>> newdoc.try_undo()>>> newdoc.state('1:4;2:1', 'Hell is the place where all cool people go')>>> newdoc.try_delete(, 24, 4])>>> newdoc.state('1:5;2:1', 'Hell is the place where cool people go')Product's homepage
Py-Infinote Related Software