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.

Connect with us on Slack

If you have any questions, or just want to talk something through, jump into Slack. An Oso engineer or one of the thousands of developers in the growing community will be happy to help.