Skip to main content

eml-control

eml-control is a tiny pure-Python package of bounded control and guard primitives for EML-style contract workflows.

It is useful for synthetic traces, Inspector-style requested/safe output telemetry, kernel-contract examples, and internal course fixtures.

The package boundaries are listed below and apply to every example and API.

Install From Source Tree

python -m pip install .

CLI

eml-control --help
eml-control demo clamp
eml-control demo deadband
eml-control demo hysteresis
eml-control validate examples/control_contract.json
eml-control inspect-reflex examples/reflex_inspector_frames.jsonl

Python API

from eml_control import clamp_guard, deadband, hysteresis_switch

result = clamp_guard(requested=1.25, lower=0.0, upper=1.0)
print(result.safe_output)

Primitives

  • clamp_guard
  • deadband
  • hysteresis_switch
  • saturation_with_margin
  • proportional_step
  • first_order_response_step
  • bounded_pid_step

Robotics Reflex Inspector Bridge

The inspect-reflex command compares Inspector-style guard frames with eml-control clamp semantics:

eml-control inspect-reflex examples/reflex_inspector_frames.jsonl

The bridge checks that requested/safe output fields are present, pass-through frames remain inside bounds, and clamped frames match the configured guard limit. Missing telemetry fields produce warnings where possible. The fixture is a curated simulated subset of existing Inspector-compatible frames, not live hardware evidence.

All functions are deterministic and return structured ControlResult objects.

Boundaries

The package metadata includes explicit not_claimed text:

  • not certified safety
  • not production controller
  • not robot autonomy
  • not hardware validation
  • not firmware or FPGA behavior

Metadata

Release files for eml-control 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for eml-control 0.1.0
File Size Uploaded Provenance Actions
eml_control-0.1.0.tar.gz 10.3 kB Without provenance Details for eml_control-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for eml-control 0.1.0
File Interpreter ABI Platform Actions
eml_control-0.1.0-py3-none-any.whl Python 3 none any Details for eml_control-0.1.0-py3-none-any.whl

Total release size: 20.5 kB

Release files / eml_control-0.1.0.tar.gz

Download URL eml_control-0.1.0.tar.gz
Size 10.3 kB
Tags Source
SHA-256 checksum
How to use checksums
331f12cf3cf17aa62e0b9afc1bfebd3f8f52f091f3bc209ae62e39b301eea897
BLAKE2b-256 checksum
How to use checksums
93cb21cfeb0f9161862603e1ef59e0f5642facd1b27f62704d3aa22c325858f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / eml_control-0.1.0-py3-none-any.whl

Download URL eml_control-0.1.0-py3-none-any.whl
Size 10.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8b0abe8cb8d3534079582211228d2330e9139a0e81d7dee413a8f4c60d0a60ba
BLAKE2b-256 checksum
How to use checksums
f5d3228fef36063259f09622bc39fce63ef3281ae30facf7b57f009d928ecd72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Security for eml-control 0.1.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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page