{"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":"en","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":[{"note":"Ensure to import from the correct module.","symbol":"get_ast_node","correct":"from executing import get_ast_node"}],"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,"last_verified":"2023-10-01T00:00:00.000Z","next_check":"2024-01-01T00:00:00.000Z"}