Diastatic Malt (pypi-slug: `diastatic-malt`) is a Python library (current version 2.15.3) designed for source-to-source transformations and operator overloading, including the ability to overload built-in Python keywords. It allows for transforming regular Python code into a new form suitable for specific purposes, such as program capture. The library's core functionalities are adapted from TensorFlow's AutoGraph module, aiming to provide similar capabilities without a direct TensorFlow dependency. Releases are infrequent and tied to internal needs, with minor versions released as changes are integrated.
pip install diastatic-maltVerified import paths — ran on the pinned version, not inferred.
Diastatic Malt's quickstart revolves around its core capability: source-to-source transformations and operator overloading. Due to its nature as a foundational tool (derived from TensorFlow's AutoGraph), a simple, universally applicable 'hello world' style code snippet is not readily available or indicative of its true usage. The typical flow involves importing the library and then applying its transformation mechanisms to user-defined Python code or functions to alter their runtime behavior or enable specific operator overloads. Users are expected to interact with its API to define and apply these transformations.
If your project implicitly or explicitly relied on `gast` being a transitive dependency of `diastatic-malt`, you will need to update your imports or direct dependencies to use Python's built-in `ast` module or explicitly include `gast` in your project's dependencies if still required for other reasons. The change aims for better compatibility and reduced dependencies.
Always qualify searches with 'python library' or refer to the PyPI/GitHub project directly to ensure you are consulting information relevant to the software package.
No dependency data recorded yet.