Metadata-Version: 2.5
Name: pyimporters-skos
Version: 1.6.281
Summary: Sherpa SKOS knowledge import plugin
Author-email: Olivier Terrier <olivier.terrier@kairntech.com>
License: Proprietary
License-File: LICENSE
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Information Technology
Classifier: Intended Audience :: System Administrators
Classifier: License :: Other/Proprietary License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.12
Requires-Dist: pyimporters-plugins<1.7.0,>=1.6.0
Requires-Dist: rdflib
Provides-Extra: sbom
Requires-Dist: cyclonedx-bom; extra == 'sbom'
Requires-Dist: pip-audit; extra == 'sbom'
Provides-Extra: test
Requires-Dist: pip; extra == 'test'
Requires-Dist: pytest; extra == 'test'
Requires-Dist: ruff; extra == 'test'
Description-Content-Type: text/markdown

# pyimporters_skos

[![license](https://img.shields.io/badge/license-proprietary-red)](LICENSE)
[![version](https://img.shields.io/pypi/v/pyimporters-skos)](https://pypi.org/project/pyimporters-skos/)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pyimporters-skos)](https://pypi.org/project/pyimporters-skos/)

SKOS / RDF thesaurus importer for Sherpa: one term per concept, its `skos:prefLabel` as preferred form,
its `skos:altLabel` as alternative forms. User documentation: [docs/sherpa](docs/sherpa/skos.en.md).

## Installation

```
pip install pyimporters-skos
```

## Development

Requires [Task](https://taskfile.dev) and [uv](https://docs.astral.sh/uv/). The tasks come from the
`python-archetype` submodule:

```
git submodule update --init
```

| Command | Does |
|---|---|
| `task` | Run the pipeline up to `py:build`, exactly as Jenkins does (`task -- --skip-tests` skips `py:test`) |
| `task stages` | Print the pipeline stages, in order |
| `task up-to -- py:lint` | Run the pipeline up to and including one stage |
| `task py:sync` | Install the package and its test dependencies (`uv sync`) |
| `task py:lint` / `task py:format` | Check / reformat the code with ruff |
| `task py:test` | Run the tests |
| `task py:help` | Update the generated parts of the Sherpa help pages (`docs/sherpa`) |
| `task py:help-check` | Check that the help pages match the code |
| `task py:sbom` | Generate a CycloneDX SBOM of the environment |
| `task py:check-vulnerabilities` | Audit the dependencies for known CVEs with pip-audit |
| `task py:build` | Build the wheel and sdist |

`task --list` shows every task.
