$npx skillfedfor your agent

diastatic-malt

A library for Python operator overloading

With conditionsPyPI Software DevelopmentReleased Mar 2026330.0K downloads / moApache License 2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — diastatic_malt-2.15.3-py3-none-any.whl
v2.15.3 · released 2026-03-09 · Python >=3.9 · 1 runtime deps: termcolor

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—it is a specialized tool, not a general utility.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later (supports 3.9, 3.10, 3.11).
  • Low friction: pure Python wheel with a single runtime dependency (termcolor).
  • Active maintenance with last commit 2026-03-18 and classified as Production/Stable.

License · maintenance · safety

Apache License 2.0 (permissive) — Apache License 2.0 is permissive, allowing commercial and private use with minimal restrictions. You must include a copy of the license and state significant changes, but can use the code freely.

last release 2026-03-09 (158 days) · last repo commit 2026-03-18 · 9 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 329,952 downloads/mo, #7,541 on PyPI

Verify before relying

pip install diastatic-malt

import diastatic_malt
# Use the library's transformation capabilities on your Python code
  • What specific transformation capabilities are available beyond operator overloading and keyword overloading.
  • Whether the AutoGraph functionality ported from TensorFlow is feature-complete or has limitations.
  • Real-world performance characteristics and overhead of the transformations.
Same gist for agents: .md · .json

What it is and 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.

The 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.

Use it for

  • 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.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

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—it is a specialized tool, not a general utility.

Install

diastatic-malt on PyPI

Before you install

Low friction: pure Python wheel with a single runtime dependency (termcolor). Active maintenance with last commit 2026-03-18 and classified as Production/Stable.

Requires Python 3.9 or later (supports 3.9, 3.10, 3.11).

License in practice

Apache License 2.0 is permissive, allowing commercial and private use with minimal restrictions. You must include a copy of the license and state significant changes, but can use the code freely.

Quickstart

pip install diastatic-malt

import diastatic_malt
# Use the library's transformation capabilities on your Python code

Verify before relying

  • What specific transformation capabilities are available beyond operator overloading and keyword overloading.
  • Whether the AutoGraph functionality ported from TensorFlow is feature-complete or has limitations.
  • Real-world performance characteristics and overhead of the transformations.

Package facts

LicenseApache License 2.0 permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
termcolor
MaintenanceActively maintained 158 days since the last release
Last repo commit
First released
Downloads329,952 / month, #7,541 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseNatural Language :: EnglishProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.9

Evidence: diastatic_malt-2.15.3-py3-none-any.whl

Tags

Capabilities
python source code transformationoperator overloading librarypython keyword overloadingautograph without tensorflowcode metaprogramming pythonast transformation toolprogram capture python
Topics
metaprogrammingcode-transformationoperator-overloading

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “operator overloading library”

  • diastatic-maltDiastaticMalt performs source-to-source transformations and operator…
  • pipePipe enables shell-like infix syntax for chaining operations on…
  • yarlyarl provides an immutable URL class for parsing, decomposing, and…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also overloading · tensorflow-estimator · tensorflow-transform · tensorflow-probability · pyccolo · multipledispatch · imgaug · einshape · dbt-core · dbt