Python Quick Reference
Use this page for the common 80% workflows. For full signatures and all functions, see Python API Reference.
Source Discovery
Section titled “Source Discovery”from openentropy import detect_available_sources, platform_infosources = detect_available_sources()platform = platform_info()Single-Source Sampling
Section titled “Single-Source Sampling”from openentropy import EntropyPool
pool = EntropyPool.auto()source = pool.source_names()[0]
raw = pool.get_source_raw_bytes(source, 4096)conditioned = pool.get_source_bytes(source, 256, conditioning="sha256")Pool Workflows (advanced)
Section titled “Pool Workflows (advanced)”from openentropy import EntropyPool
pool = EntropyPool.auto()pool.collect_all(parallel=True, timeout=5)data = pool.get_random_bytes(256)raw = pool.get_raw_bytes(256)health = pool.health_report()Dispatcher Analysis
Section titled “Dispatcher Analysis”from openentropy import analyzereport = analyze([("src", data)], profile="deep")Focused Analysis Calls
Section titled “Focused Analysis Calls”from openentropy import full_analysis, chaos_analysis, trial_analysisforensic = full_analysis("src", data)chaos = chaos_analysis(data)trials = trial_analysis(data)Session Workflows
Section titled “Session Workflows”from openentropy import record, list_sessions, load_session_raw_datameta = record(pool, ["clock_jitter"], duration_secs=30.0)sessions = list_sessions("sessions")raw_map = load_session_raw_data(sessions[0]["path"])