awesome-repositories.com
Blog
MCP
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektMCP-ServerÜber unsRanking-MethodikPresse
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

20 Repos

Awesome GitHub RepositoriesType-Hint-Based Schema Definitions

Approaches that leverage standard language type annotations to define data structures and validation rules.

Distinguishing note: Focuses on using native type hints for schema definition, avoiding custom domain-specific languages.

Explore 20 awesome GitHub repositories matching software engineering & architecture · Type-Hint-Based Schema Definitions. Refine with filters or upvote what's useful.

Awesome Type-Hint-Based Schema Definitions GitHub Repositories

Finde die besten Repos mit KI.Wir suchen mit KI nach den am besten passenden Repositories.
  • tiangolo/fastapiAvatar von tiangolo

    tiangolo/fastapi

    99,301Auf GitHub ansehen↗

    FastAPI is a high-performance Python web framework designed for building REST APIs. It operates as an ASGI web framework, providing a system to create structured HTTP endpoints that automatically serialize data and validate request parameters. The framework utilizes Python type hints to drive data validation and serialization, automatically generating machine-readable OpenAPI and JSON Schema specifications. This process enables the automatic creation of interactive, browser-based API documentation where endpoints can be tested directly. The project includes a dependency injection system for

    Uses Python type annotations to automatically drive the serialization of objects into JSON responses.

    Python
    Auf GitHub ansehen↗99,301
  • samuelcolvin/pydanticAvatar von samuelcolvin

    samuelcolvin/pydantic

    28,043Auf GitHub ansehen↗

    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.

    Leverages standard Python type annotations to define expected data structures and validation rules.

    Python
    Auf GitHub ansehen↗28,043
  • pydantic/pydanticAvatar von pydantic

    pydantic/pydantic

    26,932Auf GitHub ansehen↗

    Pydantic is a data validation and serialization library that enforces schema constraints and performs type conversion on complex data structures. It utilizes standard Python type annotations to define data models, allowing developers to establish structured schemas that automatically enforce business rules and constraints without the need for custom domain-specific languages. The library distinguishes itself by transforming high-level model definitions into optimized code during initialization to minimize runtime overhead. It supports recursive validation for nested data structures and employ

    Uses standard Python type annotations to define data structures and validation rules without custom domain-specific languages.

    Pythonhintsjson-schemaparsing
    Auf GitHub ansehen↗26,932
  • prefecthq/fastmcpAvatar von PrefectHQ

    PrefectHQ/fastmcp

    22,994Auf GitHub ansehen↗

    FastMCP is a Python framework designed for building servers that expose functions, resources, and prompts to AI models using the Model Context Protocol. It simplifies the development process by automatically deriving tool metadata, input schemas, and documentation directly from Python function signatures and type hints. The framework provides a unified container for managing these components, allowing developers to build modular applications that integrate seamlessly with AI assistants. The project distinguishes itself through its support for interactive, server-defined user interface compone

    Automatically derives tool metadata, input schemas, and documentation from Python function signatures and type hints at runtime.

    Pythonagentsfastmcpllms
    Auf GitHub ansehen↗22,994
  • fastapi/typerAvatar von fastapi

    fastapi/typer

    19,632Auf GitHub ansehen↗

    This project is a Python framework for building command-line interfaces by converting standard functions into executable programs. It uses type hints to automatically infer and generate argument parsers, validation logic, and help documentation, allowing developers to define complex terminal applications through simple function signatures. The framework distinguishes itself through a decorator-driven registration system that enables the construction of hierarchical command trees. It supports dependency injection to manage shared state and runtime configuration across subcommands, and it utili

    Uses Python type annotations to automatically infer and generate command-line argument parsers and validation logic.

    Pythoncliclickpython
    Auf GitHub ansehen↗19,632
  • elysiajs/elysiaAvatar von elysiajs

    elysiajs/elysia

    18,531Auf GitHub ansehen↗

    Elysia is a high-performance TypeScript web framework designed for building type-safe backend services. It provides a modular, plugin-based architecture that allows developers to compose server logic, middleware, and validation schemas into scalable application instances. By leveraging native web standards, the framework ensures portability across diverse JavaScript runtimes, including Node.js, Deno, and various edge computing environments. The framework distinguishes itself through its focus on end-to-end type safety, automatically synchronizing request and response definitions between the s

    Leverages native TypeScript type hints to define and validate request and response schemas automatically.

    TypeScriptbunframeworkhttp
    Auf GitHub ansehen↗18,531
  • sindresorhus/type-festAvatar von sindresorhus

    sindresorhus/type-fest

    17,233Auf GitHub ansehen↗

    type-fest is a library of reusable utility types for performing complex transformations and validations on objects, arrays, strings, and numeric ranges in TypeScript. It provides a collection of type definitions designed to handle advanced structural changes and constraints. The project distinguishes itself by offering specialized logic for string literal processing, such as casing transformations and pattern-based modifications, and type-level arithmetic for calculating numeric ranges and absolute values. It also includes utilities for enforcing deep immutability, ensuring union mutual exclu

    Provides utilities to extend base type definitions for configuration files like package.json.

    TypeScriptnpm-packagetypestypescript
    Auf GitHub ansehen↗17,233
  • mjhea0/awesome-fastapiAvatar von mjhea0

    mjhea0/awesome-fastapi

    11,080Auf GitHub ansehen↗

    This project serves as a comprehensive resource hub and curated directory for the FastAPI web framework ecosystem. It provides developers with a centralized collection of community-vetted libraries, tools, and best practices designed to support the development, testing, and deployment of scalable web services using modern Python. The repository distinguishes itself by aggregating resources that address the full lifecycle of high-performance API development. It covers essential capabilities including project scaffolding, database integration, and the implementation of real-time communication p

    Validates request payloads and serializes responses using type-hinted data models.

    awesomeawesome-listfastapi
    Auf GitHub ansehen↗11,080
  • vitalik/django-ninjaAvatar von vitalik

    vitalik/django-ninja

    9,095Auf GitHub ansehen↗

    Django Ninja is a high-performance framework for building type-safe REST APIs using Django. It functions as an OpenAPI API framework and a type-safe wrapper that utilizes Python type hints to handle request validation and response serialization. The project distinguishes itself by integrating Pydantic-based data modeling to convert JSON inputs into strongly typed Python objects. It automatically generates OpenAPI schemas and interactive documentation pages directly from defined endpoint signatures. The framework supports asynchronous request processing to handle concurrent tasks. It employs

    Leverages standard Python type annotations to define data structures and enforce runtime validation rules.

    Pythondjangodjango-ninjaopenapi
    Auf GitHub ansehen↗9,095
  • bentoml/bentomlAvatar von bentoml

    bentoml/BentoML

    8,456Auf GitHub ansehen↗

    BentoML is a machine learning model serving framework and GPU-accelerated inference server designed to package, deploy, and scale AI models as production-ready REST APIs. It functions as an AI model lifecycle manager and an inference graph orchestrator, enabling the chaining of multiple models and custom logic into complex pipelines for advanced task sequences. The framework distinguishes itself through a dynamic batching engine that optimizes GPU throughput and an artifact-based packaging system that bundles model weights and dependencies into immutable archives for consistent deployment. It

    Leverages Python type annotations to automatically define request and response schemas for REST endpoints.

    Pythonai-inferencedeep-learninggenerative-ai
    Auf GitHub ansehen↗8,456
  • litestar-org/litestarAvatar von litestar-org

    litestar-org/litestar

    8,302Auf GitHub ansehen↗

    Litestar is a high-performance Python ASGI web framework designed for building asynchronous APIs and web services. It functions as a type-safe toolkit that leverages Python type hints to provide automatic request validation and response serialization, while natively generating interactive API documentation based on the OpenAPI specification. The framework is distinguished by its integrated dependency injection system, which manages shared resources and resolves complex nested service chains directly within request handlers. It further organizes API development through class-based controllers

    Leverages Python type hints to automatically define data structures and validation rules for request and response serialization.

    Pythonapiasgiasyncio
    Auf GitHub ansehen↗8,302
  • colyseus/colyseusC

    colyseus/colyseus

    7,015Auf GitHub ansehen↗

    Colyseus is a real-time multiplayer game framework for Node.js that provides an authoritative server model, delta-compressed state synchronization, and room-based session orchestration. It is designed to handle the core infrastructure of multiplayer games, including matchmaking, state management, and scalable process distribution across multiple servers. The framework distinguishes itself through its schema-based state definition, which enables automatic serialization and change tracking, combined with a binary WebSocket protocol for low-latency updates. Its matchmaking pipeline routes player

    Defines structured data models with typed fields enabling automatic serialization and change tracking.

    TypeScript
    Auf GitHub ansehen↗7,015
  • answerdotai/fasthtmlAvatar von AnswerDotAI

    AnswerDotAI/fasthtml

    6,846Auf GitHub ansehen↗

    FastHTML is a full-stack Python web framework designed for building interactive web applications using pure Python. It functions as an HTMX integration framework and a Python HTML domain-specific language, allowing developers to generate HTML structures using native objects and functions instead of external templating files. The framework is distinguished by its native support for real-time bidirectional communication via WebSockets and Server-Sent Events, enabling server-side updates to be pushed to the browser without full page reloads. It further integrates identity management through OAut

    Extracts URL paths and query parameters into typed function arguments using language-level type annotations.

    Jupyter Notebook
    Auf GitHub ansehen↗6,846
  • python-attrs/attrsAvatar von python-attrs

    python-attrs/attrs

    5,799Auf GitHub ansehen↗

    attrs is a Python library that automatically generates initialization, representation, equality, hashing, and ordering methods from declarative class attribute definitions. At its core, it provides a class decorator metaprogramming framework that intercepts class creation to rewrite the class body, producing dunder methods without manual boilerplate. The library includes a comprehensive attribute validation toolkit with built-in validators for type checks, range constraints, regex matching, length limits, and logical composition of validation rules. The library distinguishes itself through it

    Serializes and deserializes class instances using a schema library that enforces field types and constraints.

    Python
    Auf GitHub ansehen↗5,799
  • dlt-hub/dltAvatar von dlt-hub

    dlt-hub/dlt

    5,472Auf GitHub ansehen↗

    dlt ist ein Python-Tool zur Datenaufnahme und ein ETL-Pipeline-Framework, das darauf ausgelegt ist, Daten aus verschiedenen Quellen abzurufen und in strukturierten Zielen zu speichern. Es fungiert als Schema-Inferenz-Engine, die automatisch Datentypen erkennt und verschachtelte JSON-Strukturen in relationale Tabellen flacht, wobei Daten von Quellen in Lakehouses, Warehouses oder Vektordatenbanken verschoben werden. Das Projekt zeichnet sich durch KI-gestützte Pipeline-Generierung aus, die Large Language Models nutzt, um Extraktionscode und Konnektoren für REST-APIs zu erstellen. Es unterstützt zudem multimodale Vektorspeicherung und die spezialisierte Befüllung von Vektordatenbanken zur Unterstützung von KI- und Machine-Learning-Anwendungen. Das Framework deckt ein breites Spektrum an Funktionen ab, einschließlich automatisierter Schema-Evolution, inkrementellem Datenladen mittels Statusverfolgung und Datenqualitätsvalidierung durch die Durchsetzung von Datenverträgen. Es bietet Tools für relationale Datennormalisierung, Pre- und Post-Load-Transformationen sowie eine Vielzahl von Ziel-Adaptern für SQL-Datenbanken und Cloud-Objektspeicher. Die Observability wird durch Pipeline-Ausführungs-Dashboards, Spalten-Lineage-Tracking und Schema-Versionsverifizierung mittels inhaltsbasierter Hashes gehandhabt.

    Injects data types and metadata hints into resources during runtime to bypass static schema files.

    Pythondatadata-engineeringdata-lake
    Auf GitHub ansehen↗5,472
  • h3js/h3Avatar von h3js

    h3js/h3

    5,353Auf GitHub ansehen↗

    Hono ist ein minimales JavaScript-HTTP-Framework, das für den Aufbau von Webservern über mehrere Runtimes hinweg entwickelt wurde, einschließlich Node.js, Edge-Runtimes und Serverless-Plattformen. Es fungiert als Cross-Runtime-Webserver und Web-Standard-API-Wrapper, der verschiedene Runtime-Request- und Response-Objekte in Standard-Web-API-Signaturen normalisiert. Das Projekt dient als HTTP-Middleware-Orchestrator und Request-Handler, der eine Middleware-basierte Request-Pipeline und hierarchisches Routen-Mounting nutzt, um modulare Serverstrukturen zu erstellen. Es zeichnet sich durch einen Runtime-agnostischen Event-Wrapper aus, der konsistentes Verhalten unabhängig von der Bereitstellungsumgebung gewährleistet. Das Framework deckt ein breites Spektrum an Funktionen ab, einschließlich HTTP-Request-Routing mit dynamischer Parametererfassung, Echtzeit-WebSocket-Kommunikation und umfassenden Sicherheitsmaßnahmen wie CORS-Management und Basic-Authentifizierung. Zudem bietet es Hilfsmittel für das Sitzungsmanagement via Cookies, statisches Asset-Serving und Traffic-Management durch Request-Proxying und URL-Weiterleitung. Das Projekt ist in TypeScript implementiert.

    Assigns generic types to event handlers to provide automatic typing for request bodies and query parameters.

    TypeScript
    Auf GitHub ansehen↗5,353
  • zircote/swagger-phpAvatar von zircote

    zircote/swagger-php

    5,298Auf GitHub ansehen↗

    swagger-php ist ein OpenAPI-Spezifikationsgenerator und eine PHP-API-Dokumentationsbibliothek. Sie scannt PHP-Quellcode-Attribute und -Annotationen, um standardisierte Spezifikationsdateien und interaktive API-Referenzen zu erstellen. Das Tool fungiert als Schema-Inferenz-Engine, die Datentypen und Schemata aus nativen PHP-Type-Hints und generischen Blöcken ableitet. Es verwendet reflexionsbasierte statische Analyse, um Metadaten zu extrahieren, ohne Anwendungslogik auszuführen, und unterstützt rekursive Schema-Vererbung, um Definitionen aus Elternklassen und Interfaces zusammenzuführen. Das Projekt enthält ein CLI-Utility zum Exportieren von API-Definitionen in statische YAML- oder JSON-Dateien. Es bietet zudem eine Pipeline für die Spezifikationsassemblierung mit pluggbarer Verarbeitungslogik, um zu modifizieren, wie Quellcode analysiert oder strukturiert wird.

    Leverages native PHP type hints and generic blocks to automatically define data structures and validation rules.

    PHP
    Auf GitHub ansehen↗5,298
  • strawberry-graphql/strawberryAvatar von strawberry-graphql

    strawberry-graphql/strawberry

    4,674Auf GitHub ansehen↗

    Strawberry is a type-safe GraphQL library for Python that enables the design of schemas using Python type annotations and dataclasses. It functions as an asynchronous GraphQL server and execution engine, providing a bridge to expose schemas across ASGI-compliant web frameworks such as FastAPI, Django, Flask, and Litestar. The project implements GraphQL Federation, allowing for the creation of distributed schemas and entities that merge into a unified supergraph across multiple services. It also includes a dedicated toolkit for the Relay specification, supporting global object identification a

    Derives the GraphQL schema structure by inspecting Python type annotations and dataclasses at runtime.

    Pythonasgiasynciodjango
    Auf GitHub ansehen↗4,674
  • binance/binance-connector-pythonAvatar von binance

    binance/binance-connector-python

    2,755Auf GitHub ansehen↗

    Binance Connector Python is a client library that provides programmatic access to the Binance cryptocurrency exchange, enabling automated trading and asset management across spot, margin, futures, and options markets. The library wraps the exchange's REST and WebSocket APIs into a Python interface with type-hinted methods, HMAC and RSA authentication, and a unified request-response pipeline for consistent error handling and rate limiting. The connector supports a broad range of exchange operations beyond core trading, including sub-account management, wallet operations, and algorithmic order

    Uses Python type hints and dataclasses to provide IDE autocompletion and static validation for API parameters and responses.

    Pythonbinance-apiconnectorcrypto
    Auf GitHub ansehen↗2,755
  • spatie/data-transfer-objectAvatar von spatie

    spatie/data-transfer-object

    2,226Auf GitHub ansehen↗

    This library provides a framework for defining typed, immutable data structures in PHP. It enables developers to construct structured objects from raw input arrays, ensuring consistent data shapes and schema integrity across different layers of an application. By enforcing strict property types and validation rules during instantiation, the library prevents invalid data states and simplifies the handling of complex information. The project distinguishes itself through its use of attribute-driven metadata, which allows for property renaming, custom validation, and serialization logic directly

    Enforces schema integrity by validating raw input data against class property definitions and type hints during instantiation.

    PHPobjectsphpvalue
    Auf GitHub ansehen↗2,226
  1. Home
  2. Software Engineering & Architecture
  3. Type-Hint-Based Schema Definitions

Unter-Tags erkunden

  • Configuration ExtensionsUtilities for extending existing schema definitions to include custom properties. **Distinct from Type-Hint-Based Schema Definitions:** Focuses on the extension of existing schemas rather than the base mechanism of using type hints for definitions.
  • Request Parameter Type-HintingLeveraging language type annotations to automatically parse and validate incoming request data. **Distinct from Type-Hint-Based Schema Definitions:** Focuses specifically on the application of type hints to request parsing rather than general data schema validation.
  • Serialization Schemas1 Sub-TagDefining structured data models with typed fields for automatic serialization and change tracking. **Distinct from Type-Hint-Based Schema Definitions:** Distinct from Type-Hint-Based Schema Definitions: focuses on schema definitions for serialization and diffing, not just type annotations.