skillfed

authzed

Client library for SpiceDB.

authzed v1.25.0 940.3K downloads/30d#4,683 on PyPI
Permissive license Apache-2.0 Active released

What it is and what it does

Authzed is a Python client for SpiceDB, a permissions database and service. It provides gRPC-based access to Authzed's API for storing, computing, and validating application permissions. Developers define a schema modeling their permission requirements, then use this client to apply that schema, insert relationship data, and query permissions efficiently.

The library supports two API versions: v1 for core permission checks and schema management, and materialize/v0 for building materialized permission views in external systems. It handles both secure TLS connections to remote Authzed instances and insecure connections for local development environments, with straightforward initialization via bearer token authentication.

Use it for:

  • Check whether a user has permission to perform an action on a resource in a web application
  • Build materialized permission views for high-performance lookups in your own database
  • Manage and validate complex permission schemas across microservices
  • Integrate fine-grained access control into SaaS applications without building custom authorization logic
  • Query relationship data to determine group membership or role hierarchies

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Python client library for SpiceDB that enables applications to query and manage permissions through Authzed's gRPC API, supporting both core permission checks and materialized view operations.

Yes. The package is actively maintained, has low install friction, carries a permissive license, and integrates cleanly with standard gRPC tooling. It's the official client for a specialized but well-defined use case (SpiceDB permissions queries). Install it if you're using Authzed/SpiceDB for authorization; skip it if you don't need that specific service.

Install

authzed on PyPI

pip

pip install authzed

uv

uv add authzed

poetry

poetry add authzed

Installing authzed

Before you install

Low friction installation with a pure-Python wheel. Actively maintained with a release within the last month. Depends on standard gRPC and protobuf libraries.

License in practice

Licensed under Apache-2.0 (permissive), allowing use in commercial and proprietary applications with minimal restrictions.

Quickstart

pip install authzed

from authzed.api.v1 import Client, CheckPermissionRequest, ObjectReference, SubjectReference

client = Client(
    "grpc.authzed.com:443",
    bearer_token_credentials("t_your_token_here_1234567deadbeef"),
)
resp = client.CheckPermission(CheckPermissionRequest(
    resource=ObjectReference(object_type="blog/post", object_id="1"),
    permission="reader",
    subject=SubjectReference(object=ObjectReference(object_type="blog/user", object_id="emilia")),
))

Requires a valid Authzed API token from the Authzed dashboard to authenticate and connect.

Verify before relying

  • Performance characteristics and latency of permission checks at scale
  • Backward compatibility guarantees across minor versions
  • How bearer token credentials are provided in the usage example

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (<4,>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 4 — grpcio, protobuf, grpc-interceptor, googleapis-common-protos
Maintenance actively maintained — 31 days since the last release
First released
Downloads 940,344/month — #4,683 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: authzed-1.25.0-py3-none-any.whl

Programming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Tags

spicedb python clientpermissions management apiauthorization service clientgrpc permissions checkingaccess control libraryrelationship database clientauthzed api wrapper
authorizationpermissionsgrpc-client

More Database packages