$npx skillfedfor your agent

codefind

Find code objects and their referents

With conditionsPyPI Software DevelopmentReleased Sep 2024571.8K downloads / moPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — codefind-0.1.7-py3-none-any.whl
v0.1.7 · released 2024-09-08 · Python >=3.8

Yes, if you are building a hot-reload or live-coding tool and accept the maintenance risk. The package is lightweight, has no dependencies, and solves a specific low-level problem well. However, maintenance is dormant, licensing is undeclared, and it is a niche tool—install only if you have a concrete use case and can tolerate lack of active support.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.8 or later.
  • Low install friction with no runtime dependencies.
  • Maintenance is dormant—last commit was 2024-09-08 with only 3 repository stars, so expect no active support or updates.

License · maintenance · safety

(unclear) — License status is unclear; the package declares neither SPDX nor raw license metadata. Verify licensing terms before use in proprietary or restricted contexts.

last release 2024-09-08 (705 days) · last repo commit 2024-09-08 · 3 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 571,784 downloads/mo, #5,947 on PyPI

Verify before relying

pip install codefind
from codefind import find_code, get_functions, conform

def f(x):
    return x + x

code_obj = find_code("f", filename=__file__)
funcs = get_functions(code_obj)
conform(f, lambda x: x * x)  # Replace f's code
  • Whether the package works reliably across Python 3.8 through current versions despite dormant maintenance.
  • Actual license terms—SPDX and raw license fields are null, creating ambiguity for distribution.
  • Whether conform() safely handles all closure types and edge cases in production use.
Same gist for agents: .md · .json

What it is and what it does

Codefind is a low-level introspection and code-patching library that lets you locate Python code objects by their qualified name or filename, find all function instances that share the same code object, and dynamically replace a function's code with another's. It has no runtime dependencies and installs cleanly.

The package is primarily used as a building block for hot-reload and live-coding tools (notably jurigged). It exposes three main operations: find_code() to retrieve a code object from a module, get_functions() to enumerate all functions referencing a given code object, and conform() to swap one function's code for another's. This enables runtime patching of functions and their closures without reloading modules.

Use it for

  • Hot-reload and live-coding frameworks that need to update function implementations without restarting.
  • Interactive development environments where you want to patch a function's behavior on the fly.
  • Debugging tools that need to locate and inspect code objects by their qualified name.
  • Testing frameworks that need to replace function implementations during test execution.
  • Closure introspection when you need to find all instances of a closure created by a factory function.

Worth the install?

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

With conditions

Yes, if you are building a hot-reload or live-coding tool and accept the maintenance risk.

The package is lightweight, has no dependencies, and solves a specific low-level problem well. However, maintenance is dormant, licensing is undeclared, and it is a niche tool—install only if you have a concrete use case and can tolerate lack of active support.

Install

codefind on PyPI

Before you install

Low install friction with no runtime dependencies. Maintenance is dormant—last commit was 2024-09-08 with only 3 repository stars, so expect no active support or updates.

Requires Python 3.8 or later.

License in practice

License status is unclear; the package declares neither SPDX nor raw license metadata. Verify licensing terms before use in proprietary or restricted contexts.

Quickstart

pip install codefind
from codefind import find_code, get_functions, conform

def f(x):
    return x + x

code_obj = find_code("f", filename=__file__)
funcs = get_functions(code_obj)
conform(f, lambda x: x * x)  # Replace f's code

Verify before relying

  • Whether the package works reliably across Python 3.8 through current versions despite dormant maintenance.
  • Actual license terms—SPDX and raw license fields are null, creating ambiguity for distribution.
  • Whether conform() safely handles all closure types and edge cases in production use.

Package facts

LicenseNot declared unclear
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceDormant 705 days since the last release
Last repo commit
First released
Downloads571,784 / month, #5,947 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: codefind-0.1.7-py3-none-any.whl

Tags

Capabilities
find code objects by namelocate function code objectsruntime code replacementfunction code patchingget functions from code objectdynamic function replacement
Topics
code-introspectionhot-reloadruntime-patching

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 › “find code objects by name”

  • codefindCodefind locates code objects by filename and qualified name,…
  • findpythonLocates Python interpreters on your system by version, architecture,…
  • find-exeFinds executables on the system matching specified criteria, such as…

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 jurigged · qualname · autopep8 · ovld · locate · rootpath · ipynbname · wrapt · lib-detect-testenv · rootutils