$npx skillfedfor your agent

etuples

Python S-expression emulation using tuple-like objects.

With conditionsPyPI Software DevelopmentReleased Jul 20251.3M downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — etuples-0.3.10-py3-none-any.whl
v0.3.10 · released 2025-07-14 · Python >=3.9 · 2 runtime deps: cons, multipledispatch

Yes, if you need S-expression-like symbolic computation in Python. The package is lightweight, has no security vulnerabilities, and carries a permissive license. The aging maintenance status (396 days since last release) is a minor concern for a stable library, but the recent repository activity and lack of open issues suggest it is not abandoned. Install it for expression trees, symbolic manipulation, or meta-programming; skip it if you only need standard tuple operations.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later; CPython and PyPy are both supported.
  • Low friction: pure Python wheel with only two runtime dependencies (cons and multipledispatch).
  • Last release was recent and the repository is actively maintained, though the project shows aging status with no release in the past 396 days.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions, making it suitable for most projects.

last release 2025-07-14 (396 days) · last repo commit 2025-10-20 · 25 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,278,094 downloads/mo, #4,121 on PyPI

Verify before relying

pip install etuples

from operator import add
from etuples import etuple

et = etuple(add, 1, 2)
print(et.evaled_obj)  # 3
  • Whether the caching mechanism scales well with deeply nested or large expression trees.
  • Performance characteristics compared to native Python evaluation for typical use cases.
  • Whether the multipledispatch extension system is documented with real-world examples beyond the basic Node case.
Same gist for agents: .md · .json

What it is and what it does

etuples provides a Python implementation of S-expressions—a Lisp-like notation where code and data are both represented as nested lists—using tuple-like objects. Each etuple wraps an operator (typically a callable) and its operands, and can be evaluated to produce a result. The package caches evaluation results so repeated access to the same etuple returns the same cached object, and tuple operations like slicing preserve both the etuple structure and its cached evaluation.

The package is built on multipledispatch, allowing you to extend rator (operator extraction), rands (operand extraction), and apply (operation application) to work with custom types beyond built-in etuples. This makes it useful for symbolic computation, expression trees, and meta-programming tasks where you need to manipulate and evaluate nested function calls as first-class data structures.

Use it for

  • Build symbolic computation systems where mathematical or logical expressions are data structures that can be inspected, transformed, and evaluated.
  • Implement expression trees for domain-specific languages or interpreters that need to represent and evaluate nested operations.
  • Create meta-programming tools that treat function calls as composable, cacheable objects rather than immediate evaluations.
  • Extend custom node types (like AST nodes) to work with a unified operator/operand extraction and application interface.
  • Prototype Lisp-like or functional programming patterns in Python while maintaining tuple compatibility.

Worth the install?

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

With conditions

Yes, if you need S-expression-like symbolic computation in Python.

The package is lightweight, has no security vulnerabilities, and carries a permissive license. The aging maintenance status (396 days since last release) is a minor concern for a stable library, but the recent repository activity and lack of open issues suggest it is not abandoned. Install it for expression trees, symbolic manipulation, or meta-programming; skip it if you only need standard tuple operations.

Install

etuples on PyPI

Before you install

Low friction: pure Python wheel with only two runtime dependencies (cons and multipledispatch). Last release was recent and the repository is actively maintained, though the project shows aging status with no release in the past 396 days.

Requires Python 3.9 or later; CPython and PyPy are both supported.

License in practice

Apache-2.0 permissive license allows commercial and private use with minimal restrictions, making it suitable for most projects.

Quickstart

pip install etuples

from operator import add
from etuples import etuple

et = etuple(add, 1, 2)
print(et.evaled_obj)  # 3

Verify before relying

  • Whether the caching mechanism scales well with deeply nested or large expression trees.
  • Performance characteristics compared to native Python evaluation for typical use cases.
  • Whether the multipledispatch extension system is documented with real-world examples beyond the basic Node case.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
consmultipledispatch
MaintenanceAging 396 days since the last release
Last repo commit
First released
Downloads1,278,094 / month, #4,121 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersIntended Audience :: Science/ResearchOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPy

Evidence: etuples-0.3.10-py3-none-any.whl

Tags

Capabilities
s-expression tuples pythonexpression evaluation cachinglisp-like tuple objectssymbolic computation tuplesoperator dispatch tuplesetuple expression treesfunctional tuple evaluation
Topics
symbolic-computationexpression-treesmeta-programming

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 › “s-expression tuples python”

  • etuplesProvides S-expression emulation using tuple-like objects that can be…
  • sexpdataParses and serializes S-expressions (Lisp-style symbolic expressions)…
  • snuggsSnuggs evaluates s-expressions (Lisp-like syntax) that operate on…

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 sexpdata · snuggs · cobble · Lazify · multipledispatch · flatten-dict · dask-expr · common-expression-language · lenses