Skip to main content

RIPL == Really Incredibly Point Less

or

RIPL == Read Interpret Print Loop

This started life as some simple utilities to help me write a presentation.

The idea was to write something in restructured text and have some code to read the text, interpret it and turn it into a bunch of slides for a presentation.

In the end I went with markdown, but only a subset of markdown is really supported.

For each slide, you can specify a heading and then some lines of text for the slide.

You can also specify an image to display, or images.

Installation / Usage

To install use pip:

$ pip install ripl

Or clone the repo:

$ git clone https://github.com/swfiua/ripl.git $ python setup.py install

Interpretters

So far it is just a bunch of python modules which I call interpretters.

Each module has a class with an interpret method.

py2json and json2py

The built-in json module does all the work here. These just turn json into python dictionaries and lists and vice-versa.

md2slides.py

This reads the markdown and turns it into a list of slides. Each slide is just a python dictionary full of information about the slides.

slide2png.py

This takes the output from md2slides (or anything in a similar format) and creates a folder full of slides.

As well as a bunch of image files, slide2png.py outputs a file with the list of slides in the slideshow.

layout

I would like to strip the layout code in slide2png into a separate interpretter.

This would just augment the incoming information with layout data.

create_images

The code that actually creates the images could then work with the layout code.

show

This actually displays the slideshow.

It has an option to say how many minutes the slideshow should be and will automatically advance the slides for you, pechakucha style.

run*.py

Various scripts to run everything.

TODO

rest2py and py2rest

mark2rest and rest2mark

rest2json and json2rest

py2json and json2py. these are done coutesy of import json.

Chaining converstions and examining information loss.

Get sphinx and readthedocs working here.

python-snowballstemmer looks interesting, seems to be finding stems of words and also to be multi-lingual.

Release files for ripl 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ripl 0.0.2
File Size Uploaded
ripl-0.0.2.linux-x86_64.tar.gz 20.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ripl 0.0.2
File Interpreter ABI Platform
ripl-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 38.2 kB

Release files / ripl-0.0.2.linux-x86_64.tar.gz

Download URL ripl-0.0.2.linux-x86_64.tar.gz
Size 20.9 kB
Tags Source
SHA-256 checksum
How to use checksums
4b950c1defd1dc97cb7fa38a36d31bc9616805ae3fb916670f258e3173127c6e
BLAKE2b-256 checksum
How to use checksums
4b3127caec0cfea13b6b2f560f38ade74af6649f38ccc2830ad9ec803678c78b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / ripl-0.0.2-py3-none-any.whl

Download URL ripl-0.0.2-py3-none-any.whl
Size 17.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
68f6c8f6684dddb8809ba7a41459b0fe91761d3316ae776c732e077fd5759e0c
BLAKE2b-256 checksum
How to use checksums
7603e7098c4e46a79e17c0017502cf611506a1b2c8a165fcfafcbd39bca909fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

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