{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/7"},{"label":"Security","url":"https://skillfed.io/packages/category/security/2"}],"enrichment":{"capability":"Python client library for querying and managing authorization policies in a Cerbos authorization service, supporting both gRPC and HTTP protocols with sync and async modes.","skillfed_tags":["authorization","policy-engine","grpc"],"use_cases":["Check if a user can perform an action on a resource before executing application logic.","Generate query plans to filter database results based on user permissions without fetching all records.","Manage authorization policies centrally in Cerbos Hub and sync them via the Admin API.","Build multi-tenant applications where permissions depend on department, geography, or team attributes.","Implement async authorization checks in high-concurrency services using AsyncCerbosClient."],"what_it_does":"Cerbos is a Python SDK that connects your application to a Cerbos authorization service\u2014a separate, language-agnostic policy engine that evaluates access control decisions. Instead of embedding authorization logic in your code, you define context-aware policies in Cerbos and query them via this client. The SDK provides two transport options (gRPC recommended for new projects, HTTP for backwards compatibility), both with sync and async support, plus an Admin API for policy management.\n\nThe library handles the protocol details: it serializes principals (users with roles and attributes), resources (the objects being accessed), and actions into protobuf messages, sends them to the Cerbos service, and returns whether an action is allowed or a query plan for filtering resources. It also supports Cerbos Hub for managed policy storage, Unix domain sockets, TLS configuration, and custom gRPC channel options.","worth_installing":"Yes, if you are already running a Cerbos authorization service or planning to adopt one. The SDK is actively maintained, has no known vulnerabilities, and low install friction. It is purpose-built for Cerbos integration and not a general-purpose authorization library\u2014install it only when Cerbos is your chosen policy engine."},"id":"cerbos","links":{"html":"https://skillfed.io/packages/cerbos","md":"https://skillfed.io/packages/cerbos.md","pypi":"https://pypi.org/project/cerbos/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-13","license_spdx":null,"license_treatment":"permissive","name":"cerbos","python_support":"supports_current","summary":"SDK for working with Cerbos: an open core, language-agnostic, scalable authorization solution"},"popularity":{"monthly_downloads":264512,"position":8337,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.16.0"}
