# python-lens **Repository Path**: sighingnow/python-lens ## Basic Information - **Project Name**: python-lens - **Description**: Lens that inspect the internals of CPython objects and runtimes. - **Primary Language**: Python - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-03-05 - **Last Updated**: 2022-03-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # python-lens Lens that inspect the internals of CPython objects and the runtime. ## Usage + Inspect the `allocated` field of `PyListObject`: ```python import lens.python as lens print(lens.inspect([0, 0, 0])) print(lens.inspect([0] * 3)) print(lens.inspect([0 for _ in range(3)])) ``` ## License MIT License Copyright (c) 2022 Tao He