awesome-repositories.com
المدونة
MCP
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعخادم MCPحولكيفية ترتيب النتائجالصحافة
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

1 مستودع

Awesome GitHub RepositoriesDeclarative Attribute Definitions

Declaring class attributes with decorators and type annotations to automatically generate dunder methods.

Distinct from Class Definitions with Constructors: Distinct from Class Definitions with Constructors: focuses on declarative attribute definition with automatic method generation, not manual constructor writing.

Explore 1 awesome GitHub repository matching programming languages & runtimes · Declarative Attribute Definitions. Refine with filters or upvote what's useful.

Awesome Declarative Attribute Definitions GitHub Repositories

اعثر على أفضل المستودعات باستخدام الذكاء الاصطناعي.سنبحث عن أفضل المستودعات المطابقة باستخدام الذكاء الاصطناعي.
  • python-attrs/attrsالصورة الرمزية لـ python-attrs

    python-attrs/attrs

    5,799عرض على GitHub↗

    attrs is a Python library that automatically generates initialization, representation, equality, hashing, and ordering methods from declarative class attribute definitions. At its core, it provides a class decorator metaprogramming framework that intercepts class creation to rewrite the class body, producing dunder methods without manual boilerplate. The library includes a comprehensive attribute validation toolkit with built-in validators for type checks, range constraints, regex matching, length limits, and logical composition of validation rules. The library distinguishes itself through it

    Declares attributes via decorator and type annotations, then automatically generates initializer, repr, and equality methods.

    Python
    عرض على GitHub↗5,799
  1. Home
  2. Programming Languages & Runtimes
  3. Class Method Definitions
  4. Class Definitions with Constructors
  5. Declarative Attribute Definitions