$npx skillfedfor your agent

functools32

Backport of the functools module from Python 3.2.3 for use on 2.7 and PyPy.

SkipPyPI Software DevelopmentReleased Jul 2015371.5K downloads / moPSF licenseSource build

Decision gist · record as of 2026-08-14

sdist only — functools32-3.2.3-2.tar.gz · functools32-3.2.3-2.zip · builds from source
v3.2.3-2 · released 2015-07-11

No, unless you are maintaining a legacy Python 2.7 or PyPy2 codebase that cannot migrate to Python 3. The package is abandoned (last release 2015-07-11, last commit 2017-07-19), and Python 3's functools is built-in. For any new project, use Python 3's standard functools directly.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Python 2.7 or PyPy only; not compatible with Python 3.x (which has functools built-in).
  • High install friction: package has been abandoned since 2015 (last release 2015-07-11, last commit 2017-07-19) and has not been maintained for over 4052 days.
  • Only relevant for legacy Python 2.7 or PyPy codebases still in active use.

License · maintenance · safety

PSF license (permissive) — Licensed under PSF license (permissive), so no licensing restrictions on use or redistribution.

last release 2015-07-11 (4052 days) · last repo commit 2017-07-19 · 52 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 371,465 downloads/mo, #7,170 on PyPI

Verify before relying

pip install functools32

from functools import lru_cache

@lru_cache(maxsize=None)
def expensive_function(x):
    return x * 2
  • Whether this package works correctly with modern PyPy versions or only historical ones.
  • Whether any security issues exist in the Python 2.7 functools implementation that have been patched in Python 3.x since the last release.
  • Current status of Python 2.7 support in active projects using this backport.
Same gist for agents: .md · .json

What it is and what it does

functools32 is a backport of the Python 3.2 functools standard library module for Python 2.7 and PyPy environments. It provides the lru_cache decorator and other functools utilities that were introduced in Python 3.2 but were not available in Python 2.7's standard library. The package has no runtime dependencies and installs as a drop-in replacement for the functools module on Python 2.7.

This package is now obsolete for new projects, as Python 3 has had functools built-in since its inception. It exists only to support legacy codebases that cannot yet migrate away from Python 2.7 or PyPy2. The project has been abandoned, with the last release on 2015-07-11.

Use it for

  • Add lru_cache decorator to Python 2.7 code without rewriting caching logic.
  • Maintain compatibility with Python 3.2+ functools API while running on Python 2.7.
  • Backport a Python 3 library to Python 2.7 that depends on functools.lru_cache.
  • Support PyPy2 environments that need the newer functools interface.

Worth the install?

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

Skip

No, unless you are maintaining a legacy Python 2.7 or PyPy2 codebase that cannot migrate to Python 3.

The package is abandoned (last release 2015-07-11, last commit 2017-07-19), and Python 3's functools is built-in. For any new project, use Python 3's standard functools directly.

Install

functools32 on PyPI

Before you install

High install friction: package has been abandoned since 2015 (last release 2015-07-11, last commit 2017-07-19) and has not been maintained for over 4052 days. Only relevant for legacy Python 2.7 or PyPy codebases still in active use.

Python 2.7 or PyPy only; not compatible with Python 3.x (which has functools built-in).

License in practice

Licensed under PSF license (permissive), so no licensing restrictions on use or redistribution.

Quickstart

pip install functools32

from functools import lru_cache

@lru_cache(maxsize=None)
def expensive_function(x):
    return x * 2

Verify before relying

  • Whether this package works correctly with modern PyPy versions or only historical ones.
  • Whether any security issues exist in the Python 2.7 functools implementation that have been patched in Python 3.x since the last release.
  • Current status of Python 2.7 support in active projects using this backport.

Package facts

LicensePSF license permissive
Python supportNot specified
Install frictionHigh. Source build required
Runtime dependenciesNone
MaintenanceAbandoned 4,052 days since the last release
Last repo commit
First released
Downloads371,465 / month, #7,170 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: functools32-3.2.3-2.tar.gz; functools32-3.2.3-2.zip

Tags

Capabilities
functools backport python 2.7lru_cache decorator python 2python 3.2 functools python 2least recently used cache pythonfunctools32 lru cachepython 2.7 functools module
Topics
python-2-legacybackport

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 › “functools backport python 2.7”

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 backports.functools-lru-cache · cachetools · methodtools · async-lru · linecache2 · pylru · memoization · singledispatch · subprocess32 · fastcore