6 مستودعات
Tools for verifying the structure and content of untrusted external data at the application boundary to ensure type safety.
Distinguishing note: This category focuses on runtime schema enforcement and data integrity checks, distinct from general-purpose testing or database-level constraints.
Explore 6 awesome GitHub repositories matching software engineering & architecture · Data Validation Libraries. Refine with filters or upvote what's useful.
Zod is a TypeScript-first schema declaration and validation library designed to ensure end-to-end data integrity. It functions as a runtime type guard, allowing developers to define complex data structures through a declarative, chainable syntax. By using these schema definitions, the library automatically derives static TypeScript types, eliminating the need for manual type duplication and ensuring that runtime data matches expected application contracts. The library distinguishes itself through functional schema composition, which enables the creation of hierarchical structures by nesting a
Provides robust runtime schema validation to ensure incoming data conforms to expected types and structures before processing.
This project is a high-performance web framework designed for building scalable server-side applications with minimal resource consumption. It provides a type-safe runtime environment that leverages static analysis to ensure consistent data structures across request handlers and server configurations, facilitating reliable API development. The framework distinguishes itself through a schema-driven validation layer that enforces strict data integrity for incoming requests and outgoing responses using standardized definitions. It utilizes an encapsulated plugin architecture that organizes appli
Enforces strict data integrity for incoming requests and outgoing responses using standardized schema definitions.
Pydantic هي مكتبة للتحقق من صحة البيانات وإطار عمل للتحليل لـ Python. تعمل كمدقق مخطط يعتمد على النوع يستخدم تعليقات النوع القياسية في Python لضمان توافق بيانات الإدخال مع المخططات الهيكلية المحددة مسبقاً. يوفر المشروع قدرات لتحليل البيانات الخام إلى كائنات مكتوبة من خلال التحويل التلقائي للنوع والتحقق من الصحة. يتضمن ذلك تسلسل البيانات والتحقق من هياكل البيانات لفرض الصواب. يغطي إطار العمل العديد من مجالات التطبيق، بما في ذلك التحقق من طلبات API وإدارة إعدادات التطبيق. يسمح بتحويل التنسيقات الخام مثل JSON إلى كائنات Python مهيكلة.
Enforces runtime schema validation and data integrity checks on external data at application boundaries.
SQLModel is a type-safe object-relational mapping library for Python that integrates database schema definitions with data validation logic. By combining these two roles into a single class, it allows developers to manage relational data structures and enforce data integrity for web APIs simultaneously. The framework is built to support asynchronous database operations, enabling high-performance applications to execute queries and transactions without blocking the main execution thread. The library distinguishes itself by leveraging Python type hints to provide IDE autocompletion and compile-
Combines Python type hints with database schema definitions for unified data validation and object-relational mapping.
FluentValidation is a .NET validation library used to define strongly-typed validation rules for objects. It utilizes a fluent interface API and lambda expressions to ensure data integrity for classes and properties within the .NET type system. The library separates validation logic from business entities to keep domain models focused on core functionality. This approach enables the enforcement of business logic and the sanitization of input data or API payloads through a sequence of logic checks. The system supports complex validation surface areas, including the ability to nest validators
Serves as a primary .NET library for defining strongly-typed validation rules using a fluent API.
Typeid هي مكتبة لتوليد، وترميز، والتحقق من معرفات فريدة تجمع بين بادئات قابلة للقراءة البشرية ولاحقات قابلة للفرز وآمنة من حيث النوع. من خلال دمج البادئات الوصفية مع تحويل قياسي من ثنائي إلى نص، فإنها توفر نهجاً منظماً لإدارة المعرفات التي تظل فريدة عالمياً ومتسقة عبر الأنظمة الموزعة. يتميز المشروع باستخدام هياكل بت مرتبة زمنياً وترميز Crockford Base32 لضمان أن المعرفات قابلة للفرز زمنياً وآمنة للاستخدام في URL. يسمح هذا التنسيق بترجمة المعرفات القياسية ذات 128 بت إلى سلاسل مدمجة وقابلة للقراءة البشرية، مما يسهل التشغيل البيني بين أنظمة البرمجيات وطبقات قاعدة البيانات المختلفة. تتضمن مجموعة الأدوات آليات تحقق شاملة لفرض قواعد مخطط صارمة، مثل قيود الأحرف ومتطلبات البادئة، والتي تمنع تلف البيانات وخلط الأنواع. بالإضافة إلى ذلك، يوفر المشروع واجهة سطر أوامر لتبسيط توليد وفك تشفير هذه المعرفات داخل تدفقات عمل التطوير والأتمتة.
Provides a toolkit for verifying identifier constraints to ensure data integrity across distributed systems.