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

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

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

4 个仓库

Awesome GitHub RepositoriesAttribute Default Values

Setting fallback values for class attributes using static values, factory functions, or decorator-based methods.

Distinct from Default Configuration Values: Distinct from Default Configuration Values: focuses on class attribute defaults, not application configuration settings.

Explore 4 awesome GitHub repositories matching software engineering & architecture · Attribute Default Values. Refine with filters or upvote what's useful.

Awesome Attribute Default Values GitHub Repositories

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • python-attrs/attrspython-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

    Sets default values for class attributes using static values, factory functions, or decorator-based methods.

    Python
    在 GitHub 上查看↗5,799
  • remkop/picocliremkop 的头像

    remkop/picocli

    5,387在 GitHub 上查看↗

    picocli 是一个用于 JVM 应用的命令行接口(CLI)开发框架和参数解析器。它使用声明式的注解模型,将命令行选项和位置参数映射到强类型的 Java 方法和字段。 该框架为原生镜像(Native Image)编译提供了特定支持,生成构建具有更低启动开销的独立二进制文件所需的反射和资源配置文件。它还以专门的 shell 自动补全脚本生成系统和用于为输出应用颜色与样式的 ANSI 终端美化器而著称。 该项目涵盖了广泛的终端应用功能,包括用于嵌套子命令的层级命令分发、自动生成使用帮助和 man 手册页,以及带有用户提示的交互式 shell 实现。它还包括通过自定义工厂进行依赖注入、基于插件的类型转换以及处理外部参数文件的基础设施。

    Supplies fallback values for command options using hardcoded defaults or external property files.

    Java
    在 GitHub 上查看↗5,387
  • brendandburns/designing-distributed-systems-labsbrendandburns 的头像

    brendandburns/designing-distributed-systems-labs

    1,306在 GitHub 上查看↗

    This repository is a learning resource and collection of hands-on exercises illustrating cloud-native architecture, microservice composition, and container design patterns for distributed environments. It provides implementation blueprints demonstrating sidecar, adapter, and ambassador patterns for applications deployed within Kubernetes containers. The materials cover traffic management capabilities such as routing requests through proxy containers, splitting traffic between production and experimental servers, enforcing rate limits, and isolating failing services using circuit breakers. Add

    Fills in missing data attributes and assigns default values to incoming objects automatically.

    JavaScript
    在 GitHub 上查看↗1,306
  • design-first/system-designerdesign-first 的头像

    design-first/system-designer

    1,073在 GitHub 上查看↗

    System Designer 是一个用于构建软件架构、数据模式和组件行为的视觉建模环境。它作为一个低代码平台,允许用户通过拖放界面定义复杂的系统,将组件及其关系表示为互连的节点和边。 该平台通过提供一个可以在实时中执行和检查定义模型的实时运行时环境脱颖而出。它对系统操作执行动态类型验证以确保一致性,并允许通过导入外部系统定义来模块化组合应用。用户可以将这些组件作为结构化文档进行管理,系统随后将其转换为用于外部实现的函数式代码骨架和样板结构。 除了核心建模功能外,该工具还支持系统设计的全生命周期,包括自定义数据类型、属性和方法的配置。它与版本控制系统集成以跨设备同步项目状态,并提供导出功能,将架构打包为标准格式以进行部署。

    Refines class models by specifying data types, default values, and method parameters.

    HTMLidejavascriptlow-code
    在 GitHub 上查看↗1,073
  1. Home
  2. Software Engineering & Architecture
  3. Default Configuration Values
  4. Attribute Default Values

探索子标签

  • Configuration FallbacksMechanisms for providing default values for options via hardcoded defaults or external files. **Distinct from Attribute Default Values:** Distinct from Attribute Default Values: focuses on CLI option fallbacks specifically, not general class attributes.
  • None-to-Default ConvertersReplaces None attribute values with a specified default using a converter function during initialization. **Distinct from Attribute Default Values:** Distinct from Attribute Default Values: specifically converts None to a default, not just setting any fallback value.