Skip to content

mpat 0.1.0

Choose a tag to compare

@yudelevi yudelevi released this 09 Sep 21:19
· 19 commits to main since this release

First usable release.

  • @patch(target, depends_on=..., until=..., on_drift=..., review_by=..., note=...) and watch(target, ...)
  • Fingerprints from the installed source file via ast, never from live objects
  • mpat.lock: TOML, keyed tables, atomic write
  • mpat lock, mpat check [--json], mpat show; exit codes 0/1/2
  • Drift statuses: ok, missing, moved, signature, body, value, no_source, unlocked, stale, review
  • mpat.testing: generated pytest tests for drift and for patches whose until condition flipped
  • Denylist for security-critical modules, overridable only via [tool.mpat] allow
  • Python 3.11 to 3.14, typed (py.typed)

Docs: https://monkeypat.ch