2 个仓库
Libraries that provide APIs for runtime introspection and extraction of private or inherited object attributes.
Distinct from Python Navigation Libraries: Existing Python library candidates are focused on serialization, TUI, or navigation, not general object reflection.
Explore 2 awesome GitHub repositories matching programming languages & runtimes · Object Reflection Libraries. Refine with filters or upvote what's useful.
Object-reflector 是一个 Python 对象反射库和动态属性访问工具。它作为一个对象属性提取器,旨在运行时从对象的内部状态和继承层次结构中检索值。 该库提供了访问和提取私有、受保护及继承对象属性的能力,无论属性的可见性如何,都能对其进行检查。 该项目涵盖了软件调试工作流、自动化测试工具以及通用的 Python 运行时反射等领域,无需修改源代码即可分析对象属性。
Provides a specialized library for accessing and extracting private, protected, and inherited Python object attributes.
libextobjc 是一个 Objective-C 语言扩展库和运行时工具集,提供了函数式编程模式和高级动态特性。它是一系列用于方法注入、类反射和静态分析的实用工具集合,旨在帮助防止运行时崩溃。 该库支持在编译时生成代数数据类型,并提供了一种机制,用于为类别 (categories) 中定义的属性合成支持实例变量。它还实现了协议默认行为,并提供了在编译过程中验证键路径 (key paths) 和选择器 (selectors) 的工具。 该项目涵盖了更广泛的功能领域,包括通过基于块 (block-based) 的协程进行异步流控制,以及自动清理资源并减轻块作用域内引用循环的内存管理工具。它还包括用于运行时方法注入和对象反射的工具,以分析类层次结构和属性。
Provides advanced runtime introspection and method injection to analyze class hierarchies and properties.