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
Release files for lola 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lola-0.1.3.tar.gz | 5.7 kB | Details |
Release files / lola-0.1.3.tar.gz
| Download URL | lola-0.1.3.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
92579dbf8a00ab0a80fc13da02037bfa30b2a812af931e0a4cc3dea573a8b350
|
|
BLAKE2b-256 checksum How to use checksums |
9519f560b794b31f871f6f8f3f118678beb3ba3ab44fe1b5ee5cdcb8c8111b11
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |