OpenUBA
The official CLI and Python SDK for OpenUBA — an open-source User Behavior Analytics platform.
Installation
pip install openuba
CLI Usage
# Install a model from the registry
openuba install model_sklearn
# List available models
openuba list
# Run a model
openuba run model_sklearn --data path/to/data.csv
# Show version
openuba version
Python SDK Usage
import openuba
# Configure the client (or set OPENUBA_API_URL env var)
openuba.configure(api_url="http://localhost:8000")
# List available models
models = openuba.list_models()
for model in models:
print(model["name"], model["version"])
# Install a model
openuba.install("model_sklearn")
# Run a model
results = openuba.run("model_sklearn", data="path/to/data.csv")
print(results)
Configuration
The SDK can be configured via environment variables:
| Variable | Description | Default |
|---|---|---|
OPENUBA_API_URL |
OpenUBA API server URL | http://localhost:8000 |
OPENUBA_TOKEN |
Authentication token | None |
Or programmatically:
import openuba
openuba.configure(api_url="http://your-server:8000", token="your-token")
License
GNU General Public License v3.0 — see LICENSE.
Metadata
Release files for openuba 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| openuba-0.0.2.tar.gz | 23.2 kB | Without provenance | Details for openuba-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| openuba-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for openuba-0.0.2-py3-none-any.whl |
Total release size: 41.4 kB
Release files / openuba-0.0.2.tar.gz
| Download URL | openuba-0.0.2.tar.gz |
|---|---|
| Size | 23.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1c8657ef5ed3da2ee582c79bb4ac361578e40df0e9cea998d80cbb94057fff21
|
|
BLAKE2b-256 checksum How to use checksums |
c3fecc66febaa147c0057681e16f27a347b9f40a0941cf8474aee3ceea49ada3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Release files / openuba-0.0.2-py3-none-any.whl
| Download URL | openuba-0.0.2-py3-none-any.whl |
|---|---|
| Size | 18.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
134c089d174a95aac674af2d169cda1935c79a0af03ca2abb823adcfd0202ebb
|
|
BLAKE2b-256 checksum How to use checksums |
726bbf50d1cffe474adbdfe4936590406a21dd9816c8dcdeadb93328096d8207
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Security for openuba 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.