BSD Ports

devel/py-dj61-strawberry-graphql 0.341.2 FreeBSD

Library for creating GraphQL APIs

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Port added
Last update
Commit
e7335df354
License
MIT
Categories
devel, python

Description

Strawberry is a developer friendly GraphQL library for Python, designed for modern development.

* Type hints: Leverages Python type hints to provide a great developer experience while creating GraphQL Libraries.

* Async Support: Supports async/await out of the box, allowing you to write your resolvers in a non-blocking way.

* Extensible: Has support for schema and field extensions, allowing you to extend the schema with custom logic.

* Generics: Supports generics, allowing you to create reusable types that can be used in multiple places.

* Federation: Supports Federation, allowing you to create a federated GraphQL schema.

* Dataloaders: Comes with support for dataloaders, allowing you to batch multiple queries into a single one.

* Integrations: Has support for multiple integrations, allowing you to use it with your favorite web framework.

Version history 2

  1. 0.341.2 e7335df354
  2. 0.327.7 df107d9199

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkg install py312-dj61-strawberry-graphql

From the ports tree:

cd /usr/ports/devel/py-dj61-strawberry-graphql/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-dj61-strawberry-graphql>0:devel/py-dj61-strawberry-graphql

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest-0.327.7_1--0.327.7_1
FreeBSD:14:quarterly--n/a--
FreeBSD:15:latest0.327.7_10.327.7_1n/a--
FreeBSD:15:quarterly--n/an/an/a
FreeBSD:16:latest-0.327.7_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

As this port's Makefile names them.

Build 1

Runtime 5

The full lists below include those, and their dependencies in turn.

Build dependencies 16
Run dependencies 16

Configuration

Options name: devel_strawberry-graphql

OptionDefaultDescription
AIOHTTPoffBasic AIOHTTP integration
APOLLO-FEDERATIONoff
ASGIoffBasic ASGI integration
CHANNELSoffSupport for Django Channels
CLIoffSupport for CLI commands
DEBUGoffGenerate verbose debug information
DJANGOoffBasic Django integration
FASTAPIoffSupport for FastAPI in conjunction with GraphQLRouter
FLASKoffBasic Flask integration
OPENTELEMETRYoffGenerate Open Telemetry compatible tracing information
PYDANTICoffSupport for Pydantic models
USES
python:3.12+
Service scripts
none
Conflicts with
${PYTHON_PKGNAMEPREFIX}*strawberry-graphql

Files

distinfo 1
FileSizeSHA256
strawberry_graphql-0.341.2.tar.gz2992468073fae26510fb25394a6ea9dd0f4e23da6bc303312fff684f6a884d59eedb72
Master sites 1
  • PYPI

Commit history 3

DateCommitCreditsLog message
e7335df354 Kai Knoblich devel/py-dj61-strawberry-graphql: Update to 0.341.2
* Remove no longer required workaround for the vendored dataclasses module which was removed with the 0.335.0 release. Changelog since 0.327.7: https://github.com/strawberry-graphql/strawberry/blob/0.341.2/CHANGELOG.md
62dcd13999 Kai Knoblich devel/py-dj61-strawberry-graphql: Fix with Python 3.13 and the deps
Apply the same changes as to py-dj60-strawberry-graphql in 1287f912f000. * The asgi and fastapi extras need python-multipart (starlette's request.form()), but the ASGI and FASTAPI options pulled in devel/py-multipart, an unrelated package with the same import name. Depend on www/py-python-multipart instead. * Upstream's cli extra also requires python-multipart, starlette, uvicorn and websockets: the "strawberry dev" command runs a Starlette app with WebSocket routes under uvicorn. Add them to CLI_RUN_DEPENDS. * strawberry/ext/dataclasses/dataclasses.py is a vendored helper for Python < 3.10 that nothing imports (strawberry requires 3.10+ and uses dataclass(kw_only=True)). On Python 3.13 it cannot be imported, because dataclasses._create_fn was removed. Remove it. …
df107d9199 Kai Knoblich net-mgmt/netbox: Add Django 6.1 consumers
* Django 5.2 is currently the "default" version in the ports tree due its long term support until April 2028. Thus ports that are assigned to that version will exist until then. The following ports are required to make the upgrade of net-mgmt/netbox to the 4.7 release possible because it requires Django 6.1. All of the ports listed below were created on the basis of their respective original ports: - devel/py-dj61-django-rq - devel/py-dj61-strawberry-graphql - graphics/py-dj61-sorl-thumbnail - www/py-dj61-channels - www/py-dj61-django-auth-ldap - www/py-dj61-django-choices-field - www/py-dj61-django-cors-headers - www/py-dj61-django-filter - www/py-dj61-django-htmx - www/py-dj61-django-js-asset - www/py-dj61-django-mptt …