6 dépôts
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 est une bibliothèque de validation de données et un framework d'analyse pour Python. Il fonctionne comme un validateur de schéma basé sur les types qui utilise les annotations de type Python standard pour garantir que les données d'entrée sont conformes à des schémas structurels prédéfinis. Le projet fournit des capacités pour analyser des données brutes en objets typés via la conversion et la validation automatique de type. Cela inclut la sérialisation des données et la validation des structures de données pour garantir l'exactitude. Le framework couvre plusieurs domaines d'application, incluant la vérification des requêtes API et la gestion des configurations d'application. Il permet la transformation de formats bruts comme JSON en objets Python structurés.
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 est une bibliothèque pour générer, encoder et valider des identifiants uniques qui combinent des préfixes lisibles par l'homme avec des suffixes triables et typés. En intégrant des préfixes descriptifs avec une conversion binaire-vers-chaîne standardisée, elle fournit une approche structurée pour gérer des identifiants qui restent globalement uniques et cohérents à travers les systèmes distribués. Le projet se distingue par l'utilisation de structures de bits ordonnées dans le temps et de l'encodage Crockford Base32 pour garantir que les identifiants sont à la fois triables chronologiquement et sécurisés pour les URL. Ce format permet la traduction d'identifiants standards de 128 bits en chaînes compactes et lisibles par l'homme, facilitant l'interopérabilité entre différents systèmes logiciels et couches de base de données. La boîte à outils inclut des mécanismes de validation complets pour appliquer des règles de schéma strictes, telles que les contraintes de caractères et les exigences de préfixe, qui empêchent la corruption des données et la confusion de types. De plus, le projet fournit une interface en ligne de commande pour rationaliser la génération et le décodage de ces identifiants au sein des workflows de développement et d'automatisation.
Provides a toolkit for verifying identifier constraints to ensure data integrity across distributed systems.