Python Authorization Library
The Python version of Oso is available on
and can be installed using
$ pip install oso
- Python version 3.6 or greater
- Supported platforms:
The standard Python package is known to work on glibc-based distributions, but not on musl-based ones like Alpine Linux. Wheels built against musl that you can use on Alpine Linux can be downloaded from the releases page on GitHub.
The Python API reference is automatically generated from the Oso Python library source files.
Framework & ORM Integrations
Oso also provides libraries to integrate with popular Python frameworks and ORMS.
We just released early access to the next version of our SQLAlchemy library, which will include improved support for common authorization models, like role based access control.