Skip to main content

Magql-SQLAlchemy

Magql is a GraphQL framework for Python. It's pronounced "magical", and it is! This extension allows generating a complete API from SQLAlchemy database models. After the schema is generated, it can be modified to add, remove, or change any behavior. Here's some of the features Magql-SQLAlchemy provides:

  • item and list queries, and create, update, and delete mutations for each model.
  • Database queries are efficient, using SQLAlchemy's relationship loading techniques to eagerly load relationships that are present anywhere in the operation structure.
  • The list query can be filtered using multiple rules. Attributes can be filtered across relationships. Rules can be grouped and joined using AND and OR. Lists can be sorted by any column and paginated.
  • The create mutation recognizes null and default column values. The update mutation allows updating any field independently.
  • The create and update mutations validate unique constraints.
  • A universal search query to search all string columns of all models.
  • A check_delete query to check the effects of deleting a row before doing so.

Metadata

Release files for magql-sqlalchemy 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for magql-sqlalchemy 1.1.0
File Size Uploaded
magql_sqlalchemy-1.1.0.tar.gz 17.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for magql-sqlalchemy 1.1.0
File Interpreter ABI Platform
magql_sqlalchemy-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 38.0 kB

Release files / magql_sqlalchemy-1.1.0.tar.gz

Download URL magql_sqlalchemy-1.1.0.tar.gz
Size 17.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4f2daf3f0451144844b525195054d3d6713e127132ab5b9d8616c64528638742
BLAKE2b-256 checksum
How to use checksums
b1c8e206d5fe7f8cecd251f67f07c3d064e3a247b4f470a51d6e0683c45c1845
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / magql_sqlalchemy-1.1.0-py3-none-any.whl

Download URL magql_sqlalchemy-1.1.0-py3-none-any.whl
Size 21.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a63f9499429f6e20357c999b079614cb935f7224fa35fbf1f423db075b69c97d
BLAKE2b-256 checksum
How to use checksums
dffa30e027690a1844a2190672b42771fd7465f1a8944705757bbfd662042f51
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page