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:
itemandlistqueries, andcreate,update, anddeletemutations 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
searchquery to search all string columns of all models. - A
check_deletequery 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)
| File | Size | Uploaded | |
|---|---|---|---|
| flask_magql-1.1.1.tar.gz | 6.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|