strawberry-django-plus
Warning
All the extra features provided by this lib were contributed and merged directly into the official strawberry-graphql-django lib. Since then this lib is deprecated and the official integration should be used instead and development will continue there!
If you were using this lib before, check out the migration guide for more information on how to migrate your code.
Enhanced Strawberry integration with Django.
Built on top of strawberry-django integration, enhancing its overall functionality.
Check the docs for information on how to use this lib.
Features
- All supported features by
strawberryandstrawberry-django, with proper typing and documentation. - Query optimizer extension
that automatically optimizes querysets
(using
only/select_related/prefetch_related) to solve graphqlN+1problems, with support for fragment spread, inline fragments,@include/@skipdirectives, prefetch merging, etc - Django choices enums using support for better enum typing (requires django-choices-field)
- Permissioned resolvers using schema directives, supporting both django authentication system, direct and per-object permission checking for backends that implement those (e.g. django-guardian).
- Mutations for Django, with CRUD support and automatic errors validation.
- Relay support for queries, connections and input mutations, using the official strawberry's relay integration
- Django Debug Toolbar integration with graphiql to display metrics like SQL queries
- Improved sync/async resolver that priorizes the model's cache to avoid have to use sync_to_async when not needed.
Installation
pip install strawberry-django-plus
Licensing
The code in this project is licensed under MIT license. See LICENSE for more information.
Stats
Metadata
Release files for strawberry-django-plus 3.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 | Provenance | Actions |
|---|---|---|---|---|
| strawberry_django_plus-3.1.1.tar.gz | 52.9 kB | Without provenance | Details for strawberry_django_plus-3.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| strawberry_django_plus-3.1.1-py3-none-any.whl | Python 3 | none | any | Details for strawberry_django_plus-3.1.1-py3-none-any.whl |
Total release size: 116.1 kB
Release files / strawberry_django_plus-3.1.1.tar.gz
| Download URL | strawberry_django_plus-3.1.1.tar.gz |
|---|---|
| Size | 52.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f17bf38f76e71509b9064b2d06faa9a24a0ff158b2e2a46ae159bc2240616fd1
|
|
BLAKE2b-256 checksum How to use checksums |
327649b874b6a4340e5c21e8c13d9740a59bc34235652d63374682a9f6e7788d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.11.0 Linux/5.15.0-1041-azure
|
Release files / strawberry_django_plus-3.1.1-py3-none-any.whl
| Download URL | strawberry_django_plus-3.1.1-py3-none-any.whl |
|---|---|
| Size | 63.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7d442e4889a1eed9278408835aac4c0eb573dc57c3721ab9430fc04cad5488b8
|
|
BLAKE2b-256 checksum How to use checksums |
d19e0398056179699b0fcc0fe224719fb429dc09b7ef09af016c0470872f1460
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.11.0 Linux/5.15.0-1041-azure
|
Security for strawberry-django-plus 3.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.