Skip to main content

STAV: System Trustworthiness and Accountability Vocabulary

Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public. PyPI - Version GitHub License DOI

This work is still under development.

Ease the uses of standardised vocabularies in Python workflow.

stav:

  • Norwegian: to spell (words)
  • Swedish: letter (alphabet)
  • Slovak: state (condition)
  • Czech: stance

STAV taxonomy

Apart from providing access to standardised vocabularies, STAV also provide a minimal taxonomy at https://w3id.org/stav

STAV Python module

STAV terms can also be accessible through a Python module called stav, available freely on the Python Package Index.

STAV class names are accessible through constants in the stav module. These class names are in capital letters with underscores separating words, LIKE_THIS, as stated in PEP 8. Values of these constants are simply a STAV class name, a string in CamelCase.

For example, stav.INSTRUCTIONS_FOR_USE is a string with value of "InstructionsForUse". (In the future, it should be able to configure the casing to "instructions_of_use", etc.)

With this, it will make the standardization of documentation within an organization, or across organizations, easier and can facilitate the use of the terms in MLOps settings, where data scientists and data engineers can use STAV terms as keys in their model logging and registration.

Watch the video

Installation

pip install stav

Use with MLflow

import mlflow
from stav.vocab import dpv, spdx

with mlflow.start_run():
    mlflow.set_tag("data_subject_type", dpv.NaturalPerson)
    mlflow.set_tag("dataset_type",      spdx.dataset.DatasetType.text)
    mlflow.set_tag("confidentiality",   spdx.dataset.ConfidentialityLevelType.amber)

All terms are plain strings (IRIs), so they work anywhere a string is accepted. Use stav.label() to get a human-readable name from any term.

Use with Pitloom

from pitloom import loom
from stav.vocab import dpv, spdx

@loom.shoot("training_sbom.json")
def train(dataset_path):
    loom.set_model("my-model", model_type=dpv.ai.AITechnique.SupervisedLearning)
    loom.add_dataset(dataset_path, dataset_type=spdx.dataset.DatasetType.text)
    ...

Sister projects

STAV (a Vocabulary) and STAP (an ODRL Profile) are sisters for system trustworthiness and accountability.

License

STAV: System Trustworthiness and Accountability Vocabulary by Arthit Suriyawongkul is licensed under CC BY 4.0

The stav Python module is distributed under the terms of the Apache License 2.0.

This work has emanated from research conducted with the financial support of Taighde Éireann – Research Ireland under Grant number 18/CRT/6224 (Research Ireland Centre for Research Training in Digitally-Enhanced Reality (d-real)) and with the organizational support from members of these research groups:

Related works

Members of RegTech group at ADAPT Centre contribute to AI and data ontology projects below, and they are may be of your interest:

Metadata

Release files for stav 0.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for stav 0.4.1
File Size Uploaded
stav-0.4.1.tar.gz 7.4 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for stav 0.4.1
File Interpreter ABI Platform
stav-0.4.1-py3-none-any.whl Python 3 none any Details

Total release size: 7.6 MB

Release files / stav-0.4.1.tar.gz

Download URL stav-0.4.1.tar.gz
Size 7.4 MB
Tags Source
SHA-256 checksum
How to use checksums
48dff5c10a0107e2c49050654bd4b2cfc04c008d1f5b8c6b2fc0a5ea8f0897e5
BLAKE2b-256 checksum
How to use checksums
6ba7cf8a2819cd98ebd09c146be1a24c81f0b516e64c8ef0dcc73c6d8e39823c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 6, 2026.

Transparency log

Release files / stav-0.4.1-py3-none-any.whl

Download URL stav-0.4.1-py3-none-any.whl
Size 161.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
888da6b603f2a15c07a8d55764d423fb42a95f85368f63bff9fc043f721e92da
BLAKE2b-256 checksum
How to use checksums
5a1478c448e7b0bb8fa4cd8f8f1a1dfb4e636bd74c777e4385cb6b74a1c11095
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 6, 2026.

Transparency log
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page