Pick a language:


The Oso SQLAlchemy integration enables data filtering to be used with SQLAlchemy models and provides built-in SQLAlchemy models for Role-Based Access Control.


The Oso SQLAlchemy integration is available on PyPI and can be installed using pip:

$ pip install sqlalchemy-oso


See the data filtering guide for usage information.

API Reference

The SQLAlchemy API reference is automatically generated from the Oso SQLAlchemy library source files.

Set up a 1x1 with an Oso Engineer

Our team is happy to help you get started with Oso. If you'd like to learn more about using Oso in your app or have any questions, schedule a 1x1 with an Oso engineer.