Python Authorization Library

The Python version of Oso is available on PyPI and can be installed using pip:

$ pip install oso


  • Python version 3.6 or greater
  • Supported platforms:
    • Linux
    • OS X
    • Windows

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.

Python API

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

Framework & ORM Integrations

Oso also provides libraries to integrate with Python frameworks and ORMS.