
Package index
Air-Gapped Container Lifecycle, Hardware Sizing & Benchmarking
Generate pinned, network-isolated Docker and HPC Apptainer configurations, verify model SHA-256 digests, auto-tune local hardware, and benchmark runtime throughput.
-
airgap_container_spec() - Define a Hardened Air-Gapped Local LLM Container Specification
-
emit_docker_run() - Emit a Hardened
docker runCommand -
emit_docker_compose() - Emit a Hardened Docker Compose YAML Configuration
-
emit_apptainer_def() - Emit an HPC Apptainer Definition File (
.def) -
verify_model_digest() - Verify SHA-256 Digests of Local Model Weights
-
is_loopback_endpoint() - Classify and Validate Whether an Endpoint Is Strictly Local / Loopback
-
preflight_isolation_check() - Run Pre-Flight Air-Gap Isolation and Integrity Verification
-
estimate_vram_requirements() - Estimate GPU VRAM Requirements for Local Open-Weights LLM Deployment
-
recommend_runtime_config() - Recommend Optimal Local LLM Configuration for Workstation or HPC Hardware
-
benchmark_local_runtime() - Benchmark Throughput, Latency Quantiles, and Retry Rate on a Local Runtime
Pre-Inference Privacy, PII & k-Anonymity Risk Engine
Deterministic pure-R PII detection, HIPAA Safe Harbor rules (ages > 89 & restricted ZIP3), zero-PII pre-run audits, and quasi-identifier k-anonymity / l-diversity export controls.
-
pii_default_entities() - Default Built-In PII Entity Types
-
hipaa_restricted_zip3() - HIPAA Safe Harbor Restricted 3-Digit US ZIP Prefixes (45 CFR 164.514(b)(2))
-
pii_config() - Configure Pre-Inference PII Detection and Redaction Rules
-
pii_detect() - Detect PII Entities in Character Text
-
pii_redact() - Redact Detected PII Entities from Text
-
pii_privacy_report() - Generate a Pre-Run Privacy Coverage Report Without Leaking Raw PII
-
pii_audit_dataframe() - Pre-Inference Privacy Dry-Run Audit for Research Data Frames
-
assess_reidentification_risk() - Assess Quasi-Identifier Re-Identification Risk (k-Anonymity & l-Diversity)
-
apply_k_anonymity() - Enforce k-Anonymity (and Optional l-Diversity) on a Research Table
Keyed Pseudonymization & Encrypted Vaults
Reversible RFC 5869 HKDF-SHA256 + HMAC-SHA256 pseudonymization with AES-256-CBC Encrypt-then-MAC vaults and atomic key rotation.
-
pii_vault_key() - Generate a Cryptographic Secret Key for PII Pseudonymization Vaults
-
pii_pseudonymize() - Keyed Deterministic Reversible PII Pseudonymization (HMAC-SHA256)
-
pii_reidentify() - Re-Identify Pseudonymized Text Using a Local Mapping Vault
-
pii_vault_save() - Save a PII Pseudonymization Vault to a Separate Local File
-
pii_vault_load() - Load a Saved PII Pseudonymization Vault from Disk
-
pii_vault_rotate_key() - Atomically Rotate the Master Encryption Key of a PII Vault
Resumable Schema-Enforced & Consensus Batch Extraction
Long-transcript chunking, strict typed schemas, automated structured repair retries, atomic JSONL crash-resumable batch extraction, and multi-pass self-consistency consensus coding.
-
chunk_clinical_texts() - Deterministic Overlapping Chunker for Long Clinical Transcripts
-
schema_field() - Define a Strictly Typed Field in an Extraction Schema
-
extraction_schema() - Define a Strict Structured Extraction Schema
-
as_json_schema() - Convert an
airgap_schemato a Standard JSON Schema Object -
validate_extraction() - Validate a Raw Model Output Against an
airgap_schema -
build_repair_prompt() - Build a Structured Repair Prompt for Malformed Model Outputs
-
airgap_extract() - Run Crash-Resumable, Schema-Enforced Batch Extraction Over a Data Frame
-
extraction_manifest()extraction_privacy_report()extraction_preflight()extraction_vault()extraction_throughput() - Access Run Provenance and Privacy Metadata from an
airgap_extraction -
airgap_extract_consensus() - Multi-Pass Consensus & Self-Consistency Structured Batch Extraction
-
consensus_passes()consensus_diagnostics() - Access Long-Format Passes and Per-Field Diagnostics from Consensus Extractions
Local Air-Gapped Inference Runtimes
Loopback-only local HTTP backends (Ollama, llama.cpp, vLLM) and deterministic offline mock runtime.
-
runtime_ollama() - Configure a Local Air-Gapped Ollama Runtime
-
runtime_openai_local() - Configure a Local Air-Gapped OpenAI-Compatible Runtime (
llama.cpp/vLLM) -
runtime_mock() - Configure a Deterministic Offline Mock Runtime
Immutable Audit Trail & IRB Compliance Documentation
Tamper-evident SHA-256 hash-chained JSONL logs, IRB/HIPAA/FERPA narrative generation, and sealed compliance packets.
-
audit_log_append() - Append a Tamper-Evident Entry to an Immutable JSONL Audit Log
-
audit_log_read() - Read Entries from an Immutable JSONL Audit Log
-
audit_log_verify() - Verify Cryptographic Integrity and Zero-PII Invariants of an Audit Log
-
generate_irb_narrative() - Generate Ready-to-Paste IRB / HIPAA Methods & Data-Security Documentation
-
export_irb_compliance_packet() - Export a Self-Contained, Strictly PII-Free IRB / HIPAA Compliance Packet
Datasets & Package Overview
Bundled 100% synthetic clinical/EMA/educational dataset and package documentation.
-
synthetic_notes - Synthetic Clinical, EMA, and Educational Research Notes Dataset
-
airgapllmairgapllm-package - airgapllm: Verifiably Offline Local Large Language Model Workflows