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

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

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

22 个仓库

Awesome GitHub RepositoriesCustom Validation Functions

Support for executing synchronous or asynchronous validation logic on fields with optional debouncing.

Distinct from Asynchronous Validators: Distinct from Asynchronous Validators: covers both synchronous and asynchronous custom logic, including debouncing strategies.

Explore 22 awesome GitHub repositories matching software engineering & architecture · Custom Validation Functions. Refine with filters or upvote what's useful.

Awesome Custom Validation Functions GitHub Repositories

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

    jhao104/proxy_pool

    23,426在 GitHub 上查看↗

    This project is a Python-based proxy pool manager that collects, validates, and serves free proxy IP addresses through an HTTP API. It consists of an automated scraper to gather addresses from multiple online sources, a persistent database-backed store for organization, and a delivery interface for retrieving validated proxies. The system features a pluggable scraper architecture that allows for the integration of custom discovery methods and source expansion via generator functions. It employs decorator-based validation logic, enabling the definition of custom connectivity and HTTPS criteria

    Enables the definition of custom validation logic using functions and decorators based on HTTP response criteria.

    Pythoncrawlerhttpproxy
    在 GitHub 上查看↗23,426
  • go-playground/validatorgo-playground 的头像

    go-playground/validator

    20,028在 GitHub 上查看↗

    This is a Go struct validation library used to maintain data integrity by enforcing constraints on fields, slices, and maps. It functions as a schema validation tool and data integrity validator, ensuring that complex nested structures adhere to predefined rules. The library utilizes struct tags to configure validation logic at runtime and supports a custom function registry for extending validation rules. It is distinguished by its ability to perform cross-field dependency evaluation, allowing the comparison of values between different fields within the same data structure to ensure logical

    Maintains a registry where custom validator functions are mapped to string identifiers for dynamic lookup during evaluation.

    Goerror-handlingtranslationvalidation
    在 GitHub 上查看↗20,028
  • yiminghe/async-validatoryiminghe 的头像

    yiminghe/async-validator

    9,099在 GitHub 上查看↗

    async-validator 是一个 JavaScript 模式验证库和异步数据验证引擎。它通过应用递归规则和非阻塞的、基于 Promise 的执行来验证复杂的对象结构和嵌套数组,以确保数据完整性。 该库既充当对象约束验证器,也充当数据转换流水线。它允许通过在主要验证过程之前和之后运行的一系列函数来对输入值进行清洗、强制转换和格式化。 该引擎涵盖了一系列功能,包括递归嵌套验证、标准模式约束的强制执行,以及通过定制验证器函数集成自定义业务逻辑。它还提供了通过静态字符串或动态函数进行错误消息自定义和本地化的工具。

    Provides support for executing both synchronous and asynchronous custom validation logic on specific object fields.

    TypeScript
    在 GitHub 上查看↗9,099
  • mui/base-uimui 的头像

    mui/base-ui

    8,711在 GitHub 上查看↗

    Base UI is a headless component library and unstyled framework providing accessible interface primitives. It decouples behavioral logic and state management from the visual layer, allowing developers to implement complex UI patterns while maintaining total control over the final styling. The library implements WAI-ARIA design patterns to ensure all primitives support standard keyboard navigation and screen reader accessibility. It provides a suite of low-level building blocks that handle the internal mechanics of interface elements without bundling any CSS. The framework covers a broad range

    Runs synchronous or asynchronous validation functions on fields during submission or change events with optional debouncing.

    TypeScriptaccessibilitydesign-systemreact
    在 GitHub 上查看↗8,711
  • arktypeio/arktypearktypeio 的头像

    arktypeio/arktype

    7,780在 GitHub 上查看↗

    Arktype is a TypeScript runtime validation library and schema orchestrator. It synchronizes TypeScript types with runtime data validation, allowing users to define type-safe schemas that ensure unknown data adheres to specific structures during application execution. The project distinguishes itself by using set-theory type analysis to determine intersections and subtype compatibility, alongside JIT-compiled validation functions for optimized performance. It supports advanced type modeling through branded type constraints, recursive alias resolution, and the ability to generate runtime valida

    Integrates user-defined synchronous and asynchronous functions into the validation process to enforce complex constraints.

    TypeScriptjavascriptparsingruntime-typechecking
    在 GitHub 上查看↗7,780
  • asaskevich/govalidatorasaskevich 的头像

    asaskevich/govalidator

    6,203在 GitHub 上查看↗

    Go Package of validators and sanitizers for strings, numerics, slices and structs

    Supports passing arguments to validators via tag syntax, enabling configurable validation rules per field.

    Gogogovalidatorsanitization
    在 GitHub 上查看↗6,203
  • kolodny/immutability-helperkolodny 的头像

    kolodny/immutability-helper

    5,187在 GitHub 上查看↗

    immutability-helper 是一个不可变数据操作库和对象实用工具,用于创建对象和数组的修改副本。它作为一个基于命令的状态管理器和函数式数据转换器,确保原始源数据在更新过程中保持不变。 该库通过使用一组声明式的变异命令和描述符来指定更改,从而脱颖而出。如果在变异过程中没有发生实际更改,它会返回原始对象引用,从而保持引用相等性。 它提供了对嵌套结构进行深度克隆以及对对象、数组、Map 和 Set 执行复杂状态变异的功能。该系统支持通过可插拔的变异引擎合并不可变对象并应用自定义转换逻辑。

    Uses a lookup table to map identifiers to user-defined functions for specialized data transformations.

    TypeScript
    在 GitHub 上查看↗5,187
  • julian/jsonschemaJulian 的头像

    Julian/jsonschema

    4,951在 GitHub 上查看↗

    本项目是 JSON Schema 规范的 Python 实现,提供了一个用于验证数据实例是否符合定义模式的库。它作为一个数据验证框架,能够验证数据本身以及模式是否符合官方元模式,以确保结构正确性。 该库具有一个模式引用解析器,可将 URI 映射到定义,从而实现用于模块化模式管理的内部和远程引用解析。它专为可扩展性而设计,允许定义自定义关键字、自定义类型检查逻辑,并为专门的字符串格式注册新的验证函数。 该系统提供全面的错误报告,可识别数据实例中的所有违规行为,并将它们组织成树状层次结构。这允许对验证失败进行程序化查询、诊断元数据提取以及基于数据层次结构识别主要错误。 该实现通过特定版本的验证器类和模式方言规范支持多种规范草案。

    Maps specific schema keywords to custom Python callables for implementing specialized business validation rules.

    Python
    在 GitHub 上查看↗4,951
  • python-jsonschema/jsonschemapython-jsonschema 的头像

    python-jsonschema/jsonschema

    4,951在 GitHub 上查看↗

    本项目是一个 JSON Schema 验证库和框架,用于验证数据实例是否符合声明性定义。它作为一个验证引擎,强制执行结构约束和数据类型,同时也作为一个元验证器,确保模式定义本身在语法上符合官方元模式。 该库专为可扩展性而设计,允许用户通过将模式关键字映射到专门的可调用函数来定义自定义验证逻辑。它包括一个基于注册表的引用解析器,用于管理内部和外部 URI 引用,以便在不同文档间重用子模式。 该系统涵盖了广泛的验证功能,包括数据类型验证、针对电子邮件和 UUID 等类型的字符串格式检查,以及全面的错误报告。诊断工具提供嵌套错误跟踪和启发式过滤,以识别数据结构中最相关的失败。

    Enables mapping schema keywords to custom callable functions and configuring specialized type and format checkers.

    Pythonjsonjson-schemajsonschema
    在 GitHub 上查看↗4,951
  • qiyeboy/ipproxypoolqiyeboy 的头像

    qiyeboy/IPProxyPool

    4,274在 GitHub 上查看↗

    IPProxyPool 是一个 HTTP 代理池管理器,通过编程 API 抓取、验证并提供功能性代理地址的轮询列表。它集成了代理抓取、连接验证和持久数据库存储,为网络请求提供受管理的 IP 地址来源。 该系统使用基于插件的抓取架构从多个外部网站收集 IP 地址,并使用异步验证队列并行测试这些候选者。它通过定期健康检查和连接验证为代理分配数值稳定性分数,从而区分其代理池,允许检索按地区和协议过滤的高稳定性地址。 该项目包括一个带有可插拔后端的数据持久化数据库抽象层,并提供用于清除特定代理条目的工具。它还支持自定义验证逻辑,以定义用于确定代理有效性的具体标准。

    Provides a framework for executing custom synchronous or asynchronous validation functions to determine proxy validity.

    Python
    在 GitHub 上查看↗4,274
  • go-ozzo/ozzo-validationgo-ozzo 的头像

    go-ozzo/ozzo-validation

    4,072在 GitHub 上查看↗

    ozzo-validation is a programmable data validation library for Go that verifies structs, maps, and primitive types using a declarative, rule-based approach. It functions as an interface-based validator, allowing for the recursive checking of nested data structures and custom types without the use of struct tags. The framework distinguishes itself as a context-aware validation engine, supporting the propagation of request-scoped data to rules that depend on external state. It provides extensive extensibility through custom rule definitions and the ability to override default failure text with l

    Transforms simple boolean functions into complex validation objects that support custom error messages and metadata.

    Gogogolangozzo
    在 GitHub 上查看↗4,072
  • sindresorhus/owsindresorhus 的头像

    sindresorhus/ow

    3,868在 GitHub 上查看↗

    ow is a type-safe schema validation library for TypeScript that verifies data integrity at runtime. It functions as a runtime validation framework and type guard utility, ensuring that JavaScript values match expected types and schemas before they are processed. The library synchronizes runtime data checks with static TypeScript type definitions, allowing users to extract type definitions directly from validation predicates. This integration enables type narrowing, where a successful validation result refines the variable type for safer usage in the code. The framework uses a chainable API t

    Implements a framework for creating reusable, composable predicates and custom error messages for complex data verification.

    TypeScriptjavascriptnodejsnpm-package
    在 GitHub 上查看↗3,868
  • flasgger/flasggerflasgger 的头像

    flasgger/flasgger

    3,740在 GitHub 上查看↗

    Flasgger is a documentation framework for Flask applications that generates OpenAPI specifications and an integrated Swagger UI. It functions as a documentation generator and specification parser that extracts API schemas from route definitions, function docstrings, and external specification files. The tool allows API definitions to be maintained either within the source code using YAML blocks in docstrings or decoupled into standalone YAML files. It provides a browser-based interactive console for testing and exploring API endpoints directly from the web application. Beyond documentation,

    Supports the use of custom functions to replace default schema validation and handle data verification errors.

    Python
    在 GitHub 上查看↗3,740
  • rochacbruno/flasggerrochacbruno 的头像

    rochacbruno/flasgger

    3,740在 GitHub 上查看↗

    Flasgger is an OpenAPI documentation generator for Flask that creates interactive API specifications and Swagger UI documentation directly from application docstrings. It functions as an OpenAPI schema validator, verifying that incoming request data matches defined specifications and returning standardized error responses. The project includes a Marshmallow schema bridge to convert data structures into OpenAPI definitions and integrates a web interface for visualizing and testing API endpoints through an embedded interactive console. It further supports dynamic specification resolution, allow

    Provides support for replacing default schema validation with custom user-defined functions.

    Python
    在 GitHub 上查看↗3,740
  • stoplightio/spectralstoplightio 的头像

    stoplightio/spectral

    3,012在 GitHub 上查看↗

    Spectral is a programmable linting engine and validation tool designed to enforce style guidelines and schema correctness within OpenAPI specifications and JSON configuration files. It functions as a rule-based validator that analyzes structured text files to ensure data consistency and adherence to predefined constraints. The engine utilizes a configuration-driven execution model, allowing users to manage pluggable rule sets and integrate JSON Schema definitions. It supports the creation of custom function-based rules to define complex validation logic beyond static declarations. The projec

    Allows the use of external JavaScript functions to define complex validation logic beyond static declarations.

    TypeScriptarazzohacktoberfestjson
    在 GitHub 上查看↗3,012
  • json-schema-form/angular-schema-formjson-schema-form 的头像

    json-schema-form/angular-schema-form

    2,456在 GitHub 上查看↗

    Angular schema form is a framework directive and form component library that automatically generates and validates interactive HTML form controls from standard JSON schemas and companion layout configurations. It translates structured data definitions into customizable user input interfaces, parsing data types and custom rules into native form controls and reusable HTML markup templates. The project provides capabilities for dynamic field management, allowing form elements to show or hide conditionally by evaluating expressions against current model and scope state, and supporting dynamic arr

    Executes custom JavaScript validation logic dynamically based on field contexts.

    JavaScriptangularangular-schema-formjson-schema
    在 GitHub 上查看↗2,456
  • java-json-tools/json-schema-validatorjava-json-tools 的头像

    java-json-tools/json-schema-validator

    1,642在 GitHub 上查看↗

    This library is a Java-based tool for enforcing data structure constraints and verifying technical formats against defined schema specifications. It functions as a processing utility that parses complex data structures while managing external schema references and circular dependencies. The engine distinguishes itself through an immutable processor design that enables thread-safe, concurrent validation without requiring external synchronization. It employs arbitrary-precision arithmetic to evaluate numeric constraints, preventing common floating-point rounding errors, and utilizes character-l

    Allows developers to inject custom logic by registering new keywords and format handlers into the validation pipeline.

    Java
    在 GitHub 上查看↗1,642
  • php-standard-library/php-standard-libraryphp-standard-library 的头像

    php-standard-library/php-standard-library

    1,552在 GitHub 上查看↗

    The php-standard-library is a comprehensive toolkit for functional programming and asynchronous networking in PHP, featuring typed data structures, structured concurrency, and composable validation mechanisms. It provides explicit result types and pure collection transformers that separate lists from dictionaries, eliminating traditional array key confusion and error-throwing patterns. The library supports concurrent execution through lightweight user-space fibers, message-passing channels, and non-blocking event loops, driving asynchronous TCP, TLS, UDP, and Unix socket servers without relyi

    Validates untrusted input data against declarative type definitions and shapes without runtime reflection overhead.

    PHPansiasynccollection
    在 GitHub 上查看↗1,552
  • go-validator/validatorgo-validator 的头像

    go-validator/validator

    1,335在 GitHub 上查看↗

    This project is a data validation framework for the Go programming language that enforces integrity by applying declarative constraints to struct fields. It utilizes reflection to inspect data structures at runtime, mapping field-level requirements defined in struct tags to specific validation logic. The library distinguishes itself through its ability to handle complex object graphs by recursively traversing nested structures and slices. It supports context-aware validation, allowing developers to switch between different rule sets for the same data structure based on application state or sp

    Maintains a central lookup table of validation functions that allows developers to register and invoke custom business rules.

    Go
    在 GitHub 上查看↗1,335
  • thedersen/backbone.validationthedersen 的头像

    thedersen/backbone.validation

    1,300在 GitHub 上查看↗

    Backbone.validation is a JavaScript library designed to enforce data integrity within Backbone.js models. It provides a framework for defining declarative validation schemas that intercept attribute changes, ensuring that data meets specified business requirements before it is committed to the model. The library distinguishes itself by tightly coupling model-level validation with user interface components. It features an event-driven binding system that monitors model states and automatically triggers interface updates, providing real-time feedback as users interact with forms. This approach

    Registers custom validation functions and regular expressions to enforce data integrity across application models.

    JavaScript
    在 GitHub 上查看↗1,300
上一个12下一个
  1. Home
  2. Software Engineering & Architecture
  3. Custom Validation Rules
  4. Asynchronous Validators
  5. Custom Validation Functions

探索子标签

  • Context-Aware Custom ValidatorsRegisters a custom validation function for a specific type that can access the full struct context for dependent validation. **Distinct from Custom Validation Functions:** Distinct from Custom Validation Functions: provides access to the full struct context for dependent validation, not just field-level logic.
  • Custom Template Function ExecutionRuns custom Python functions inside templates at runtime to retrieve, manipulate, or validate data. **Distinct from Custom Validation Functions:** Distinct from general Custom Validation Functions: focuses on executing custom functions within prompt templates.
  • Function RegistriesRegistries that map string identifiers to custom validation functions for runtime lookup. **Distinct from Custom Validation Functions:** Distinct from custom functions by focusing on the registry mechanism (the map) rather than the execution of the logic.
  • Parameterized Custom Validators1 个子标签Registers a custom validation function that accepts parameters, enabling configurable validation rules. **Distinct from Custom Validation Functions:** Distinct from Custom Validation Functions: focuses on registering validators that accept parameters, not just executing custom logic.
  • Parameterized Validation FunctionsSupports passing arguments to validators via tag syntax, enabling configurable validation rules per field. **Distinct from Custom Validation Functions:** Distinct from Custom Validation Functions: focuses on passing parameters to validators via tag syntax, not just executing custom logic.
  • Rule WrappersUtilities that transform simple predicate functions into full validation objects with metadata and error messages. **Distinct from Custom Validation Functions:** Distinct from Custom Validation Functions as it focuses on the wrapping mechanism that adds metadata, not just the execution of the logic.
  • Schema Keyword FunctionsCustom functions mapped to schema keywords for domain-specific validation logic. **Distinct from Custom Validation Functions:** Distinct from Custom Validation Functions by specifically linking logic to JSON Schema keywords.