{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/9"}],"enrichment":{"capability":"DiastaticMalt performs source-to-source transformations and operator overloading in Python, including overloading of built-in keywords, to convert regular Python code into alternative forms suited for specific purposes like program capture.","skillfed_tags":["metaprogramming","code-transformation","operator-overloading"],"use_cases":["Transform Python code for specialized execution contexts without depending on the full TensorFlow library.","Implement custom operator overloading to intercept and modify how Python expressions are evaluated.","Build program capture or tracing systems that need to intercept keyword behavior.","Create domain-specific languages or embedded DSLs that require fine-grained control over Python semantics.","Develop debugging or profiling tools that need to instrument Python code at the source level."],"what_it_does":"DiastaticMalt is a Python metaprogramming library that performs source-to-source code transformations and operator overloading, including the ability to overload built-in Python keywords. It is derived from TensorFlow's AutoGraph module (under Apache 2.0 license) but operates as a standalone library without requiring TensorFlow as a dependency. The library transforms regular Python code into alternative forms optimized for specific use cases, such as program capture or specialized execution contexts.\n\nThe package is lightweight, depending only on termcolor for output formatting, and targets modern Python versions (3.9+). It is maintained by the PennyLane team and classified as Production/Stable, making it suitable for use in projects that need fine-grained control over how Python code is executed or analyzed at runtime.","worth_installing":"Yes, if you need source-to-source code transformation or operator overloading in Python. Low install friction, active maintenance, no known vulnerabilities, and permissive licensing make it a safe choice. The main consideration is whether your use case actually requires the transformation capabilities it provides\u2014it is a specialized tool, not a general utility."},"id":"diastatic-malt","links":{"html":"https://skillfed.io/packages/diastatic-malt","md":"https://skillfed.io/packages/diastatic-malt.md","pypi":"https://pypi.org/project/diastatic-malt/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-03-09","license_spdx":null,"license_treatment":"permissive","name":"diastatic-malt","python_support":"supports_current","summary":"A library for Python operator overloading"},"popularity":{"monthly_downloads":329952,"position":7541,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.15.3"}
