6 Repos
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 ist eine Datenvalidierungsbibliothek und ein Parsing-Framework für Python. Es fungiert als typbasierter Schema-Validator, der Standard-Python-Typannotationen verwendet, um sicherzustellen, dass Eingabedaten vordefinierten strukturellen Schemata entsprechen. Das Projekt bietet Funktionen zum Parsen von Rohdaten in typisierte Objekte durch automatische Typkonvertierung und Validierung. Dies umfasst die Serialisierung von Daten und die Validierung von Datenstrukturen zur Durchsetzung der Korrektheit. Das Framework deckt verschiedene Anwendungsbereiche ab, einschließlich der Verifizierung von API-Anfragen und der Verwaltung von Anwendungskonfigurationen. Es ermöglicht die Transformation von Rohformaten wie JSON in strukturierte Python-Objekte.
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 ist eine Bibliothek für die Generierung, Kodierung und Validierung eindeutiger Identifikatoren, die menschenlesbare Präfixe mit sortierbaren, typsicheren Suffixen kombinieren. Durch die Integration beschreibender Präfixe mit standardisierter Binär-zu-String-Konvertierung bietet sie einen strukturierten Ansatz für die Verwaltung von Identifikatoren, die über verteilte Systeme hinweg global eindeutig und konsistent bleiben. Das Projekt zeichnet sich durch die Nutzung zeitgeordneter Bit-Strukturen und Crockford-Base32-Kodierung aus, um sicherzustellen, dass Identifikatoren sowohl chronologisch sortierbar als auch URL-sicher sind. Dieses Format ermöglicht die Übersetzung standardmäßiger 128-Bit-Identifikatoren in kompakte, menschenlesbare Strings, was die Interoperabilität zwischen verschiedenen Softwaresystemen und Datenbankschichten erleichtert. Das Toolkit enthält umfassende Validierungsmechanismen zur Durchsetzung strikter Schemaregeln, wie Zeichenbeschränkungen und Präfixanforderungen, die Datenkorruption und Typverwechslungen verhindern. Zusätzlich bietet das Projekt ein Kommandozeilen-Interface, um die Generierung und Dekodierung dieser Identifikatoren innerhalb von Entwicklungs- und Automatisierungsworkflows zu rationalisieren.
Provides a toolkit for verifying identifier constraints to ensure data integrity across distributed systems.