16 个仓库
Automatic generation of initialization and equality methods for classes based on type annotations.
Distinct from Data Structure Definitions: Distinct from general data structure definitions: focuses on automated method generation for classes.
Explore 16 awesome GitHub repositories matching data & databases · Data Class Generators. Refine with filters or upvote what's useful.
Python is a high-level, interpreted programming language designed for readability and versatility. It operates via a bytecode-based virtual machine and manages memory automatically through reference-counting garbage collection. The language supports multiple programming paradigms, including object-oriented, imperative, and functional styles, and provides a comprehensive standard library for system operations, networking, and data handling. The language is distinguished by its dynamic nature, allowing for runtime object introspection and metaclass-driven class creation. It utilizes protocol-ba
Automatically generates initialization and representation methods for classes using type annotations.
This project is a comprehensive technical interview preparation resource and computer science interview guide. It serves as an educational reference for developers to study core software engineering fundamentals and common coding patterns required for employment screenings. The repository provides detailed guides and references covering data structures and algorithms, networking and security, operating systems, and web development. It specifically focuses on the implementation and complexity analysis of sorting, searching, and graph algorithms. The material encompasses a wide breadth of comp
Provides educational content on Java's concise data-holding record syntax.
SwiftGen is a tool that creates strongly typed Swift references for assets, strings, and storyboards to eliminate manual string-based APIs. It functions as a code generator that maps localization keys, static assets, and data models into typed source code using a template-based engine. The project uses custom templates to define the exact structure and syntax of the generated code. This allows the generated output to match specific project conventions while providing a flexible system for mapping translation keys and converting local files, colors, and fonts into typed constants. The tool co
Parses data models to create classes for entities including attributes, relationships, and fetch requests.
pysheeet 是一个技术参考库,提供了一系列精选的代码片段和实现模式,用于高级 Python 开发、系统集成和高性能计算。它充当实现底层网络编程、原生 C 扩展以及异步和并发编程的综合指南。 该项目为大语言模型的开发和部署提供了专门的框架,包括用于分布式 GPU 推理和高性能服务的工具。它还包括用于高性能计算集群编排的详细模式,涵盖 GPU 资源分配和多节点工作负载管理。 该库涵盖了广泛的功能,包括安全网络通信和加密、对象关系映射和数据库管理,以及复杂数据结构和算法的实现。它还提供用于内存管理、通过外部函数接口(FFI)进行原生互操作以及系统级 OS 集成的实用程序。
Provides patterns for automatically generating boilerplate methods for classes used primarily for data storage.
Entitas is a data-oriented Entity Component System framework for Unity. It is designed to separate game state into components and logic into systems, utilizing a data-oriented design to optimize CPU cache usage, memory usage, and processing speed. The framework includes a C# source code generator that automatically produces boilerplate classes, entity accessors, and context singletons to reduce manual coding. It also provides a Unity editor debugging tool for real-time runtime state visualization, system performance monitoring, and visual entity inspection. The system manages entity lifecycl
Automatically generates classes and methods to clarify data-logic interactions and reduce manual coding effort.
sqlboiler is a database-first ORM generator for Go that analyzes an existing database schema to produce strongly typed structures and query helpers. It functions as a schema-driven code generator, transforming database tables and relationships into executable Go source code. The project distinguishes itself through a type-safe query builder that uses chainable modifiers to construct SQL statements, eliminating the need for raw string concatenation. It utilizes customizable text templates to generate source code, allowing for the aliasing of schema entities and the creation of custom templates
Generates language-specific data classes and helper methods based on an existing database schema.
Byte Buddy is a runtime code generation and bytecode manipulation library for Java. It provides a fluent API for creating and modifying Java classes during execution, enabling developers to define class structures, methods, and fields programmatically without requiring a compiler or direct bytecode assembly. The library supports agent-based class transformation, allowing loaded classes to be modified during JVM startup or runtime through a Java agent that intercepts class loading. It offers bytecode-level method interception for fine-grained control over method behavior, annotation-based code
Generates new Java classes during execution with arbitrary structures beyond simple proxies.
From Java To Kotlin - Your Cheat Sheet For Java To Kotlin
Demonstrates Kotlin data class syntax that auto-generates equals, hashCode, toString, and copy methods.
HTTParty 是一个 Ruby HTTP 客户端库,专为构建标准化 API 客户端而设计。它将底层网络原语抽象为高级接口,允许开发人员在类中封装基础 URI 和请求配置,以保持与远程 Web 服务的交互一致性。 该库通过使用基于注册表的系统,根据响应头解析内容,自动将原始网络响应数据转换为原生 Ruby 结构。它还提供用于发送多部分表单数据和流式传输大数据载荷的专门机制,以在文件传输期间保持内存效率。 该项目涵盖了广泛的网络功能,包括执行标准 HTTP 操作、JSON 有效载荷传输以及管理安全 TLS 连接。它包括用于请求认证、响应解压缩和用于调试的网络流量记录的工具。 该库还提供了一个用于查询 Web 服务并将响应数据视为结构化对象查看的命令行界面。
Allows defining base URIs and request defaults within Ruby classes to encapsulate service-specific settings.
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
Lists attributes and automatically generates initialization, representation, equality, and hashing methods.
Tortoise ORM is an asynchronous object-relational mapper for Python that mirrors Django's model and queryset API while running on asyncio. It defines database tables as Python classes with typed fields and supports foreign key, many-to-many, and one-to-one relations, providing a chainable query API for filtering, annotating, grouping, and prefetching related objects without blocking the event loop. The ORM includes a built-in migration engine that detects model changes, generates migration files, and applies or reverts schema changes through a command-line tool. It connects to PostgreSQL, MyS
Defines database tables as Python classes with typed fields and relations, automatically generating schema.
Flask-SQLAlchemy 是一个将 SQLAlchemy 关系数据库工具包与 Flask Web 框架集成的工具包。它通过将数据库表结构定义为 Python 类来实现关系数据建模,并管理 Web 应用程序中数据库记录的持久化和检索。 该项目将数据库会话生命周期绑定到活动的应用程序请求上下文,以确保自动连接清理。它为 Web 数据访问提供了专门的实用程序,包括查询结果分页,以及在请求的数据库记录缺失时自动触发 404 Not Found 响应的机制。 该扩展涵盖了广泛的数据库管理功能,包括声明式模型映射、模式反射和物理表结构的生成。它通过多绑定查询路由支持高级连接管理,并提供用于审计 SQL 查询性能和执行时间的观测工具。
Creates table structures using declarative classes that map application objects to database rows.
Flask-SQLAlchemy 是一个关系数据库工具包,将 SQLAlchemy 对象关系映射器 (ORM) 集成到 Web 应用程序中。它作为一个数据库会话管理器和模式工具包,提供在请求生命周期内定义数据模型和执行查询所需的基础设施。 该项目以其多数据库路由引擎为特色,该引擎使用绑定键 (bind-keys) 将不同的模型映射到多个不同的数据库引擎。它还包括一个 SQL 查询审计工具,用于捕获和记录单个请求的执行语句和计时数据,以识别性能瓶颈。 该工具包涵盖了全面的关系数据建模和模式管理,包括从元数据生成物理表或反射现有数据库结构的能力。它通过请求作用域的会话管理来管理连接生命周期,并提供用于查询结果分页和事务性数据修改的实用程序。
Uses a declarative class system to automatically manage database metadata and naming conventions.
dcat-admin 是一个 Laravel 管理面板框架,用于快速构建数据驱动的管理界面。它作为一个 CRUD 生成器和后端脚手架工具,根据数据库表模式自动生成创建、读取、更新和删除界面。 该系统通过基于插件的扩展架构以及在单个安装中运行多个独立管理实例的能力脱颖而出。它提供了将外部 API 映射到表单和表格的专用工具,以及用于在解析和提交期间执行自定义逻辑的事件驱动表单生命周期。 该框架涵盖了广泛的功能领域,包括用于管理分层权限的基于角色的访问控制、一套包含内联编辑功能的综合数据管理网格,以及多步表单工作流。它还包括用于操作仪表板的数据可视化工具,以及各种用于分块大文件上传和富文本编辑的内容处理实用程序。 提供了命令行实用程序来自动化管理组件和操作类的生成。
Ships command-line tools to automatically generate specialized action classes for managing tree-structured data.
linq2db is a type-safe object-relational mapper that translates LINQ expressions into optimized SQL queries for multiple database providers. It functions as a database mapper that links classes to tables and includes a SQL query builder and a command-line schema tool for generating data classes from existing databases. The project provides high-performance bulk data processing for inserting and loading large volumes of records via batch or binary copy methods. It also supports advanced SQL operations, including window functions, common table expressions for recursive hierarchical querying, an
Ships a command-line tool to automatically generate data classes from an existing database schema.
Drift is a type-safe SQL persistence library and relational mapper that provides a structured way to map database tables to classes and execute SQL queries with build-time validation. It functions as a type-safe query builder and a wrapper for SQLite and PostgreSQL, eliminating manual result set parsing by binding query outputs to native objects. The project distinguishes itself through a build-time code generation system that produces type-safe APIs and validates raw SQL statements against database versions before execution. It features reactive query streaming, which transforms SQL queries
Customizes the structure of generated data classes, including mutability and serialization keys.