Skip to main content

oso is an open source policy engine for authorization that’s embedded in your application

Project description

Oso

Development GitHub release (latest SemVer) Go version Maven version NPM version PyPI version RubyGems version Crates.io version Slack

What is Oso?

Oso is an open source policy engine for authorization that’s embedded in your application. It provides a declarative policy language for expressing authorization logic. You define this logic separately from the rest of your application code, but it executes inside the application and can call directly into it. Oso ships as a library with a built-in debugger and REPL.

Oso is ideal for building permissions into user-facing applications, but you can check out Use Cases to learn about other applications for Oso.

Using Oso consists of two parts:

  1. Writing Oso policies in a declarative policy language called Polar.
  2. Embedding Oso in your application using the appropriate language-specific authorization library.

Oso currently offers libraries for Java, Node.js, Python, Ruby, Rust and Go.

Getting started

To get up and running with Oso, check out the Getting Started guides in the Oso documentation.

Development

Core

Oso's Rust core is developed against Rust's latest stable release.

Language libraries

Oso's language libraries can be developed without touching the Rust core, but you will still need the Rust stable toolchain installed in order to build the core.

To build the WebAssembly core for the Node.js library, you will need to have wasm-pack installed and available on your system PATH.

Language requirements

To work on a language library, you will need to meet the following version requirements:

  • Java: 10+
    • Maven: 3.6+
  • Node.js: 10.14.2+
    • Yarn 1.22+
  • Python: 3.6+
  • Ruby: 2.4+
    • Bundler 2.1.4+
  • Rust: 1.46+
  • Go: 1.12+

Contributing

See: CONTRIBUTING.md.

License

See: LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

oso-0.11.1-pp37-pypy37_pp73-manylinux2010_x86_64.whl (7.2 MB view details)

Uploaded PyPy manylinux: glibc 2.12+ x86-64

oso-0.11.1-pp37-pypy37_pp73-macosx_10_9_x86_64.whl (1.7 MB view details)

Uploaded PyPy macOS 10.9+ x86-64

oso-0.11.1-pp36-pypy36_pp73-manylinux2010_x86_64.whl (7.2 MB view details)

Uploaded PyPy manylinux: glibc 2.12+ x86-64

oso-0.11.1-pp36-pypy36_pp73-macosx_10_9_x86_64.whl (1.7 MB view details)

Uploaded PyPy macOS 10.9+ x86-64

oso-0.11.1-cp39-cp39-win_amd64.whl (651.6 kB view details)

Uploaded CPython 3.9 Windows x86-64

oso-0.11.1-cp39-cp39-manylinux2010_x86_64.whl (7.2 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.12+ x86-64

oso-0.11.1-cp39-cp39-macosx_10_9_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

oso-0.11.1-cp38-cp38-win_amd64.whl (651.6 kB view details)

Uploaded CPython 3.8 Windows x86-64

oso-0.11.1-cp38-cp38-manylinux2010_x86_64.whl (7.2 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64

oso-0.11.1-cp38-cp38-macosx_10_9_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

oso-0.11.1-cp37-cp37m-win_amd64.whl (651.6 kB view details)

Uploaded CPython 3.7m Windows x86-64

oso-0.11.1-cp37-cp37m-manylinux2010_x86_64.whl (7.2 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.12+ x86-64

oso-0.11.1-cp37-cp37m-macosx_10_9_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

oso-0.11.1-cp36-cp36m-win_amd64.whl (651.6 kB view details)

Uploaded CPython 3.6m Windows x86-64

oso-0.11.1-cp36-cp36m-manylinux2010_x86_64.whl (7.2 MB view details)

Uploaded CPython 3.6m manylinux: glibc 2.12+ x86-64

oso-0.11.1-cp36-cp36m-macosx_10_9_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.6m macOS 10.9+ x86-64

File details

Details for the file oso-0.11.1-pp37-pypy37_pp73-manylinux2010_x86_64.whl.

File metadata

  • Download URL: oso-0.11.1-pp37-pypy37_pp73-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 7.2 MB
  • Tags: PyPy, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.7.10

File hashes

Hashes for oso-0.11.1-pp37-pypy37_pp73-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 0e17601eb8889f3e364dce913c253cc07d9faa13e8bf3bb962543d5ce0a09fe4
MD5 cfce02b5be27fdd8a5712276427ecfaa
BLAKE2b-256 f52473bb277f92a37c146ccc1bfc2c85f29d914caa684eb851b8f3bd7fcdfc29

See more details on using hashes here.

File details

Details for the file oso-0.11.1-pp37-pypy37_pp73-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: oso-0.11.1-pp37-pypy37_pp73-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: PyPy, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.7.10

File hashes

Hashes for oso-0.11.1-pp37-pypy37_pp73-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 0029ab4eff5931487b6fdd916504554c462ba6b3a596ccd734dce438a83add95
MD5 6344633f4c0c5ad5dde2b25568b7d8a6
BLAKE2b-256 7d7a7dba20d69bd1b77955f1e25dd76bcc905ca34c337c33bd410ef65872c7cb

See more details on using hashes here.

File details

Details for the file oso-0.11.1-pp36-pypy36_pp73-manylinux2010_x86_64.whl.

File metadata

  • Download URL: oso-0.11.1-pp36-pypy36_pp73-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 7.2 MB
  • Tags: PyPy, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.7.10

File hashes

Hashes for oso-0.11.1-pp36-pypy36_pp73-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 667163a0b50607271dfdf8221876ac12cd377bd9309fe6fb8c9da4efa9546b33
MD5 6dc4629faf44b7a591b6bee2ebc99454
BLAKE2b-256 ef58a2bce5cfdc1092353963e0e29f7c3ed3e8f3fb47473e3cfb823b27d7277e

See more details on using hashes here.

File details

Details for the file oso-0.11.1-pp36-pypy36_pp73-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: oso-0.11.1-pp36-pypy36_pp73-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: PyPy, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.7.10

File hashes

Hashes for oso-0.11.1-pp36-pypy36_pp73-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 3bb3c8ea47988a7f4eafd00527eb5edae0455beb854f6b316d28613dbf5d8abd
MD5 e776255d9a19bbc3caeebe3ce2e84e96
BLAKE2b-256 b1108a668f5feb950b65e65177afaa7ec2eb779441295ffb48c13ca26ee37938

See more details on using hashes here.

File details

Details for the file oso-0.11.1-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: oso-0.11.1-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 651.6 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.7.10

File hashes

Hashes for oso-0.11.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 553d5bbaac68666cc730b200445ba27705c98b354d310bd2ed63718e127e8394
MD5 389980490824a72893cfd65d63acb0fa
BLAKE2b-256 360c1ec5807a13d3d9254005e004a4c047bd4c3d2302c40cb760c8537e4775eb

See more details on using hashes here.

File details

Details for the file oso-0.11.1-cp39-cp39-manylinux2010_x86_64.whl.

File metadata

  • Download URL: oso-0.11.1-cp39-cp39-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 7.2 MB
  • Tags: CPython 3.9, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.7.10

File hashes

Hashes for oso-0.11.1-cp39-cp39-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 0c4f7e3b0773e5fdfdf9b2010fd611cd1db07a989f4f2c5767b52641a65b6bad
MD5 887b45ba4b5317bff8d9a0c4caff16b7
BLAKE2b-256 30604b4e7119c793c9b8a300758e23ee9f357e7b6faf565b518f746cf77c05a8

See more details on using hashes here.

File details

Details for the file oso-0.11.1-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: oso-0.11.1-cp39-cp39-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.9, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.7.10

File hashes

Hashes for oso-0.11.1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 614a570bbca961a51e448f0f58065fdaef0269433eeec3b584d80e5b81b99c6e
MD5 4572e02249c8dfbc8d64d896433fdad4
BLAKE2b-256 a0a1b82993e10f336d30f3579f9f3baa4c4aee7507c81de24bee1b06af0d200e

See more details on using hashes here.

File details

Details for the file oso-0.11.1-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: oso-0.11.1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 651.6 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.7.10

File hashes

Hashes for oso-0.11.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 ea6a1d476eac9d32dfc50313bb474ae1fd42dd4669c41b1ca918827dae2eac54
MD5 27f5806681985e03d853b62bb0e766ca
BLAKE2b-256 642325b16aa5e65504951fda2ad0582eba2f0b07517b5cd3a562f61ba89e614c

See more details on using hashes here.

File details

Details for the file oso-0.11.1-cp38-cp38-manylinux2010_x86_64.whl.

File metadata

  • Download URL: oso-0.11.1-cp38-cp38-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 7.2 MB
  • Tags: CPython 3.8, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.7.10

File hashes

Hashes for oso-0.11.1-cp38-cp38-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 bfca7ed2acbba272a83132a3911c467403a5d32f9af5aff7dc582528dfb2b7fc
MD5 355e0d28913813029a8aa7ff149c798b
BLAKE2b-256 c8831b1df62830bb41dd366463dc046cdb5a9e98da8c291d57b3b5f148c92572

See more details on using hashes here.

File details

Details for the file oso-0.11.1-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: oso-0.11.1-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.8, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.7.10

File hashes

Hashes for oso-0.11.1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 bf840fb99e24b926d166afd1a7644562ec65b9dc2a2c76dd4c9dd7ac0298a884
MD5 2cb770e29d93ce1aff8e2fbd39f061cd
BLAKE2b-256 4563790df032f55fca65d393b14ce45dd00786cafdb4fbb9986ccbe5802a1447

See more details on using hashes here.

File details

Details for the file oso-0.11.1-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: oso-0.11.1-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 651.6 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.7.10

File hashes

Hashes for oso-0.11.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 79e581bbac093321a9ed79c2b0419047fa1cd4067b000ef8298b3b6872f4280e
MD5 24197557165f3c528091e0750837e758
BLAKE2b-256 18f5ba5087fc8e754ee3f54b8ac20fee39c4da86978063b248f9981afba3f733

See more details on using hashes here.

File details

Details for the file oso-0.11.1-cp37-cp37m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: oso-0.11.1-cp37-cp37m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 7.2 MB
  • Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.7.10

File hashes

Hashes for oso-0.11.1-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 505533ec8557aec926e4a97d80ff3090ca238a5345773457db962f9ae382f5ec
MD5 58367f0ec2cbb2f7f824af6d6d7fe485
BLAKE2b-256 f774ee17f3824a992f272d8ed447d1a18aa013125c0cc9bf984b370edbe3d479

See more details on using hashes here.

File details

Details for the file oso-0.11.1-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: oso-0.11.1-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.7m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.7.10

File hashes

Hashes for oso-0.11.1-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 afabfb0ff833d36ae98ae8891689b14adc8c6e44b139839a79b0895f2e226e64
MD5 542e3a90aa66e2591375d422d1728994
BLAKE2b-256 be28563c42db917fe39e4b0828945ebdd501764263438ac40cb77f4e46d492c9

See more details on using hashes here.

File details

Details for the file oso-0.11.1-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: oso-0.11.1-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 651.6 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.7.10

File hashes

Hashes for oso-0.11.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 249ada821e6ce49b1cc2c5827bb00d0d37f913eba8442c5ceb19ccd9a2b7d650
MD5 f75f9a580836006994cb7ff0c7f04b52
BLAKE2b-256 bc4edc23bb73a8bbe2378b65787146ac8603eecf346040bc89d33c5d9147f70c

See more details on using hashes here.

File details

Details for the file oso-0.11.1-cp36-cp36m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: oso-0.11.1-cp36-cp36m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 7.2 MB
  • Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.7.10

File hashes

Hashes for oso-0.11.1-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 f96ad2acbbb185c2af7de6c12fd9634551ff946fc378c56c40ac358ae11b2043
MD5 409c319069eeb0956b2dcd1934c2fda4
BLAKE2b-256 3f4ec9526d7052398f47107323178a061a73a3b76ca96e8fd76c187646fc9d84

See more details on using hashes here.

File details

Details for the file oso-0.11.1-cp36-cp36m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: oso-0.11.1-cp36-cp36m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.6m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.7.10

File hashes

Hashes for oso-0.11.1-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e6f1281b376f083fea0f38e6e4d8dd34ada82a49c56ed3c13354973a6006a194
MD5 0115a4f0e150ded4e1b8391c0ee0449f
BLAKE2b-256 9c2a75f4e8d616bfc6d69778b9c36d14e705b3f77718bbe6d22314ced2a74d18

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page