$npx skillfedfor your agent

makefun

Small library to dynamically create python functions.

Worth itPyPI Python ModulesReleased May 202517.9M downloads / moBSD 3-ClausePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — makefun-1.16.0-py2.py3-none-any.whl
v1.16.0 · released 2025-05-09 · 1 runtime deps: funcsigs

Yes. The package is stable, has low install friction, carries no known vulnerabilities, and solves a specific metaprogramming need cleanly. Its single dependency and permissive license make it safe to include. The aging maintenance status (462 days since release) is not a blocker for a mature, focused library, but verify it meets your Python version and use-case requirements before adopting.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction install with a single lightweight dependency (funcsigs).
  • Last release was recent (2025-05-09) and the repository remains active with a commit as recent as 2025-05-14, though the package is aging relative to its first release in 2019.

License · maintenance · safety

BSD 3-Clause (permissive) — BSD 3-Clause is permissive; you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

last release 2025-05-09 (462 days) · last repo commit 2025-05-14 · 135 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 17,855,731 downloads/mo, #1,101 on PyPI

Verify before relying

pip install makefun

from makefun import wraps

@wraps(original_function)
def wrapper(*args, **kwargs):
    return original_function(*args, **kwargs)
  • Whether the package's aging status (462 days since last release) affects stability or feature completeness for current Python versions.
  • Specific use cases where dynamic function generation is preferable to alternatives like functools.wraps or inspect-based approaches.
Same gist for agents: .md · .json

What it is and what it does

makefun is a small library for programmatically creating Python functions with custom signatures at runtime. It solves the problem of generating wrapper functions and decorators without writing repetitive boilerplate code—useful when you need to preserve or modify function signatures dynamically, such as in testing frameworks, metaprogramming, or API wrappers.

The package depends only on funcsigs and is classified as Production/Stable. It supports Python 3.9 through 3.13 and is positioned as a developer tool for building other libraries and frameworks that need to generate functions on the fly.

Use it for

  • Creating decorators that preserve the original function's signature for better introspection and documentation.
  • Building test fixtures or mocks that need to match the exact signature of functions they replace.
  • Generating wrapper functions programmatically in metaprogramming or code generation scenarios.
  • Building API client libraries that dynamically create methods matching remote service signatures.

Worth the install?

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

Worth it

Yes.

The package is stable, has low install friction, carries no known vulnerabilities, and solves a specific metaprogramming need cleanly. Its single dependency and permissive license make it safe to include. The aging maintenance status (462 days since release) is not a blocker for a mature, focused library, but verify it meets your Python version and use-case requirements before adopting.

Install

makefun on PyPI

Before you install

Low friction install with a single lightweight dependency (funcsigs). Last release was recent (2025-05-09) and the repository remains active with a commit as recent as 2025-05-14, though the package is aging relative to its first release in 2019.

License in practice

BSD 3-Clause is permissive; you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

Quickstart

pip install makefun

from makefun import wraps

@wraps(original_function)
def wrapper(*args, **kwargs):
    return original_function(*args, **kwargs)

Verify before relying

  • Whether the package's aging status (462 days since last release) affects stability or feature completeness for current Python versions.
  • Specific use cases where dynamic function generation is preferable to alternatives like functools.wraps or inspect-based approaches.

Package facts

LicenseBSD 3-Clause permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
funcsigs
MaintenanceAging 462 days since the last release
Last repo commit
First released
Downloads17,855,731 / month, #1,101 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 :: BSD LicenseProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python Modules

Evidence: makefun-1.16.0-py2.py3-none-any.whl

Tags

Capabilities
dynamic function generationcreate functions at runtimeprogrammatic function signaturesdecorator wrapper generationfunction factory library
Topics
metaprogrammingfunction-generationdecorator-tools
PyPI keywords
decoratedecoratorcompilemakedynamicfunctiongenerategenerationdefinedefinitionsignatureargswrapperwraps

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 › “dynamic function generation”

  • makefunDynamically creates Python functions at runtime with custom…
  • banksBanks is a template language and prompt management system for…
  • Cheetah3Cheetah3 is a template engine and code generator that transforms…

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

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also decopatch · wrapt · decorator · parameter-decorators · sigtools · logfury · fastapi-decorators · gin-config · undecorated · singleton-decorator