dr-exec
Contract-driven local process execution.
Status
The complete v1 surface is implemented:
- identity and serialization — canonical secret-safe projections, the strict bounded read path, and role-specific versioned identities;
- the isolated-host Python runtime with its fixed
-Iprobe and the library-owned child wrapper; - the protected protocol — request transport, frame codec, the prelude/output/completion state machine, and finite executor self-budgets;
- durable recording —
DirectoryRunStoreover the pinned Document Directory, with typed lifecycle handles, receipts, and strict load validation; - the single-run engine behind
ProcessExecutor.run— spawn through teardown for trusted-command, untrusted-command, and untrusted-Python targets, with budget enforcement, best-effort attribution, and the mandatory record lifecycle; FakeExecutor, which enforces the same declaration rules and carries an explicit fake receipt, plus the shared behavioral conformance suite both executors pass;- the bounded execution pool — one scheduler core behind
ProcessExecutor.run_many,ProcessExecutor.open_pool, andExecutionPool.run_stream, with one shared resident bound over running and completed-but-undelivered submissions, completion-order delivery, backpressure on intake, cancellation, drain, and abort.
Execution runs on macOS; the engine refuses other platforms at the declaration boundary, and the tests that need real process semantics are marked accordingly.
- Exact public API:
src/dr_exec/__init__.py - Stable capability boundaries:
src/dr_exec/protocols.py - Planned behavioral contracts:
docs/v1-plan/contracts.toml - Design and qualification mechanics:
docs/v1-plan/v1-design.md - Shared serialization capabilities delivered by the dr-serialize pin:
docs/v1-plan/dr-serialize-additions.md
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dr_exec-0.1.1.tar.gz.
File metadata
- Download URL: dr_exec-0.1.1.tar.gz
- Upload date:
- Size: 70.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7364e0a8b4f6490708e18c1ed65b35258f38c347d919903f160fc417ca7e1140
|
|
| MD5 |
ae3821fe23e98ced5a8cc49341ef6303
|
|
| BLAKE2b-256 |
f99adc515c760471ad23cd8c4763b4c240a55b2ff4ed247ddbd27b4a6f8930bb
|
Provenance
The following attestation bundles were made for dr_exec-0.1.1.tar.gz:
Publisher:
release.yml on danielle-rothermel/dr-exec
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dr_exec-0.1.1.tar.gz -
Subject digest:
7364e0a8b4f6490708e18c1ed65b35258f38c347d919903f160fc417ca7e1140 - Sigstore transparency entry: 2346545826
- Sigstore integration time:
-
Permalink:
danielle-rothermel/dr-exec@c00bb2461956d7596680d99787af987e7425827c -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/danielle-rothermel
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@c00bb2461956d7596680d99787af987e7425827c -
Trigger Event:
push
-
Statement type:
File details
Details for the file dr_exec-0.1.1-py3-none-any.whl.
File metadata
- Download URL: dr_exec-0.1.1-py3-none-any.whl
- Upload date:
- Size: 83.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
77ae52f6c4cbb66fbc283562175c99358f02b7580c44cc2c051da48386babbfd
|
|
| MD5 |
f300ff4ae39faae8aca511afe3a5d5a5
|
|
| BLAKE2b-256 |
3d98a49cb6e53a7266a7ec77d77c1df022290eebdf52bb723467b54b9065aa97
|
Provenance
The following attestation bundles were made for dr_exec-0.1.1-py3-none-any.whl:
Publisher:
release.yml on danielle-rothermel/dr-exec
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dr_exec-0.1.1-py3-none-any.whl -
Subject digest:
77ae52f6c4cbb66fbc283562175c99358f02b7580c44cc2c051da48386babbfd - Sigstore transparency entry: 2346545911
- Sigstore integration time:
-
Permalink:
danielle-rothermel/dr-exec@c00bb2461956d7596680d99787af987e7425827c -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/danielle-rothermel
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@c00bb2461956d7596680d99787af987e7425827c -
Trigger Event:
push
-
Statement type: