Rust-backed Okta SQL querying for Python
Project description
overcast-sql
Python bindings for querying Okta data with SQL, powered by a Rust engine.
Installation
pip install overcast-sql
Quick start
from overcast_sql import Client
client = Client(
base_url="https://your-org.okta.com",
ssws_token="your-ssws-token",
)
rows = client.query("SELECT id, status FROM okta_users LIMIT 5")
print(rows)
Example: applications assigned per user
Runnable in this notebook.
df_direct_user_apps = client.query(
"SELECT "
" user.login AS user_login, "
" application.label AS app_label, "
" app_user.status AS assignment_status "
"FROM okta_app_users app_user "
"JOIN okta_users user ON user.id = app_user.id "
"JOIN okta_applications application ON application.id = app_user.app_id "
"ORDER BY user.login, application.label"
)
print(df_direct_user_apps.head(20))
Supported formats:
jsonjsonltablepandas
Using a .env file
Credential loading is handled by your application, not the library. Example:
import os
from dotenv import load_dotenv
from overcast_sql import Client
load_dotenv()
client = Client(
base_url=os.environ["OKTA_BASE_URL"],
ssws_token=os.environ["OKTA_SSWS_TOKEN"],
)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file overcast_sql-0.1.5.tar.gz.
File metadata
- Download URL: overcast_sql-0.1.5.tar.gz
- Upload date:
- Size: 63.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3999b2dca9f817fb2929c967964e8b1eb7558c043f24475a3123822ba5dc498
|
|
| MD5 |
73c3d89d3dba4784721020df4c84fe56
|
|
| BLAKE2b-256 |
52467d5e83106ade411d8a58d5911a64b6e916803986eb249c0cd005f122c8f1
|
Provenance
The following attestation bundles were made for overcast_sql-0.1.5.tar.gz:
Publisher:
workflow.yml on Evols/overcast
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
overcast_sql-0.1.5.tar.gz -
Subject digest:
f3999b2dca9f817fb2929c967964e8b1eb7558c043f24475a3123822ba5dc498 - Sigstore transparency entry: 1045456378
- Sigstore integration time:
-
Permalink:
Evols/overcast@fe9f6d614e03047782ba8d0c8e2808029ece9df0 -
Branch / Tag:
refs/heads/release - Owner: https://github.com/Evols
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@fe9f6d614e03047782ba8d0c8e2808029ece9df0 -
Trigger Event:
push
-
Statement type:
File details
Details for the file overcast_sql-0.1.5-cp310-abi3-win_amd64.whl.
File metadata
- Download URL: overcast_sql-0.1.5-cp310-abi3-win_amd64.whl
- Upload date:
- Size: 2.5 MB
- Tags: CPython 3.10+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d266fec63d8df4129282fcae26bcf70c81c55a22b58ac39f76361e6664263625
|
|
| MD5 |
24faac4102cf99dce39897741df6cbef
|
|
| BLAKE2b-256 |
8ee03f58e137a4e7a98e67e63c49dae5f0e60408d5fe00e146a13275e7ca4059
|
Provenance
The following attestation bundles were made for overcast_sql-0.1.5-cp310-abi3-win_amd64.whl:
Publisher:
workflow.yml on Evols/overcast
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
overcast_sql-0.1.5-cp310-abi3-win_amd64.whl -
Subject digest:
d266fec63d8df4129282fcae26bcf70c81c55a22b58ac39f76361e6664263625 - Sigstore transparency entry: 1045456387
- Sigstore integration time:
-
Permalink:
Evols/overcast@fe9f6d614e03047782ba8d0c8e2808029ece9df0 -
Branch / Tag:
refs/heads/release - Owner: https://github.com/Evols
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@fe9f6d614e03047782ba8d0c8e2808029ece9df0 -
Trigger Event:
push
-
Statement type:
File details
Details for the file overcast_sql-0.1.5-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: overcast_sql-0.1.5-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 3.0 MB
- Tags: CPython 3.10+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
90ea93118cb1a96330fc28ae257b13931ba0af71606a0a2fdaef0543cea46da3
|
|
| MD5 |
92fe662d628d08bf69ee2d2e3bfec213
|
|
| BLAKE2b-256 |
031c1b1259e77b3cce5298a12c9914af06097b4195a4b619123de05d0dec5543
|
Provenance
The following attestation bundles were made for overcast_sql-0.1.5-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
workflow.yml on Evols/overcast
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
overcast_sql-0.1.5-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
90ea93118cb1a96330fc28ae257b13931ba0af71606a0a2fdaef0543cea46da3 - Sigstore transparency entry: 1045456383
- Sigstore integration time:
-
Permalink:
Evols/overcast@fe9f6d614e03047782ba8d0c8e2808029ece9df0 -
Branch / Tag:
refs/heads/release - Owner: https://github.com/Evols
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@fe9f6d614e03047782ba8d0c8e2808029ece9df0 -
Trigger Event:
push
-
Statement type:
File details
Details for the file overcast_sql-0.1.5-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.
File metadata
- Download URL: overcast_sql-0.1.5-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
- Upload date:
- Size: 5.4 MB
- Tags: CPython 3.10+, macOS 10.12+ universal2 (ARM64, x86-64), macOS 10.12+ x86-64, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
603f5ec10d1fe7f35ab38e0e69b1f8c3be4f6e778e73ba4c614eb1ca01a0b3a0
|
|
| MD5 |
12ee55ea3780d345a4f6d15cd39d7755
|
|
| BLAKE2b-256 |
c0fe5b61b01a4b5e5e634867f80b91f9b0c2075593e2f7a2ce0a8f627158826a
|
Provenance
The following attestation bundles were made for overcast_sql-0.1.5-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl:
Publisher:
workflow.yml on Evols/overcast
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
overcast_sql-0.1.5-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl -
Subject digest:
603f5ec10d1fe7f35ab38e0e69b1f8c3be4f6e778e73ba4c614eb1ca01a0b3a0 - Sigstore transparency entry: 1045456380
- Sigstore integration time:
-
Permalink:
Evols/overcast@fe9f6d614e03047782ba8d0c8e2808029ece9df0 -
Branch / Tag:
refs/heads/release - Owner: https://github.com/Evols
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@fe9f6d614e03047782ba8d0c8e2808029ece9df0 -
Trigger Event:
push
-
Statement type: