{"id":5618,"library":"executing","title":"Executing","description":"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.","status":"active","version":"2.2.1","language":"python","source_language":"en","source_url":"https://github.com/alexmojaki/executing","tags":["AST","Python","executing"],"install":[{"cmd":"pip install executing","lang":"bash","label":"Install Executing"}],"dependencies":[],"imports":[{"wrong":"from executing import get_ast_node","symbol":"Executing","correct":"from executing import Executing"},{"symbol":"Source","correct":"from executing import Source"},{"symbol":"cache","correct":"from executing import cache"}],"quickstart":{"code":"from executing import get_ast_node\nimport os\n\nnode = get_ast_node(os.environ.get('FRAME', ''))\nprint(node)","lang":"python","description":"Quick start to retrieve the currently executing AST node."},"warnings":[{"fix":"Update your code to adapt to the new source position changes.","message":"Post 2.1.0, there are breaking changes related to Python 3.12.5 source position handling.","severity":"breaking","affected_versions":">=2.1.0"},{"fix":"Upgrade your Python version to meet the requirements.","message":"Ensure you are using Python 3.8 or later, as earlier versions are not supported.","severity":"gotcha","affected_versions":"<3.8"}],"env_vars":null,"search_vec":"'2.2.1':24 'address':34 'ast':11,38 'cadenc':31 'compat':35 'current':9,21 'execut':1,2,10,40 'frame':15 'get':7 'inform':19 'librari':5 'node':12 'perform':37 'python':39 'regular':29 'relat':18 'releas':30 'updat':33 'version':22","created_at":"2026-04-14T03:36:26.920355+00:00","updated_at":"2026-04-18T10:30:07.478458+00:00","problems":null,"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"2.2.1","cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/alexmojaki/executing","docs":null,"changelog":null,"pypi":"https://pypi.org/project/executing/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-06-30","last_verified":"2026-08-30","next_check":"2026-07-30","install_tag":null}}