awesome-repositories.com
Blog
MCP
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektMCP-ServerÜber unsRanking-MethodikPresse
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

1 Repo

Awesome GitHub RepositoriesPer-Instance Mutable Defaults

Mechanisms that create fresh copies of mutable default values for each instance to prevent shared-state bugs.

Distinct from Mutable Default Argument Guards: Distinct from Mutable Default Argument Guards: focuses on class attribute defaults with per-instance copying, not function argument guard patterns.

Explore 1 awesome GitHub repository matching programming languages & runtimes · Per-Instance Mutable Defaults. Refine with filters or upvote what's useful.

Awesome Per-Instance Mutable Defaults GitHub Repositories

Finde die besten Repos mit KI.Wir suchen mit KI nach den am besten passenden Repositories.
  • python-attrs/attrsAvatar von python-attrs

    python-attrs/attrs

    5,799Auf GitHub ansehen↗

    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

    Provides per-instance mutable default values via factory functions, avoiding shared-state bugs in data classes.

    Python
    Auf GitHub ansehen↗5,799
  1. Home
  2. Programming Languages & Runtimes
  3. Function Argument Passing
  4. Default Arguments
  5. Mutable Default Argument Guards
  6. Per-Instance Mutable Defaults