CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-ariadne

Ariadne is a Python library for implementing GraphQL servers using a schema-first approach.

Pending

Quality

Pending

Does it follow best practices?

Impact

Pending

No eval scenarios have been run

Overview
Eval results
Files

explorer.mddocs/

GraphQL Explorer

Built-in GraphQL development tools including GraphQL Playground, GraphiQL, and Apollo Studio integration for API exploration and testing.

Capabilities

Explorer Classes

class Explorer:
    """Base class for GraphQL explorers."""
    def __init__(self, title: str = "Ariadne GraphQL"): ...

class ExplorerPlayground(Explorer):
    """GraphQL Playground explorer."""

class ExplorerGraphiQL(Explorer):
    """GraphiQL explorer."""

class ExplorerApollo(Explorer):
    """Apollo Studio explorer."""

class ExplorerHttp405(Explorer):
    """Explorer that returns HTTP 405."""

Template Utilities

def render_template(template: str, **context) -> str:
    """Render HTML template with context."""

def escape_default_query(query: str) -> str:
    """Escape default query for HTML embedding."""

Usage Examples

from ariadne.asgi import GraphQL
from ariadne.explorer import ExplorerPlayground

# Enable GraphQL Playground
app = GraphQL(
    schema,
    explorer=ExplorerPlayground(title="My API")
)

Install with Tessl CLI

npx tessl i tessl/pypi-ariadne

docs

asgi.md

core-schema.md

error-handling.md

execution.md

explorer.md

federation.md

file-uploads.md

index.md

relay.md

resolvers.md

type-bindables.md

validation.md

tile.json