27 مستودعات
Custom validation rules that return promises to handle checks involving external network calls.
Distinct from Custom Validation Rules: More specific than general custom rules; explicitly handles the promise-based asynchronous nature of remote checks.
Explore 27 awesome GitHub repositories matching software engineering & architecture · Asynchronous Validators. 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 هي مكتبة JavaScript للتحقق من المخططات ومحرك للتحقق من البيانات غير المتزامن. تتحقق من هياكل الكائنات المعقدة والمصفوفات المتداخلة من خلال تطبيق قواعد متكررة وتنفيذ غير حظر (non-blocking) يعتمد على الوعود (promises) لضمان سلامة البيانات. تعمل المكتبة كمدقق لقيود الكائنات وخط أنابيب لتحويل البيانات. تسمح بتنقية، وإكراه، وتنسيق قيم المدخلات من خلال سلسلة من الدوال التي تعمل قبل وبعد عملية التحقق الأساسية. يغطي المحرك مجموعة من القدرات بما في ذلك التحقق المتداخل المتكرر، وفرض قيود المخطط القياسية، وتكامل منطق الأعمال المخصص عبر دوال تحقق مصممة خصيصاً. كما توفر أدوات لتخصيص رسائل الخطأ والترجمة من خلال سلاسل ثابتة أو دوال ديناميكية.
Provides support for executing both synchronous and asynchronous custom validation logic on specific object fields.
Parsley.js is a JavaScript form validation library that provides a client-side data validator for verifying input correctness before submission. It functions as an HTML attribute-based validator, allowing constraints to be defined declaratively within HTML data attributes to enforce rules without requiring custom scripts. The framework distinguishes itself through a customizable validation system that supports user-defined rules and custom error message templates. It includes a remote validation interface to verify form values against server endpoints via asynchronous network requests and sup
Allows the creation of user-defined rules that return promises for asynchronous validation.
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.
react-final-form is a React form state management library that provides a framework for declarative form validation and the orchestration of dynamic input fields. It utilizes a subscription-based state manager to trigger interface updates only for the specific fields that change during user input, which optimizes rendering by limiting unnecessary component re-renders. The library functions as a dynamic input field orchestrator, allowing users to add, remove, or reorder lists of form fields. It manages complex form state through a system that supports conditional field rendering and real-time
Supports asynchronous validators that prevent the main input thread from blocking during complex validation checks.
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.
GraphQL.NET هو إطار عمل من جانب الخادم لبناء وتنفيذ واجهات برمجة تطبيقات GraphQL داخل تطبيقات C#. يوفر مجموعة أدوات شاملة لبناء المخططات، ومحركاً اتحادياً لرسوم البيانات الموزعة، ومعالج اشتراكات لإدارة تدفقات البيانات في الوقت الفعلي. يتميز المشروع بمنشئ مخططات مرن يدعم كلاً من تعريفات الكود أولاً البرمجية ونهج المخطط أولاً التصريحي باستخدام لغة تعريف المخطط القياسية. يتضمن محرك اتحاد مخصص لتقسيم رسوم البيانات إلى رسوم فرعية وتكوينها في بوابة موحدة، بالإضافة إلى تنفيذ محمل بيانات مصمم خصيصاً لحل مشكلة استعلام N+1 من خلال التجميع والتخزين المؤقت. يغطي إطار العمل مجموعة واسعة من القدرات التشغيلية، بما في ذلك تكامل حقن التبعية لإدارة عمر الخدمة، وخطوط أنابيب البرمجيات الوسيطة لاعتراض دقة الحقول، وخط أنابيب تنفيذ محسن بأنواع القيم لتقليل تخصيصات الذاكرة. كما يوفر أدوات لتحليل تعقيد الاستعلام، والتخزين المؤقت للمستندات، والتحكم في الوصول القائم على الأدوار لتأمين نقاط نهاية API. يسمح دعم تجميع المخططات مسبقاً لإطار العمل بالتنفيذ في البيئات التي تحظر إنشاء الكود الديناميكي.
Runs validation rules asynchronously to support remote authentication checks and external data lookups.
immutability-helper هي مكتبة معالجة بيانات غير قابلة للتغيير وأداة كائن تستخدم لإنشاء نسخ معدلة من الكائنات والمصفوفات. تعمل كمدير حالة قائم على الأوامر ومحول بيانات وظيفي يضمن بقاء بيانات المصدر الأصلية دون تغيير أثناء التحديثات. تتميز المكتبة باستخدام مجموعة تعريفية من أوامر الطفرة والموصوفات لتحديد التغييرات. تحافظ على مساواة المرجع عن طريق إرجاع مرجع الكائن الأصلي إذا لم تحدث تغييرات فعلية أثناء عملية الطفرة. توفر إمكانيات لاستنساخ الهياكل المتداخلة بعمق وإجراء طفرات حالة معقدة على الكائنات، والمصفوفات، والخرائط، والمجموعات. يدعم النظام دمج الكائنات غير القابلة للتغيير وتطبيق منطق تحويل مخصص من خلال محرك طفرة قابل للتوصيل.
Uses a lookup table to map identifiers to user-defined functions for specialized data transformations.
هذا المشروع هو تنفيذ Python لمواصفات JSON Schema، ويوفر مكتبة للتحقق من أن حالات البيانات تتوافق مع المخططات المحددة. يعمل كإطار عمل للتحقق من البيانات قادر على التحقق من البيانات نفسها والمخططات مقابل المخططات الوصفية الرسمية لضمان الصحة الهيكلية. تتميز المكتبة بمحلل مرجع مخطط يقوم بتعيين URIs إلى التعريفات، مما يتيح حل المراجع الداخلية والبعيدة لإدارة المخططات النمطية. تم تصميمه ليكون قابلاً للتوسيع، مما يسمح بتعريف كلمات مفتاحية مخصصة، ومنطق فحص نوع مخصص، وتسجيل وظائف تحقق جديدة لتنسيقات السلاسل المتخصصة. يوفر النظام تقارير أخطاء شاملة تحدد جميع الانتهاكات في حالة البيانات وتنظمها في هرمية مهيكلة على شكل شجرة. يسمح هذا بالاستعلام البرمجي عن فشل التحقق، واستخراج البيانات الوصفية التشخيصية، وتحديد الأخطاء الأولية بناءً على هرمية البيانات. يدعم التنفيذ مسودات مواصفات متعددة من خلال فئات مدقق خاصة بالإصدار ومواصفات لهجة المخطط.
Maps specific schema keywords to custom Python callables for implementing specialized business validation rules.
هذا المشروع هو مكتبة وإطار عمل للتحقق من JSON Schema يستخدم للتحقق من أن حالات البيانات تتوافق مع التعريفات التصريحية. يعمل كمحرك تحقق يفرض قيوداً هيكلية وأنواع بيانات، بينما يعمل أيضاً كمدقق وصفي لضمان أن تعريفات المخطط نفسها صحيحة نحوياً مقابل المخططات الوصفية الرسمية. تم تصميم المكتبة لتكون قابلة للتوسيع، مما يسمح للمستخدمين بتعريف منطق تحقق مخصص عن طريق تعيين كلمات مفتاحية للمخطط إلى وظائف قابلة للاستدعاء متخصصة. يتضمن محلل مرجع يعتمد على السجل لإدارة مراجع URI الداخلية والخارجية لإعادة استخدام المخططات الفرعية عبر مستندات مختلفة. يغطي النظام مجموعة واسعة من قدرات التحقق، بما في ذلك التحقق من نوع البيانات، وفحص تنسيق السلسلة لأنواع مثل رسائل البريد الإلكتروني وUUIDs، وتقارير أخطاء شاملة. توفر الأدوات التشخيصية تتبعاً متداخلاً للأخطاء وتصفية استدلالية لتحديد الإخفاقات الأكثر صلة داخل هيكل البيانات.
Enables mapping schema keywords to custom callable functions and configuring specialized type and format checkers.
IPProxyPool is an HTTP proxy pool manager that crawls, validates, and serves a rotating list of functional proxy addresses via a programmatic API. It integrates proxy scraping, connectivity validation, and persistent database storage to provide a managed source of IP addresses for network requests. The system uses a plugin-based scraping architecture to collect IP addresses from multiple external websites and an asynchronous validation queue to test these candidates in parallel. It differentiates its pool by assigning numeric stability scores to proxies through periodic health checks and conn
Provides a framework for executing custom synchronous or asynchronous validation functions to determine proxy validity.
v8n هي مكتبة للتحقق من صحة البيانات بلغة JavaScript تُستخدم للتحقق من أن القيم والكائنات والمصفوفات تلبي معايير محددة. تعمل كمحقق قائم على المخطط ومحرك تحقق غير متزامن، مستخدمة API طليقاً لبناء تسلسلات من القواعد والقيود القابلة للسلسلة. يتميز إطار العمل بقدرته على تنفيذ الوعود (promises) وطلبات الشبكة أثناء عملية التحقق لتحديد ما إذا كانت القيمة صالحة. يسمح بإنشاء مخططات تحقق قابلة لإعادة الاستخدام ويوفر إطار عمل قواعد قابلاً للتخصيص حيث يمكن للمستخدمين تحديد منطقهم الخاص وتكوين كيفية إرجاع نتائج الخطأ. تغطي المكتبة مجموعة واسعة من قدرات التحقق، بما في ذلك التحقق من نوع البيانات للبدائيات والنماذج الأولية، والتحقق من محتوى النص عبر regex ومجموعات الأحرف، والقيود الرقمية. كما تدعم التحقق من الكائنات المعقدة، والتحقق من عناصر المجموعات والمصفوفات، والمنطق الشرطي لعكس القواعد أو التعامل مع القيم الاختيارية. صُمم النظام لجمع الأخطاء بالتفصيل، حيث يقيم القيم مقابل كل قاعدة محددة لجمع قائمة كاملة بالإخفاقات بدلاً من التوقف عند الخطأ الأول.
Supports custom validation rules that return promises for performing asynchronous external lookups.
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
Executes custom synchronous or asynchronous validation logic with support for specific error messages.
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.
This project is a client-side data management library and query orchestrator designed to synchronize remote server state with local client state. It functions as a type-safe state manager and cache orchestrator that coordinates data loading across diverse backends, including REST, GraphQL, and WebSockets. The system distinguishes itself through a durable workflow engine for executing asynchronous functions with persisted state and deterministic replay. It also provides a standardized AI integration adapter to connect large language models to application data, supporting real-time response str
Executes debounced background checks via asynchronous validators to enforce form rules without blocking the interface.
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.