{"library":"varname","type":"library","category":null,"description":"Varname is a Python library that provides 'dark magics' to retrieve the names of variables, arguments, and expressions at runtime. It's currently at version 0.15.1, offering functions like `varname()`, `nameof()`, and `argname()` to simplify introspection and debugging. The library maintains an active release cadence, with recent updates focusing on improved expression parsing and Python version compatibility.","language":"python","status":"active","version":"0.15.1","tags":["introspection","debugging","metaprogramming","variable names","AST"],"last_verified":"Mon May 25","install":[{"cmd":"pip install varname","imports":["from varname import varname","from varname import nameof","from varname import argname","from varname.helpers import jsobj","from varname.helpers import exec_code","from varname.helpers import Wrapper"]}],"homepage":null,"github":"https://github.com/pwwang/python-varname","docs":null,"changelog":null,"pypi":"https://pypi.org/project/varname/","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.7,"avg_import_s":0.06,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/varname/compatibility"}}