Executing

2.2.1 · active · verified Sun Oct 01

Executing is a library for getting the currently executing AST node of a frame and other related information. The current version is 2.2.1, and it has a regular release cadence with updates addressing compatibility and performance.

Warnings

Install

Imports

Quickstart

Quick start to retrieve the currently executing AST node.

from executing import get_ast_node
import os

node = get_ast_node(os.environ.get('FRAME', ''))
print(node)

view raw JSON →