github Romelium/mpatch v1.6.4

3 hours ago

Added

  • Python Bindings: Introduced official Python bindings via PyO3. The mpatch package is now available on PyPI!
    • Exposes a rich, object-oriented, and fully typed API (with .pyi stubs) for tool builders and AI agent frameworks.
    • Provides high-level convenience functions (patch_content, apply_directory) and granular control over patches and hunks.
    • Includes pre-compiled wheels for Linux, macOS, and Windows, with support for Python 3.8+ and Python 3.13 free-threaded builds.
    • Implements Pythonic paradigms like slicing, unary inversion (~patch), and native exceptions (ParseError, PathTraversalError).

🆚 Compare changes

Don't miss a new mpatch release

NewReleases is sending notifications on new releases.