{"repo":"strawberry-graphql/strawberry-sqlalchemy","free":true,"listed":false,"github":"https://github.com/strawberry-graphql/strawberry-sqlalchemy","clone":"git clone https://github.com/strawberry-graphql/strawberry-sqlalchemy.git","description":"A SQLAlchemy Integration for strawberry-graphql","language":"Python","stars":128,"topics":["graphql","strawberry","strawberry-graphql","database","hacktoberfest"],"license":"MIT","category":"databases-storage","readme_excerpt":"Strawberry SQLAlchemy Mapper [![PyPI Version][pypi-badge]][pypi-url] ![python][python-badge] [![Downloads][downloads-badge]][downloads-url] [![Test Coverage][coverage-badge]][coverage-url] [![CI/CD Status][ci-badge]][ci-url] [![Discord][discord-badge]][discord-url] The simplest way to implement autogenerated [Strawberry][strawberry-url] types for columns and relationships in SQLAlchemy models. Instead of manually listing every column and relationship in a SQLAlchemy model, strawberry-sqlalchemy-mapper lets you decorate a class declaration and it will automatically generate the necessary strawberry fields for all columns and relationships (subject to the limitations below) in the given model. - Native support for most of SQLAlchemy's most common types. (See all supported types here) - Extensible to arbitrary custom SQLAlchemy types. - Automatic batching of queries, avoiding N+1 queries when getting relationships - Support for SQLAlchemy =1.4.x - Lightweight and fast. Table of Contents - Getting Started - Installation - Basic Usage - Limitations - Supported Types - Association Proxies - Polymorphic Hierarchies - Contributing - ⚖️ LICENSE Getting Started Installation strawberry-sqlalchemy-mapper is available on PyPi Basic Usage First, define your sqlalchemy model: Next, decorate a type with strawberry sqlalchemy mapper.type() to register it as a strawberry type for the given SQLAlchemy model. This will automatically add fields for the model's columns, relationships, association ","default_branch":null,"files":null,"tree":[],"storefront":"/r/strawberry-graphql","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/strawberry-graphql/strawberry-sqlalchemy/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}