tripper 0.5.2__tar.gz → 0.5.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tripper-0.5.2 → tripper-0.5.3}/.github/workflows/cd_release.yml +1 -1
- {tripper-0.5.2 → tripper-0.5.3}/.github/workflows/ci_automerge_dependency_prs.yml +1 -1
- {tripper-0.5.2 → tripper-0.5.3}/.github/workflows/ci_cd_updated_main.yml +1 -1
- {tripper-0.5.2 → tripper-0.5.3}/.github/workflows/ci_check_dependencies.yml +1 -1
- {tripper-0.5.2 → tripper-0.5.3}/.github/workflows/ci_tests.yml +3 -3
- {tripper-0.5.2 → tripper-0.5.3}/.github/workflows/ci_update_dependencies.yml +1 -1
- {tripper-0.5.2 → tripper-0.5.3}/CHANGELOG.md +8 -0
- {tripper-0.5.2 → tripper-0.5.3}/PKG-INFO +10 -12
- {tripper-0.5.2 → tripper-0.5.3}/pyproject.toml +11 -13
- {tripper-0.5.2 → tripper-0.5.3}/tests/datadoc/test_context.py +19 -1
- {tripper-0.5.2 → tripper-0.5.3}/tripper/__init__.py +1 -1
- {tripper-0.5.2 → tripper-0.5.3}/tripper/triplestore.py +2 -4
- {tripper-0.5.2 → tripper-0.5.3}/tripper/units/units.py +2 -4
- {tripper-0.5.2 → tripper-0.5.3}/.github/dependabot.yml +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/.github/pull_request_template.md +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/.gitignore +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/.hooks/generate-context-and-doc.sh +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/.hooks/markdown-doctest.sh +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/.pre-commit-config.yaml +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/LICENSE +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/MANIFEST.in +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/README.md +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/CHANGELOG.md +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/LICENSE.md +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/api_reference/.pages +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/api_reference/backends/.pages +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/api_reference/backends/collection.md +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/api_reference/backends/ontopy.md +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/api_reference/backends/rdflib.md +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/api_reference/backends/sparqlwrapper.md +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/api_reference/convert/.pages +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/api_reference/convert/convert.md +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/api_reference/datadoc/.pages +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/api_reference/datadoc/clitool.md +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/api_reference/datadoc/context.md +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/api_reference/datadoc/dataaccess.md +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/api_reference/datadoc/dataset.md +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/api_reference/datadoc/errors.md +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/api_reference/datadoc/keywords.md +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/api_reference/datadoc/prefixes.md +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/api_reference/datadoc/tabledoc.md +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/api_reference/datadoc/utils.md +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/api_reference/errors.md +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/api_reference/interface.md +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/api_reference/literal.md +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/api_reference/mappings/.pages +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/api_reference/mappings/mappings.md +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/api_reference/namespace.md +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/api_reference/session.md +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/api_reference/triplestore.md +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/api_reference/triplestore_extend.md +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/api_reference/units/.pages +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/api_reference/units/units.md +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/api_reference/utils.md +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/backend_discovery.md +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/css/reference.css +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/datadoc/classdoc.md +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/datadoc/customisation.md +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/datadoc/documenting-a-resource.md +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/datadoc/fetching-resources-from-a-triplestore.md +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/datadoc/introduction.md +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/datadoc/keywords-process.md +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/datadoc/keywords.md +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/datadoc/prefixes-process.md +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/datadoc/prefixes.md +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/developers.md +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/figs/.gitignore +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/figs/basic_relations.png +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/figs/dataset-Consumer.png +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/figs/dataset-Consumer1.png +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/figs/dataset-Consumer2.png +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/figs/dataset-Dataset.png +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/figs/dataset-Provider.png +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/figs/dataset.drawio +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/figs/dataset.png +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/figs/semdata.png +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/figs/tripper_logo.png +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/figs/tripper_logo.svg +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/figs/tripper_logo_w_name.png +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/figs/tripper_logo_w_name.svg +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/index.md +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/known-issues.md +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/mappings/figs/function_emmo.svg +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/planned-backends.md +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/session.md +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/tools/datadoc.md +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/tutorial.md +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/docs/units/units.md +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/examples/classdoc/mysimulation.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/examples/classdoc/mysimulation.yaml +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/examples/workflow-mappings/README.md +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/examples/workflow-mappings/knowledge-base.svg +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/examples/workflow-mappings/route.svg +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/examples/workflow-mappings/workflow.svg +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/examples/workflow-mappings/workflow_mappings.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/examples/workflow-mappings/workflow_w_pipes.svg +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/mkdocs.yml +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/backends/__init__.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/backends/datadocumentation_sample.yaml +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/backends/datadocumentation_sample2.yaml +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/backends/dummy.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/backends/test_backends_sparql.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/backends/test_collection.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/backends/test_rdflib.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/backends/test_sparqlwrapper.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/conftest.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/convert/test_convert.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/datadoc/dataset_paths.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/datadoc/test_dataaccess.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/datadoc/test_datadoc_cli.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/datadoc/test_datadoc_utils.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/datadoc/test_dataset.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/datadoc/test_keywords.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/datadoc/test_prefixes.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/datadoc/test_tabledoc.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/input/77600-23-001_5kV_400x_m001.tif +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/input/batchdata.csv +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/input/custom_context.yaml +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/input/custom_keywords.yaml +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/input/invalid_keywords0.yaml +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/input/invalid_keywords1.yaml +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/input/invalid_keywords2.yaml +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/input/invalid_keywords3.yaml +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/input/invalid_keywords4.yaml +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/input/invalid_keywords5.yaml +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/input/invalid_keywords6.yaml +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/input/invalid_keywords7.yaml +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/input/invalid_keywords8.yaml +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/input/invalid_keywords9.yaml +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/input/keywords.csv +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/input/mappings.ttl +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/input/new_keywords.csv +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/input/openfile.txt +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/input/semdata-context-ext.json +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/input/semdata-context.json +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/input/semdata.csv +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/input/semdata.yaml +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/input/session.yaml +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/input/tem.csv +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/input/tem.xlsx +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/input/valid_keywords.yaml +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/mappings/test_cost.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/mappings/test_function.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/mappings/test_mappings.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/ontologies/family.ttl +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/ontologies/food-more.ttl +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/ontologies/food.ttl +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/output/.gitignore +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/paths.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/test_add_function.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/test_custom_backend.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/test_eval_function.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/test_get_data.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/test_literals.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/test_markdown_doctest.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/test_namespace.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/test_session.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/test_sparql.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/test_triplestore.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/test_utils.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tests/units/test_units.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tripper/backends/__init__.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tripper/backends/collection.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tripper/backends/ontopy.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tripper/backends/rdflib.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tripper/backends/sparqlwrapper.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tripper/context/0.2/context.json +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tripper/context/0.3/context.json +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tripper/context/0.3/keywords.yaml +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tripper/context/0.3/prefixes.yaml +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tripper/context/datadoc.ttl +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tripper/context/owl-restrictions.json +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tripper/context/process/0.1/context.json +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tripper/context/process/0.1/keywords.yaml +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tripper/convert/__init__.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tripper/convert/convert.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tripper/datadoc/__init__.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tripper/datadoc/clitool.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tripper/datadoc/context.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tripper/datadoc/dataaccess.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tripper/datadoc/dataset.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tripper/datadoc/errors.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tripper/datadoc/keywords.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tripper/datadoc/prefixes.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tripper/datadoc/tabledoc.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tripper/datadoc/utils.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tripper/errors.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tripper/interface.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tripper/literal.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tripper/mappings/__init__.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tripper/mappings/mappings.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tripper/namespace.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tripper/session.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tripper/triplestore_extend.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tripper/units/.gitignore +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tripper/units/__init__.py +0 -0
- {tripper-0.5.2 → tripper-0.5.3}/tripper/utils.py +0 -0
|
@@ -8,7 +8,7 @@ on:
|
|
|
8
8
|
jobs:
|
|
9
9
|
build:
|
|
10
10
|
name: External
|
|
11
|
-
uses: SINTEF/ci-cd/.github/workflows/cd_release.yml@v2.
|
|
11
|
+
uses: SINTEF/ci-cd/.github/workflows/cd_release.yml@v2.10.0
|
|
12
12
|
if: github.repository == 'EMMC-ASBL/tripper' && startsWith(github.ref, 'refs/tags/v')
|
|
13
13
|
with:
|
|
14
14
|
# General
|
|
@@ -7,7 +7,7 @@ on:
|
|
|
7
7
|
jobs:
|
|
8
8
|
update-dependencies-branch:
|
|
9
9
|
name: External
|
|
10
|
-
uses: SINTEF/ci-cd/.github/workflows/ci_automerge_prs.yml@v2.
|
|
10
|
+
uses: SINTEF/ci-cd/.github/workflows/ci_automerge_prs.yml@v2.10.0
|
|
11
11
|
if: github.repository_owner == 'EMMC-ASBL' && ( ( startsWith(github.event.pull_request.head.ref, 'dependabot/') && github.actor == 'dependabot[bot]' ) || ( github.event.pull_request.head.ref == 'ci/update-pyproject' && github.actor == 'TEAM4-0' ) )
|
|
12
12
|
secrets:
|
|
13
13
|
PAT: ${{ secrets.RELEASE_PAT }}
|
|
@@ -7,7 +7,7 @@ on:
|
|
|
7
7
|
jobs:
|
|
8
8
|
update-deps-branch-and-docs:
|
|
9
9
|
name: External
|
|
10
|
-
uses: SINTEF/ci-cd/.github/workflows/ci_cd_updated_default_branch.yml@v2.
|
|
10
|
+
uses: SINTEF/ci-cd/.github/workflows/ci_cd_updated_default_branch.yml@v2.10.0
|
|
11
11
|
if: github.repository_owner == 'EMMC-ASBL'
|
|
12
12
|
with:
|
|
13
13
|
# General
|
|
@@ -9,7 +9,7 @@ on:
|
|
|
9
9
|
jobs:
|
|
10
10
|
check-dependencies:
|
|
11
11
|
name: External
|
|
12
|
-
uses: SINTEF/ci-cd/.github/workflows/ci_check_pyproject_dependencies.yml@v2.
|
|
12
|
+
uses: SINTEF/ci-cd/.github/workflows/ci_check_pyproject_dependencies.yml@v2.10.0
|
|
13
13
|
if: github.repository_owner == 'EMMC-ASBL'
|
|
14
14
|
with:
|
|
15
15
|
git_username: "TEAM 4.0[bot]"
|
|
@@ -10,7 +10,7 @@ on:
|
|
|
10
10
|
jobs:
|
|
11
11
|
basic-tests:
|
|
12
12
|
name: External
|
|
13
|
-
uses: SINTEF/ci-cd/.github/workflows/ci_tests.yml@v2.
|
|
13
|
+
uses: SINTEF/ci-cd/.github/workflows/ci_tests.yml@v2.10.0
|
|
14
14
|
with:
|
|
15
15
|
## General settings:
|
|
16
16
|
install_extras: "[dev]"
|
|
@@ -79,7 +79,7 @@ jobs:
|
|
|
79
79
|
strategy:
|
|
80
80
|
fail-fast: false
|
|
81
81
|
matrix:
|
|
82
|
-
python-version: ["3.
|
|
82
|
+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
|
|
83
83
|
|
|
84
84
|
steps:
|
|
85
85
|
- name: Checkout tripper
|
|
@@ -118,7 +118,7 @@ jobs:
|
|
|
118
118
|
strategy:
|
|
119
119
|
fail-fast: false
|
|
120
120
|
matrix:
|
|
121
|
-
python-version: ["3.
|
|
121
|
+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
|
|
122
122
|
|
|
123
123
|
steps:
|
|
124
124
|
- name: Checkout tripper
|
|
@@ -9,7 +9,7 @@ on:
|
|
|
9
9
|
jobs:
|
|
10
10
|
create-collected-pr:
|
|
11
11
|
name: External
|
|
12
|
-
uses: SINTEF/ci-cd/.github/workflows/ci_update_dependencies.yml@v2.
|
|
12
|
+
uses: SINTEF/ci-cd/.github/workflows/ci_update_dependencies.yml@v2.10.0
|
|
13
13
|
if: github.repository_owner == 'EMMC-ASBL'
|
|
14
14
|
with:
|
|
15
15
|
git_username: "TEAM 4.0[bot]"
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [v0.5.3](https://github.com/EMMC-ASBL/tripper/tree/v0.5.3) (2026-05-13)
|
|
4
|
+
|
|
5
|
+
[Full Changelog](https://github.com/EMMC-ASBL/tripper/compare/v0.5.2...v0.5.3)
|
|
6
|
+
|
|
7
|
+
**Merged pull requests:**
|
|
8
|
+
|
|
9
|
+
- Removed support for python 3.8 [\#547](https://github.com/EMMC-ASBL/tripper/pull/547) ([francescalb](https://github.com/francescalb))
|
|
10
|
+
|
|
3
11
|
## [v0.5.2](https://github.com/EMMC-ASBL/tripper/tree/v0.5.2) (2026-05-11)
|
|
4
12
|
|
|
5
13
|
[Full Changelog](https://github.com/EMMC-ASBL/tripper/compare/v0.5.1...v0.5.2)
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tripper
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.3
|
|
4
4
|
Summary: A triplestore wrapper for Python.
|
|
5
5
|
Keywords: triplestore,ontology,RDF
|
|
6
6
|
Author-email: SINTEF <TEAM4.0@sintef.no>
|
|
7
|
-
Requires-Python: >=3.
|
|
7
|
+
Requires-Python: >=3.9
|
|
8
8
|
Description-Content-Type: text/markdown
|
|
9
9
|
Classifier: Development Status :: 5 - Production/Stable
|
|
10
10
|
Classifier: License :: OSI Approved :: MIT License
|
|
11
11
|
Classifier: Programming Language :: Python :: 3
|
|
12
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
13
12
|
Classifier: Programming Language :: Python :: 3.9
|
|
14
13
|
Classifier: Programming Language :: Python :: 3.10
|
|
15
14
|
Classifier: Programming Language :: Python :: 3.11
|
|
@@ -20,18 +19,19 @@ Classifier: Environment :: Plugins
|
|
|
20
19
|
Classifier: Natural Language :: English
|
|
21
20
|
Classifier: Operating System :: OS Independent
|
|
22
21
|
License-File: LICENSE
|
|
23
|
-
Requires-Dist: typing-extensions>=4.7.0,<4.13.1; python_version < '3.9'
|
|
24
22
|
Requires-Dist: dlite-python>=0.5.27 ; extra == "backends"
|
|
25
|
-
Requires-Dist: emmontopy>=0.5.0,<=0.
|
|
26
|
-
Requires-Dist: graphviz>=0.20.1,<0.20.
|
|
23
|
+
Requires-Dist: emmontopy>=0.5.0,<=0.11.3 ; extra == "backends"
|
|
24
|
+
Requires-Dist: graphviz>=0.20.1,<0.20.4 ; extra == "backends"
|
|
27
25
|
Requires-Dist: numpy<2.1.0 ; extra == "backends" and ( python_version=='3.13')
|
|
28
26
|
Requires-Dist: rdflib>=6.3.0,<7.0.0 ; extra == "backends"
|
|
29
27
|
Requires-Dist: tripper[mappings] ; extra == "datadoc"
|
|
30
28
|
Requires-Dist: keyring>=22.0.0,<25.6.1 ; extra == "datadoc"
|
|
31
|
-
Requires-Dist: PyLD>=2.0.0,<
|
|
32
|
-
Requires-Dist:
|
|
29
|
+
Requires-Dist: PyLD>=2.0.0,<3.0.0 ; extra == "datadoc" and ( python_version<'3.10')
|
|
30
|
+
Requires-Dist: PyLD>=2.0.0,<3.0.1 ; extra == "datadoc" and ( python_version>='3.10')
|
|
31
|
+
Requires-Dist: PyYaml>=3.0.0,<6.0.4 ; extra == "datadoc"
|
|
33
32
|
Requires-Dist: requests>=2.0.0,<3.4.1 ; extra == "datadoc"
|
|
34
33
|
Requires-Dist: sparqlwrapper>=2.0.0,<2.0.1 ; extra == "datadoc"
|
|
34
|
+
Requires-Dist: openpyxl ~= 3.0 ; extra == "datadoc"
|
|
35
35
|
Requires-Dist: tripper[pre-commit, docs] ; extra == "dev"
|
|
36
36
|
Requires-Dist: virtualenvwrapper>=4.0.0 ; extra == "dev"
|
|
37
37
|
Requires-Dist: tripper[testing] ; extra == "docs"
|
|
@@ -48,10 +48,8 @@ Requires-Dist: pre-commit==4.0.1 ; extra == "pre-commit"
|
|
|
48
48
|
Requires-Dist: pylint==3.3.4 ; extra == "pre-commit" and ( python_version>='3.9')
|
|
49
49
|
Requires-Dist: tripper[datadoc, backends, testing-core] ; extra == "testing"
|
|
50
50
|
Requires-Dist: pytest==8.3.4 ; extra == "testing-core"
|
|
51
|
-
Requires-Dist: pytest-cov==
|
|
52
|
-
Requires-Dist:
|
|
53
|
-
Requires-Dist: pint>=0.21.1,<0.26 ; extra == "units" and ( python_version<'3.9')
|
|
54
|
-
Requires-Dist: pint>=0.24.1,<0.26 ; extra == "units" and ( python_version>='3.9')
|
|
51
|
+
Requires-Dist: pytest-cov==6.0.0 ; extra == "testing-core"
|
|
52
|
+
Requires-Dist: pint>=0.24.1,<0.26 ; extra == "units"
|
|
55
53
|
Requires-Dist: rdflib>=6.3.0,<=7.6.0 ; extra == "units"
|
|
56
54
|
Project-URL: Changelog, https://github.com/EMMC-ASBL/tripper/blob/master/CHANGELOG.md
|
|
57
55
|
Project-URL: Documentation, https://EMMC-ASBL.github.io/tripper
|
|
@@ -14,7 +14,6 @@ classifiers = [
|
|
|
14
14
|
"Development Status :: 5 - Production/Stable",
|
|
15
15
|
"License :: OSI Approved :: MIT License",
|
|
16
16
|
"Programming Language :: Python :: 3",
|
|
17
|
-
"Programming Language :: Python :: 3.8",
|
|
18
17
|
"Programming Language :: Python :: 3.9",
|
|
19
18
|
"Programming Language :: Python :: 3.10",
|
|
20
19
|
"Programming Language :: Python :: 3.11",
|
|
@@ -26,17 +25,15 @@ classifiers = [
|
|
|
26
25
|
"Operating System :: OS Independent",
|
|
27
26
|
]
|
|
28
27
|
keywords = ["triplestore", "ontology", "RDF"]
|
|
29
|
-
requires-python = ">=3.
|
|
28
|
+
requires-python = ">=3.9"
|
|
30
29
|
dynamic = ["version"]
|
|
31
30
|
|
|
32
31
|
dependencies = [
|
|
33
|
-
"typing-extensions>=4.7.0,<4.13.1; python_version < '3.9'",
|
|
34
32
|
]
|
|
35
33
|
|
|
36
34
|
[project.optional-dependencies]
|
|
37
35
|
units = [
|
|
38
|
-
"pint>=0.
|
|
39
|
-
"pint>=0.24.1,<0.26; python_version>='3.9'",
|
|
36
|
+
"pint>=0.24.1,<0.26",
|
|
40
37
|
"rdflib>=6.3.0,<=7.6.0",
|
|
41
38
|
]
|
|
42
39
|
mappings = [
|
|
@@ -45,22 +42,23 @@ mappings = [
|
|
|
45
42
|
datadoc = [
|
|
46
43
|
"tripper[mappings]",
|
|
47
44
|
"keyring>=22.0.0,<25.6.1",
|
|
48
|
-
"PyLD>=2.0.0,<
|
|
49
|
-
"
|
|
50
|
-
"
|
|
45
|
+
"PyLD>=2.0.0,<3.0.0; python_version<'3.10'",
|
|
46
|
+
"PyLD>=2.0.0,<3.0.1; python_version>='3.10'",
|
|
47
|
+
"PyYaml>=3.0.0,<6.0.4",
|
|
48
|
+
"requests>=2.0.0,<3.4.1",
|
|
51
49
|
"sparqlwrapper>=2.0.0,<2.0.1",
|
|
50
|
+
"openpyxl ~= 3.0"
|
|
52
51
|
]
|
|
53
52
|
backends = [
|
|
54
53
|
"dlite-python>=0.5.27",
|
|
55
|
-
"emmontopy>=0.5.0,<=0.
|
|
56
|
-
"graphviz>=0.20.1,<0.20.
|
|
57
|
-
"numpy<2.1.0; python_version=='3.13'",
|
|
54
|
+
"emmontopy>=0.5.0,<=0.11.3",
|
|
55
|
+
"graphviz>=0.20.1,<0.20.4",
|
|
56
|
+
"numpy<2.1.0; python_version=='3.13'",
|
|
58
57
|
"rdflib>=6.3.0,<7.0.0",
|
|
59
58
|
]
|
|
60
59
|
testing-core = [
|
|
61
60
|
"pytest==8.3.4",
|
|
62
|
-
"pytest-cov==
|
|
63
|
-
"pytest-cov==6.0.0; python_version>='3.9'",
|
|
61
|
+
"pytest-cov==6.0.0",
|
|
64
62
|
]
|
|
65
63
|
testing = [
|
|
66
64
|
"tripper[datadoc,backends,testing-core]",
|
|
@@ -208,7 +208,10 @@ def test_expanddoc_compactdoc():
|
|
|
208
208
|
|
|
209
209
|
context = get_context(context=doc)
|
|
210
210
|
exp = context.expanddoc(doc)
|
|
211
|
-
|
|
211
|
+
|
|
212
|
+
# PyLD 3.x resolves node @id values against @base during expansion,
|
|
213
|
+
# while older versions may keep relative @id values here.
|
|
214
|
+
legacy_exp = [
|
|
212
215
|
{
|
|
213
216
|
"@id": "fred",
|
|
214
217
|
"http://example2.com/knows": [
|
|
@@ -222,6 +225,21 @@ def test_expanddoc_compactdoc():
|
|
|
222
225
|
],
|
|
223
226
|
}
|
|
224
227
|
]
|
|
228
|
+
modern_exp = [
|
|
229
|
+
{
|
|
230
|
+
"@id": "http://example1.com/fred",
|
|
231
|
+
"http://example2.com/knows": [
|
|
232
|
+
{
|
|
233
|
+
"@id": "http://example1.com/barney",
|
|
234
|
+
"http://example2.com/mnemonic": [
|
|
235
|
+
{"@value": "the sidekick"}
|
|
236
|
+
],
|
|
237
|
+
},
|
|
238
|
+
{"@id": "http://example2.com/barney"},
|
|
239
|
+
],
|
|
240
|
+
}
|
|
241
|
+
]
|
|
242
|
+
assert exp in (legacy_exp, modern_exp)
|
|
225
243
|
compact = context.compactdoc(exp)
|
|
226
244
|
assert compact == doc
|
|
227
245
|
|
|
@@ -78,10 +78,8 @@ if TYPE_CHECKING: # pragma: no cover
|
|
|
78
78
|
# "some", "only", "exactly", "min", "max", "value",
|
|
79
79
|
# ]
|
|
80
80
|
#
|
|
81
|
-
# but mypy doesn't like that.
|
|
82
|
-
#
|
|
83
|
-
# exists typing_extensions, which adds to the version-dependencies
|
|
84
|
-
# as well as adding an extra requirement.
|
|
81
|
+
# but mypy doesn't like that. We therefore keep this as a simple
|
|
82
|
+
# string alias for compatibility with static typing in this module.
|
|
85
83
|
# For now we do it simple.
|
|
86
84
|
RestrictionType = str
|
|
87
85
|
|
|
@@ -1117,8 +1117,6 @@ class UnitRegistry(pint.UnitRegistry):
|
|
|
1117
1117
|
cache: "Optional[bool]" = True,
|
|
1118
1118
|
**kwargs: "Any",
|
|
1119
1119
|
) -> None:
|
|
1120
|
-
# FIXME: Remove doctest SKIP comments when support for
|
|
1121
|
-
# Python 3.8 is dropped
|
|
1122
1120
|
"""Initialise a Units class from triplestore `ts`
|
|
1123
1121
|
|
|
1124
1122
|
Arguments:
|
|
@@ -1148,14 +1146,14 @@ class UnitRegistry(pint.UnitRegistry):
|
|
|
1148
1146
|
>>> u
|
|
1149
1147
|
<Unit('Metre')>
|
|
1150
1148
|
|
|
1151
|
-
>>> u.emmoIRI
|
|
1149
|
+
>>> u.emmoIRI
|
|
1152
1150
|
'https://w3id.org/emmo#Metre'
|
|
1153
1151
|
|
|
1154
1152
|
>>> q = ureg.Quantity("3 h")
|
|
1155
1153
|
>>> q
|
|
1156
1154
|
<Quantity(3, 'Hour')>
|
|
1157
1155
|
|
|
1158
|
-
>>> q.u.qudtIRI
|
|
1156
|
+
>>> q.u.qudtIRI
|
|
1159
1157
|
'http://qudt.org/vocab/unit/HR'
|
|
1160
1158
|
|
|
1161
1159
|
"""
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|