22 Repos
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.
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.
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.
async-validator is a JavaScript schema validation library and asynchronous data validation engine. It verifies complex object structures and nested arrays by applying recursive rules and non-blocking, promise-based execution to ensure data integrity. The library functions as both an object constraint validator and a data transformation pipeline. It allows for the sanitization, coercion, and formatting of input values through a sequence of functions that run before and after the primary validation process. The engine covers a range of capabilities including recursive nested validation, the en
Provides support for executing both synchronous and asynchronous custom validation logic on specific object fields.
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.
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.
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.
immutability-helper ist eine Bibliothek zur Manipulation unveränderlicher Daten und ein Objekt-Dienstprogramm, das zum Erstellen modifizierter Kopien von Objekten und Arrays verwendet wird. Sie fungiert als Befehls-basierter State-Manager und funktionaler Datentransformator, der sicherstellt, dass ursprüngliche Quelldaten während Aktualisierungen unverändert bleiben. Die Bibliothek zeichnet sich durch die Verwendung eines deklarativen Satzes von Mutationsbefehlen und Deskriptoren zur Spezifizierung von Änderungen aus. Sie bewahrt die Referenzgleichheit, indem sie die ursprüngliche Objektreferenz zurückgibt, wenn während des Mutationsprozesses keine tatsächlichen Änderungen auftreten. Sie bietet Funktionen für Deep-Cloning verschachtelter Strukturen und die Durchführung komplexer Zustandsmutationen an Objekten, Arrays, Maps und Sets. Das System unterstützt das Zusammenführen unveränderlicher Objekte und die Anwendung benutzerdefinierter Transformationslogik durch eine erweiterbare Mutations-Engine.
Uses a lookup table to map identifiers to user-defined functions for specialized data transformations.
Dieses Projekt ist eine Python-Implementierung der JSON-Schema-Spezifikation und bietet eine Bibliothek zur Überprüfung, ob Dateninstanzen definierten Schemas entsprechen. Es dient als Datenvalidierungs-Framework, das sowohl die Daten selbst als auch die Schemas gegen offizielle Meta-Schemas validieren kann, um strukturelle Korrektheit sicherzustellen. Die Bibliothek verfügt über einen Schema-Referenz-Resolver, der URIs auf Definitionen abbildet und so die Auflösung interner und entfernter Referenzen für ein modulares Schema-Management ermöglicht. Sie ist auf Erweiterbarkeit ausgelegt und erlaubt die Definition benutzerdefinierter Schlüsselwörter, benutzerdefinierter Typ-Prüflogik und die Registrierung neuer Validierungsfunktionen für spezialisierte String-Formate. Das System bietet eine umfassende Fehlerberichterstattung, die alle Verstöße in einer Dateninstanz identifiziert und in einer baumstrukturierten Hierarchie organisiert. Dies ermöglicht die programmatische Abfrage von Validierungsfehlern, die Extraktion diagnostischer Metadaten und die Identifizierung primärer Fehler basierend auf der Datenhierarchie. Die Implementierung unterstützt mehrere Spezifikationsentwürfe durch versionsspezifische Validator-Klassen und Schema-Dialekt-Spezifikationen.
Maps specific schema keywords to custom Python callables for implementing specialized business validation rules.
Dieses Projekt ist eine JSON-Schema-Validierungsbibliothek und ein Framework, das verwendet wird, um zu verifizieren, dass Dateninstanzen deklarativen Definitionen entsprechen. Es fungiert als Validierungs-Engine, die strukturelle Einschränkungen und Datentypen erzwingt, während es gleichzeitig als Meta-Validator dient, um sicherzustellen, dass Schemadefinitionen selbst syntaktisch korrekt gegenüber offiziellen Meta-Schemas sind. Die Bibliothek ist auf Erweiterbarkeit ausgelegt und erlaubt es Nutzern, benutzerdefinierte Validierungslogik durch das Mapping von Schema-Schlüsselwörtern auf spezialisierte aufrufbare Funktionen zu definieren. Sie enthält einen registry-basierten Referenz-Resolver zur Verwaltung interner und externer URI-Referenzen, um Subschemas über verschiedene Dokumente hinweg wiederzuverwenden. Das System deckt ein breites Spektrum an Validierungsfunktionen ab, einschließlich Datentypverifizierung, String-Formatprüfung für Typen wie E-Mails und UUIDs sowie umfassende Fehlerberichterstattung. Diagnosetools bieten verschachteltes Fehler-Tracking und heuristische Filterung, um die relevantesten Fehler innerhalb einer Datenstruktur zu identifizieren.
Enables mapping schema keywords to custom callable functions and configuring specialized type and format checkers.
IPProxyPool ist ein HTTP-Proxy-Pool-Manager, der eine rotierende Liste funktionaler Proxy-Adressen crawlt, validiert und über eine programmatische API bereitstellt. Er integriert Proxy-Scraping, Konnektivitätsvalidierung und persistente Datenbankspeicherung, um eine verwaltete Quelle von IP-Adressen für Netzwerkanfragen bereitzustellen. Das System verwendet eine plugin-basierte Scraping-Architektur, um IP-Adressen von mehreren externen Websites zu sammeln, sowie eine asynchrone Validierungswarteschlange, um diese Kandidaten parallel zu testen. Es differenziert seinen Pool durch die Zuweisung numerischer Stabilitäts-Scores an Proxys mittels periodischer Health-Checks und Konnektivitätsverifizierung, was den Abruf hochstabiler Adressen ermöglicht, die nach Region und Protokoll gefiltert sind. Das Projekt enthält eine Datenbank-Abstraktionsschicht mit anschließbaren Backends für die Datenpersistenz und bietet Tools zum Löschen spezifischer Proxy-Einträge. Es unterstützt zudem benutzerdefinierte Validierungslogik, um die spezifischen Kriterien zur Bestimmung der Proxy-Gültigkeit zu definieren.
Provides a framework for executing custom synchronous or asynchronous validation functions to determine proxy validity.
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.
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.
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.
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.
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.
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.
Diese Bibliothek ist ein Java-basiertes Tool zur Durchsetzung von Datenstruktureinschränkungen und zur Verifizierung technischer Formate gegen definierte Schema-Spezifikationen. Sie fungiert als Verarbeitungsdienstprogramm, das komplexe Datenstrukturen parst und gleichzeitig externe Schema-Referenzen sowie zirkuläre Abhängigkeiten verwaltet. Die Engine zeichnet sich durch ein unveränderliches Prozessor-Design aus, das eine thread-sichere, gleichzeitige Validierung ermöglicht, ohne dass eine externe Synchronisation erforderlich ist. Sie verwendet Arithmetik mit beliebiger Präzision, um numerische Einschränkungen zu bewerten, was häufige Rundungsfehler bei Gleitkommazahlen verhindert, und nutzt zeichenbasierte Verarbeitung, um eine Unicode-bewusste String-Validierung für komplexe Symbole sicherzustellen. Entwickler können die Kern-Pipeline erweitern, indem sie benutzerdefinierte Schlüsselwörter und Format-Handler registrieren, um spezialisierte Geschäftslogik zu implementieren. Das Projekt bietet ein umfassendes Schema-Management, einschließlich struktureller Compliance-Prüfung gegen Meta-Schemas, URI-basierter Abhängigkeitsauflösung und konfigurierbarem Schema-Laden. Es unterstützt detaillierte Fehlerberichte, die die Validierung über Kindelemente hinweg fortsetzen, selbst nach Fehlern bei Elternelementen, und enthält eine Befehlszeilenschnittstelle für die terminalbasierte Datenverifizierung.
Allows developers to inject custom logic by registering new keywords and format handlers into the validation pipeline.
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.
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.
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.