Skip to main content

Lola runs small Python scripts quickly

Project description

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

Project details


Download files

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

Source Distribution

lola-0.1.1.tar.gz (5.6 kB view details)

Uploaded Source

File details

Details for the file lola-0.1.1.tar.gz.

File metadata

  • Download URL: lola-0.1.1.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for lola-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b8992c06eb0811f36b579f4094047960409e98b7902af6533fce2a204e3d61eb
MD5 4c00d00b319c4db97cdbd13dbf3fe8a3
BLAKE2b-256 46f1efaf6c10bbdbc1d9341e184f96ddd3dd553fee1e51a43f4bcb3f8780ac9b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page