awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

5 个仓库

Awesome GitHub RepositoriesPython Data Class Declarations

Declarations that automatically generate initialization, representation, equality, and hashing methods for Python classes.

Distinct from Kotlin Data Class Declarations: Distinct from Kotlin Data Class Declarations: focuses on Python's attrs library for data class generation, not Kotlin's language feature.

Explore 5 awesome GitHub repositories matching data & databases · Python Data Class Declarations. Refine with filters or upvote what's useful.

Awesome Python Data Class Declarations GitHub Repositories

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • jnunemaker/httpartyjnunemaker 的头像

    jnunemaker/httparty

    5,894在 GitHub 上查看↗

    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.

    Ruby
    在 GitHub 上查看↗5,894
  • python-attrs/attrspython-attrs 的头像

    python-attrs/attrs

    5,799在 GitHub 上查看↗

    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.

    Python
    在 GitHub 上查看↗5,799
  • tortoise/tortoise-ormtortoise 的头像

    tortoise/tortoise-orm

    5,582在 GitHub 上查看↗

    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.

    Pythonasyncasynciomysql
    在 GitHub 上查看↗5,582
  • pallets-eco/flask-sqlalchemypallets-eco 的头像

    pallets-eco/flask-sqlalchemy

    4,314在 GitHub 上查看↗

    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.

    Pythonflaskflask-sqlalchemypython
    在 GitHub 上查看↗4,314
  • mitsuhiko/flask-sqlalchemymitsuhiko 的头像

    mitsuhiko/flask-sqlalchemy

    4,311在 GitHub 上查看↗

    Flask-SQLAlchemy 是一个关系数据库工具包,将 SQLAlchemy 对象关系映射器 (ORM) 集成到 Web 应用程序中。它作为一个数据库会话管理器和模式工具包,提供在请求生命周期内定义数据模型和执行查询所需的基础设施。 该项目以其多数据库路由引擎为特色,该引擎使用绑定键 (bind-keys) 将不同的模型映射到多个不同的数据库引擎。它还包括一个 SQL 查询审计工具,用于捕获和记录单个请求的执行语句和计时数据,以识别性能瓶颈。 该工具包涵盖了全面的关系数据建模和模式管理,包括从元数据生成物理表或反射现有数据库结构的能力。它通过请求作用域的会话管理来管理连接生命周期,并提供用于查询结果分页和事务性数据修改的实用程序。

    Uses a declarative class system to automatically manage database metadata and naming conventions.

    Python
    在 GitHub 上查看↗4,311
  1. Home
  2. Data & Databases
  3. Data Structure Definitions
  4. Data Class Generators
  5. Kotlin Data Class Declarations
  6. Python Data Class Declarations

探索子标签

  • ORM Model DeclarationsDeclarative definitions of database tables as Python classes with typed fields and relations, automatically generating schema. **Distinct from Python Data Class Declarations:** Distinct from Python Data Class Declarations: focuses on ORM model definitions with database schema generation, not general-purpose data classes.