awesome-repositories.com
Blog
MCP
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
cool-RR avatar

cool-RR/PySnooper

0
View on GitHub↗
16,604 Stars·959 Forks·Python·mit·3 Aufrufe

PySnooper

PySnooper is a diagnostic library for Python that tracks variable values and execution flow to provide a detailed history of program state. By applying decorators to functions, generators, or classes, it logs line-by-line execution and state changes without requiring manual print statements.

The tool distinguishes itself through its ability to monitor nested function calls and concurrent operations in multi-threaded applications. It captures execution context by accessing the current stack frame, allowing for the inspection of local variables and the evaluation of arbitrary expressions during runtime.

The library supports extensive customization of diagnostic output, including the ability to redirect logs to files, streams, or custom destinations. It provides granular control over tracing, enabling users to filter variable contents, adjust output formatting, and manage monitoring scope through environment variables or direct code annotations.

Features

  • Diagnostic - Enables granular tracing of functions, generators, or classes by applying simple decorators to existing source code.
  • Tracing Debuggers - Traces line-by-line execution and variable state changes in Python functions to identify logic errors without manual print statements.
  • Decorator-Based Instrumentation - Uses function decorators to dynamically inject monitoring logic into the execution context for line-by-line tracing.
  • Execution Tracing - Logs line-by-line execution and local variable changes to provide a detailed history of program state.
  • Execution Tracers - Logs line-by-line code execution and local variable changes to provide a detailed history of program state.
  • Diagnostic Execution Tracers - Tracks variable values and execution flow across nested function calls and concurrent threads in Python applications.
  • Variable Inspection Tools - Expands objects, lists, or dictionaries to display internal attributes, keys, or indices during execution.
  • Stack Frame Inspectors - Accesses the current execution stack to extract local variable values and evaluate expressions during runtime.
  • Thread-Annotated Tracers - Annotates trace output with thread identifiers to distinguish between concurrent operations in multi-threaded applications.
  • Thread-Aware Tracers - Captures and attaches unique identifiers to trace events to maintain visibility across concurrent operations.
  • Debugging Tools - Traces code execution without manual print statements.
  • Recursive Call Traversers - Monitors nested function invocations by propagating tracing state through the call stack.
  • Concurrent Execution Monitors - Tracks concurrent operations in multi-threaded applications by annotating execution logs with thread identifiers.
  • Execution Tracing - Utilizes the built-in system for intercepting line-by-line execution to capture state changes without modifying source code.
  • Tracing Control Interfaces - Enables or disables tracing globally or selectively through environment variables and code annotations.
  • Runtime - Evaluates and records the values of specific expressions or variables that exist outside the local scope.
  • Stream Redirection - Redirects diagnostic output to specified files, streams, or custom destinations.
  • Diagnostic Log Routers - Routes diagnostic output through configurable buffers to support writing trace data to files or custom destinations.
  • Trace Customizers - Adjusts output formatting, variable length limits, and custom string representations for complex objects.
  • Debug Logging Management - Sends execution traces to custom destinations when standard error output is insufficient.
  • Custom Log Writers - Allows redirecting diagnostic trace output to custom files, streams, or destinations instead of standard error.
  • Execution Monitors - Tracks the values of specific variables or object attributes that are not local to the current scope.
  • Runtime State Inspectors - Provides runtime inspection of object attributes and dictionary values to help developers understand how data structures evolve during execution.

Star-Verlauf

Star-Verlauf für cool-rr/pysnooperStar-Verlauf für cool-rr/pysnooper

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Open-Source-Alternativen zu PySnooper

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit PySnooper.
  • gruns/icecreamAvatar von gruns

    gruns/icecream

    10,063Auf GitHub ansehen↗

    Icecream is a Python debugging utility designed for inspecting variable values and execution flow during development. It provides a variable inspector that automatically labels values and attaches file and line number metadata to each output. The tool features a builtins injector that adds debugging functions to the global namespace, allowing for universal access across all project files without manual imports. It also includes an inline debugging tool that returns its arguments to the caller, enabling the insertion of inspection calls directly into active expressions without altering program

    Pythondebugdebuggingdebugging-tool
    Auf GitHub ansehen↗10,063
  • langchain-ai/deepagentsAvatar von langchain-ai

    langchain-ai/deepagents

    25,006Auf GitHub ansehen↗

    Deepagents is an LLM agent orchestration platform and stateful application server designed for deploying and managing AI agents built with computational graphs. It provides a containerized runtime environment that handles agent execution, state persistence, and the versioning of AI assistants. The platform distinguishes itself through deep integration with the Model Context Protocol, allowing agents to function as servers that expose tools and capabilities to external clients. It features a sophisticated observability suite for capturing execution traces, performing LLM-based evaluations agai

    Pythonagentsdeepagentslangchain
    Auf GitHub ansehen↗25,006
  • day8/re-frameAvatar von day8

    day8/re-frame

    5,532Auf GitHub ansehen↗

    re-frame is a functional framework for building single-page applications in ClojureScript. It provides a centralized, immutable database that serves as the single source of truth for the entire application state, enforcing a strict unidirectional data flow where events trigger state transitions and subsequent view updates. The framework distinguishes itself through a reactive signal graph and an interceptor-based middleware pipeline. By treating application logic as a sequence of data-driven events and declarative side effects, it decouples business logic from the view layer. This architectur

    Clojureclojurescriptre-framereact
    Auf GitHub ansehen↗5,532
  • nomicfoundation/hardhatAvatar von NomicFoundation

    NomicFoundation/hardhat

    8,489Auf GitHub ansehen↗

    Hardhat is a smart contract development framework and EVM tooling suite designed for the full lifecycle of Ethereum and EVM-compatible applications. It serves as a development environment for compiling, testing, and deploying smart contracts, providing a local blockchain simulation and a programmable task runner. The framework is distinguished by its extensive simulation capabilities, including the ability to fork remote network state and manipulate block time or account balances. It features a hook-based plugin system that allows for the extension of core functionality and the creation of cu

    TypeScriptblockchaindappsdebugging
    Auf GitHub ansehen↗8,489
Alle 30 Alternativen zu PySnooper anzeigen→

Häufig gestellte Fragen

Was macht cool-rr/pysnooper?

PySnooper is a diagnostic library for Python that tracks variable values and execution flow to provide a detailed history of program state. By applying decorators to functions, generators, or classes, it logs line-by-line execution and state changes without requiring manual print statements.

Was sind die Hauptfunktionen von cool-rr/pysnooper?

Die Hauptfunktionen von cool-rr/pysnooper sind: Diagnostic, Tracing Debuggers, Decorator-Based Instrumentation, Execution Tracing, Execution Tracers, Diagnostic Execution Tracers, Variable Inspection Tools, Stack Frame Inspectors.

Welche Open-Source-Alternativen gibt es zu cool-rr/pysnooper?

Open-Source-Alternativen zu cool-rr/pysnooper sind unter anderem: gruns/icecream — Icecream is a Python debugging utility designed for inspecting variable values and execution flow during development.… day8/re-frame — re-frame is a functional framework for building single-page applications in ClojureScript. It provides a centralized,… langchain-ai/deepagents — Deepagents is an LLM agent orchestration platform and stateful application server designed for deploying and managing… nomicfoundation/hardhat — Hardhat is a smart contract development framework and EVM tooling suite designed for the full lifecycle of Ethereum… gaogaotiantian/viztracer — VizTracer is a Python runtime instrumentation system and execution profiler used to trace and visualize code… bettererrors/better_errors — Better Errors is a Rack middleware exception handler and interactive application state inspector for Ruby web…