Skip to main content

Organise a set of units of code in a sequence that can be rerun repeatedly skipping already completed units

Project description

A set of Python classes to declare an idempotent sequence of commands – a sequence that can be run repeatedly and on success will produce the same side effects no matter how many times you invoke it.

This is useful when you have a sequence of commands each of which can fail and you want to keep rerunning the sequence until it succeeds, yet you don’t want to run previously completed parts again.

You can install the package with pip install idempotent-sequence

See example under examples/example01.py.

To run the example: python -m idemseq.examples.example01 –help

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

idempotent-sequence-1.0.2.tar.gz (9.1 kB view hashes)

Uploaded Source

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