awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

7 个仓库

Awesome GitHub RepositoriesMagic Method Implementations

Overrides built-in methods to control object construction, access, and operator behavior.

Distinguishing note: None of the candidates relate to language-level magic method implementation.

Explore 7 awesome GitHub repositories matching programming languages & runtimes · Magic Method Implementations. Refine with filters or upvote what's useful.

Awesome Magic Method Implementations GitHub Repositories

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • walter201230/pythonwalter201230 的头像

    walter201230/Python

    26,516在 GitHub 上查看↗

    Python is a high-level, interpreted programming language designed for readability and versatility. It operates via a bytecode-based virtual machine and manages memory automatically through reference-counting garbage collection. The language supports multiple programming paradigms, including object-oriented, imperative, and functional styles, and provides a comprehensive standard library for system operations, networking, and data handling. The language is distinguished by its dynamic nature, allowing for runtime object introspection and metaclass-driven class creation. It utilizes protocol-ba

    Customizes object behavior and interaction with language operators through special methods.

    Pythonpythonpython3
    在 GitHub 上查看↗26,516
  • phpstan/phpstanphpstan 的头像

    phpstan/phpstan

    13,999在 GitHub 上查看↗

    This project is a static analysis engine and type checker designed for PHP codebases. It evaluates source code structure and type annotations to identify potential bugs, type mismatches, and logic errors without executing the application. By parsing code into an abstract syntax tree and applying a rule-based validation framework, it enforces code quality and safety standards across a project. What distinguishes this tool is its sophisticated type inference engine, which models dynamic language features, magic methods, and conditional types to maintain accuracy even in unconventional code. It

    The static analysis tool declares properties and methods that are handled dynamically via magic methods to ensure static analysis recognizes them as valid members.

    PHPphpphp7phpstan
    在 GitHub 上查看↗13,999
  • sunnyyoung/wechattweaksunnyyoung 的头像

    sunnyyoung/WeChatTweak

    13,742在 GitHub 上查看↗

    WeChatTweak is a desktop application modifier designed to extend the functionality of the WeChat messaging client. It operates by injecting custom code into the application's runtime environment to alter its behavior, allowing users to bypass native constraints and manage their messaging experience with greater control. The tool enables users to run multiple instances of the messaging client simultaneously on a single machine, facilitating concurrent session management for different accounts. It also provides mechanisms to preserve message history by intercepting and retaining content that th

    Intercepts and replaces application function implementations at runtime using method swizzling.

    Swiftalfredalfred-workflowmacos
    在 GitHub 上查看↗13,742
  • mockery/mockerymockery 的头像

    mockery/mockery

    10,724在 GitHub 上查看↗

    Mockery is a PHP framework designed for creating test doubles, stubs, and spies to facilitate isolated unit testing. It serves as a utility for simulating class behavior, intercepting method calls, and validating arguments, allowing developers to replace real dependencies with mock objects to verify that code components interact as intended. The framework distinguishes itself through advanced capabilities for handling complex testing scenarios, such as bypassing constructors, mocking protected methods, and intercepting static calls or internal object instantiations. It provides a fluent inter

    Simulates magic method behavior by intercepting calls to virtual methods and properties during testing.

    PHPmockmockerymocking
    在 GitHub 上查看↗10,724
  • piglei/one-python-craftsmanpiglei 的头像

    piglei/one-python-craftsman

    7,211在 GitHub 上查看↗

    This project is a comprehensive Python coding guide and software engineering resource focused on professional development practices. It provides a detailed collection of idiomatic techniques, design patterns, and architectural strategies to improve code quality and maintainability. The guide emphasizes advanced design patterns such as dependency injection, data-driven design, and the application of SOLID principles for object-oriented design. It distinguishes itself by covering sophisticated structural strategies, including class-based decorators, the separation of interfaces from implementat

    Demonstrates how to implement magic methods to customize object slicing, string formatting, and data class behavior.

    articlesbookpython
    在 GitHub 上查看↗7,211
  • facebook/pyreflyfacebook 的头像

    facebook/pyrefly

    5,390在 GitHub 上查看↗

    Pyrefly is a static type checker for Python that operates as a language server, delivering real-time diagnostics, completions, and navigation in any editor supporting the Language Server Protocol. It also performs static tensor shape analysis, using symbolic dimension variables and arithmetic to verify shape consistency in deep learning models without runtime execution. Beyond core type checking, Pyrefly supports gradual adoption workflows: it can generate a baseline of known errors so only new issues are reported, migrate configuration from other type checkers, and automatically suppress exi

    Declares tensor shapes with symbolic dimension variables and arithmetic for static shape consistency.

    Rustcode-qualitycontributions-welcomegood-first-issue
    在 GitHub 上查看↗5,390
  • realpython/materialsrealpython 的头像

    realpython/materials

    5,173在 GitHub 上查看↗

    本项目是一个全面的 Python 编程教育材料合集,包括教程、练习与精选代码示例。它作为一个学习课程与软件工程工具包,利用 Jupyter Notebooks 将可执行代码与描述性教育文本相结合。 该仓库提供了构建大语言模型应用的实践指南,例如检索增强生成(RAG)系统、有状态 AI 代理与机器学习工作流。它通过提供结构化的代理编码工作流脱颖而出,涵盖了上下文窗口蒸馏、与提供商无关的模型路由以及模式强制的结构化输出。 这些材料涵盖了广泛的软件工程能力,包括使用分布式任务队列的异步编程、使用 REST API 的 Web 应用开发以及数据分析工作流。它还包括用于掌握面向对象设计、实现 CI/CD 流水线以及应用专业 Linting 与格式化标准的资源。

    Teaches how to override special dunder methods to customize object construction and operator behavior.

    Jupyter Notebook
    在 GitHub 上查看↗5,173
  1. Home
  2. Programming Languages & Runtimes
  3. Magic Method Implementations

探索子标签

  • Magic Method InterceptorsUtilities for intercepting and simulating magic method calls on objects during test execution. **Distinct from Magic Method Implementations:** Distinct from Magic Method Implementations: focuses on intercepting calls for testing rather than defining language-level behavior.
  • Static Analysis Declarations1 个子标签Configuration mechanisms for declaring magic members to static analysis engines. **Distinct from Magic Method Implementations:** Distinct from Magic Method Implementations: focuses on declaring members for static analysis recognition rather than implementing the magic methods.