skip to navigation
skip to content

Not Logged In

lola 0.1

Lola runs small Python scripts quickly

Latest Version: 0.1.3

Lola runs small Python scripts quickly.

The startup time for the Python interpreter is fairly light, but it can become noticable when running small scripts repeatedly. Lola can reduce this overhead by starting one interpreter, which you can reuse to repeatedly run scripts.

Example:

with lola.Runner() as runner:
  for i in xrange(1000):
    runner.call(['myscript.py', str(i)])

The API implements the call(), check_call() and check_output() functions from the standard library's subprocess module.

The name comes from "Lola rennt", aka "Run Lola Run": http://en.wikipedia.org/wiki/Run_Lola_Run

 
File Type Py Version Uploaded on Size
lola-0.1.tar.gz (md5) Source 2012-10-10 5KB
  • Downloads (All Versions):
  • 23 downloads in the last day
  • 111 downloads in the last week
  • 413 downloads in the last month