Condensate / membrane.py
Executor-Tyrant-Framework's picture
Condensate v2: Full Rust conversion — 12 modules, 105 tests, zero Python inflation
4b6e841
raw
history blame contribute delete
665 Bytes
"""Condensate Membrane — thin orchestration wrapper.
The data path is Rust. This module provides the Python API
for starting, stopping, and monitoring Condensate.
"""
import condensate_core
class Membrane:
"""Orchestration wrapper. Data path is Rust."""
def __init__(self):
self._active = False
def start(self):
"""Enable membrane observation."""
self._active = True
def stop(self):
"""Disable membrane."""
self._active = False
@property
def active(self):
return self._active
def status(self):
"""Return current membrane status."""
return {"active": self._active}