idempotent-sequence
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.
See examples under idemseq/examples.
$ pip install idempotent-sequence $ set IDEMSEQ_SEQUENCE_ID=/tmp/example02.db $ export IDEMSEQ_SEQUENCE_ID $ set IDEMSEQ_LOG_LEVEL=debug $ export IDEMSEQ_LOG_LEVEL $ idemseq idemseq.examples.example02:example $ idemseq idemseq.examples.example02:example list $ idemseq idemseq.examples.example02:example run --dry-run $ idemseq idemseq.examples.example02:example run $ idemseq idemseq.examples.example02:example reset all
Metadata
Release files for idempotent-sequence 3.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| idempotent-sequence-3.0.0.tar.gz | 10.7 kB | Without provenance | Details for idempotent-sequence-3.0.0.tar.gz |
Release files / idempotent-sequence-3.0.0.tar.gz
| Download URL | idempotent-sequence-3.0.0.tar.gz |
|---|---|
| Size | 10.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
50ede4c0a6b73c63688907efc20a2aa59d68301e7cc3822d61b75b4a95531c40
|
|
BLAKE2b-256 checksum How to use checksums |
2f2f6e16ddc18d1a53372318362a543f32ba3fe793a919d80f8e0a0cf3521a3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for idempotent-sequence 3.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.