Skip to content

Third Party Packages

Esmerald being an ASGI framework that also support WSGI through WSGIMiddleware also allows the integrations with third parties and their packages and frameworks.

GraphQL

Natively Esmerald does not integrate GraphQL, at least not for now. Instead there already available awesome working solutions built by great minds.

Ariadne

Great framework with great documentation and great examples how to use it.

from ariadne import QueryType, make_executable_schema
from ariadne.asgi import GraphQL

from esmerald import Esmerald, Include

type_defs = """
    type Query {
        hello: String!
    }
"""

query = QueryType()


@query.field("hello")
def resolve_hello(*_):
    return "Hello world!"


# Create executable schema instance
schema = make_executable_schema(type_defs, query)

app = Esmerald(debug=True, routes=[Include("/graphql", GraphQL(schema, debug=True))])

The documentation can be found here.

Esmerald Simple JWT

Do you need to implement a JWT access with Esmerald and you don't want to spend a lot of timme configuring and designing the how to? Dymmond provides you with an out of the box solution for that with Esmerald Simple JWT.

Esmerald Simple JWT

Esmerald using the scheduler