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.

Release files for flask-magql 1.1.1

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

Source distribution (sdist)

Source distribution for flask-magql 1.1.1
File Size Uploaded
flask_magql-1.1.1.tar.gz 6.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for flask-magql 1.1.1
File Interpreter ABI Platform
flask_magql-1.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 15.2 kB

Release files / flask_magql-1.1.1.tar.gz

Download URL flask_magql-1.1.1.tar.gz
Size 6.6 kB
Tags Source
SHA-256 checksum
How to use checksums
76800c480f70d8adbf65b9449dc48c9afe59f6b311c734cccddd3acfd14beacd
BLAKE2b-256 checksum
How to use checksums
1849b939de6be27dcb526f536f10907f91d5fe4ea4624eec790802c45324dca1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / flask_magql-1.1.1-py3-none-any.whl

Download URL flask_magql-1.1.1-py3-none-any.whl
Size 8.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2d523bd32271186e56611ee5a0a7f64b54eaa0e069e1aad0e70626dfb292572f
BLAKE2b-256 checksum
How to use checksums
91c5c392a59b911bc8daeb3bf1c3253c5668c069bb234b9eb1e963174329dafa
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.1 This release

2 release files

1.1.0

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