PySealer (v1.0.4) cryptographically signs Python functions and classes to provide defense-in-depth security against code injection and tampering. It allows developers to seal callables with HMAC signatures verified at runtime. Active development on GitHub, monthly releases.
pip install pysealerVerified import paths — ran on the pinned version, not inferred.
Seal a function with HMAC key and verify before execution.
Use a named function or class defined via def or class statement.
Store the key safely (e.g., environment variable, secrets manager) and never hardcode in source.
Replace `seal_with_env_var('MY_KEY')` with `seal(key=os.getenv('MY_KEY'))`.No dependency data recorded yet.