{"library":"beniget","type":"library","category":null,"description":"Beniget is a static analyzer for Python code, providing compile-time analyses on Python Abstract Syntax Tree (AST). It offers over-approximation of global and local definitions and can compute def-use chains. It serves as a foundational building block for writing static analyzers or compilers for Python, relying on `gast` for cross-version AST abstraction and also supporting the standard library `ast` since version 0.5.0. It is actively maintained with periodic updates.","language":"python","status":"active","version":"0.5.0","tags":["static analysis","AST","code analysis","python","developer tool"],"last_verified":"Fri May 22","install":[{"cmd":"pip install beniget","imports":["from beniget import Ancestors","from beniget import DefUseChains","from beniget import UseDefChains","import beniget, gast as ast"]}],"homepage":null,"github":"https://github.com/serge-sans-paille/beniget","docs":null,"changelog":null,"pypi":"https://pypi.org/project/beniget/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.6,"avg_import_s":0.03,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/beniget/compatibility"}}