Skip to main content

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.delete([1,newdoc.state[0], 4, 7])
>>> newdoc.state
('1:2', 'Hell')
>>> newdoc.insert([2,newdoc.state[0], 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.delete([1,newdoc.state[0], 24, 3])
>>> newdoc.state
('1:3;2:1', 'Hell is the place where  cool people go')
>>> newdoc.undo([1])
>>> newdoc.state
('1:4;2:1', 'Hell is the place where all cool people go')
>>> newdoc.delete([1,newdoc.state[0], 24, 4])
>>> newdoc.state
('1:5;2:1', 'Hell is the place where cool people go')

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Py-Infinote-0.93.tar.gz (14.8 kB view details)

Uploaded Source

File details

Details for the file Py-Infinote-0.93.tar.gz.

File metadata

  • Download URL: Py-Infinote-0.93.tar.gz
  • Upload date:
  • Size: 14.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Py-Infinote-0.93.tar.gz
Algorithm Hash digest
SHA256 3ecb7dd6dee07a7aee85cc013b33076038337d698ff94bc54d3b5ffc501848ae
MD5 d076be74a53684b627f30fa14bf90d5a
BLAKE2b-256 3c9ddc01a3b9d52a877ee61ba872ff7692aa545da0d324bb82602ab8182cf674

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.93 This release

1 file

0.92

1 file

0.91

1 file

0.9

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page