tripper 0.4.2__tar.gz → 0.5.2__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.4.2 → tripper-0.5.2}/.github/workflows/cd_release.yml +1 -1
- {tripper-0.4.2 → tripper-0.5.2}/.github/workflows/ci_cd_updated_main.yml +1 -1
- {tripper-0.4.2 → tripper-0.5.2}/.github/workflows/ci_tests.yml +11 -12
- {tripper-0.4.2 → tripper-0.5.2}/.gitignore +5 -0
- tripper-0.5.2/.hooks/generate-context-and-doc.sh +23 -0
- {tripper-0.4.2 → tripper-0.5.2}/.pre-commit-config.yaml +10 -7
- {tripper-0.4.2 → tripper-0.5.2}/CHANGELOG.md +160 -1
- {tripper-0.4.2 → tripper-0.5.2}/LICENSE +1 -1
- {tripper-0.4.2 → tripper-0.5.2}/PKG-INFO +45 -20
- {tripper-0.4.2 → tripper-0.5.2}/README.md +30 -9
- tripper-0.5.2/docs/api_reference/datadoc/prefixes.md +3 -0
- tripper-0.5.2/docs/api_reference/datadoc/utils.md +3 -0
- tripper-0.5.2/docs/datadoc/classdoc.md +60 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/datadoc/customisation.md +127 -15
- {tripper-0.4.2 → tripper-0.5.2}/docs/datadoc/documenting-a-resource.md +99 -19
- tripper-0.5.2/docs/datadoc/fetching-resources-from-a-triplestore.md +122 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/datadoc/introduction.md +1 -14
- tripper-0.5.2/docs/datadoc/keywords-process.md +573 -0
- tripper-0.5.2/docs/datadoc/keywords.md +585 -0
- tripper-0.5.2/docs/datadoc/prefixes-process.md +37 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/datadoc/prefixes.md +30 -25
- {tripper-0.4.2 → tripper-0.5.2}/docs/developers.md +31 -5
- tripper-0.5.2/docs/figs/basic_relations.png +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/figs/dataset.drawio +827 -56
- tripper-0.5.2/docs/figs/dataset.png +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/index.md +30 -9
- {tripper-0.4.2 → tripper-0.5.2}/docs/session.md +38 -6
- {tripper-0.4.2 → tripper-0.5.2}/docs/tools/datadoc.md +5 -4
- {tripper-0.4.2 → tripper-0.5.2}/docs/tutorial.md +21 -6
- {tripper-0.4.2 → tripper-0.5.2}/docs/units/units.md +49 -18
- tripper-0.5.2/examples/classdoc/mysimulation.py +15 -0
- tripper-0.5.2/examples/classdoc/mysimulation.yaml +44 -0
- {tripper-0.4.2 → tripper-0.5.2}/examples/workflow-mappings/workflow_mappings.py +5 -1
- {tripper-0.4.2 → tripper-0.5.2}/mkdocs.yml +2 -0
- {tripper-0.4.2 → tripper-0.5.2}/pyproject.toml +29 -15
- {tripper-0.4.2 → tripper-0.5.2}/tests/backends/datadocumentation_sample.yaml +5 -3
- {tripper-0.4.2 → tripper-0.5.2}/tests/backends/datadocumentation_sample2.yaml +5 -3
- tripper-0.4.2/tests/backends/test_sparqlwrapper_graphdb_fuseki.py → tripper-0.5.2/tests/backends/test_backends_sparql.py +43 -74
- {tripper-0.4.2 → tripper-0.5.2}/tests/backends/test_sparqlwrapper.py +3 -5
- tripper-0.5.2/tests/datadoc/test_context.py +396 -0
- {tripper-0.4.2 → tripper-0.5.2}/tests/datadoc/test_dataaccess.py +43 -14
- {tripper-0.4.2 → tripper-0.5.2}/tests/datadoc/test_datadoc_cli.py +41 -1
- tripper-0.5.2/tests/datadoc/test_datadoc_utils.py +162 -0
- tripper-0.5.2/tests/datadoc/test_dataset.py +1154 -0
- tripper-0.5.2/tests/datadoc/test_keywords.py +807 -0
- tripper-0.5.2/tests/datadoc/test_prefixes.py +83 -0
- {tripper-0.4.2 → tripper-0.5.2}/tests/datadoc/test_tabledoc.py +166 -38
- tripper-0.5.2/tests/input/batchdata.csv +6 -0
- tripper-0.5.2/tests/input/custom_keywords.yaml +44 -0
- tripper-0.5.2/tests/input/invalid_keywords0.yaml +17 -0
- tripper-0.5.2/tests/input/invalid_keywords1.yaml +18 -0
- tripper-0.5.2/tests/input/invalid_keywords2.yaml +18 -0
- tripper-0.5.2/tests/input/invalid_keywords3.yaml +16 -0
- tripper-0.5.2/tests/input/invalid_keywords4.yaml +16 -0
- tripper-0.5.2/tests/input/invalid_keywords5.yaml +18 -0
- tripper-0.5.2/tests/input/invalid_keywords6.yaml +17 -0
- tripper-0.5.2/tests/input/invalid_keywords7.yaml +18 -0
- tripper-0.5.2/tests/input/invalid_keywords8.yaml +17 -0
- tripper-0.5.2/tests/input/invalid_keywords9.yaml +17 -0
- tripper-0.5.2/tests/input/keywords.csv +4 -0
- tripper-0.5.2/tests/input/new_keywords.csv +4 -0
- tripper-0.5.2/tests/input/semdata-context-ext.json +20 -0
- {tripper-0.4.2 → tripper-0.5.2}/tests/input/semdata-context.json +7 -8
- {tripper-0.4.2 → tripper-0.5.2}/tests/input/semdata.csv +3 -3
- {tripper-0.4.2 → tripper-0.5.2}/tests/input/semdata.yaml +6 -4
- {tripper-0.4.2 → tripper-0.5.2}/tests/input/session.yaml +8 -0
- tripper-0.5.2/tests/input/tem.xlsx +0 -0
- tripper-0.5.2/tests/input/valid_keywords.yaml +17 -0
- {tripper-0.4.2 → tripper-0.5.2}/tests/mappings/test_mappings.py +1 -4
- {tripper-0.4.2 → tripper-0.5.2}/tests/ontologies/family.ttl +62 -17
- {tripper-0.4.2 → tripper-0.5.2}/tests/output/.gitignore +2 -0
- {tripper-0.4.2 → tripper-0.5.2}/tests/test_add_function.py +3 -12
- {tripper-0.4.2 → tripper-0.5.2}/tests/test_literals.py +55 -0
- {tripper-0.4.2 → tripper-0.5.2}/tests/test_markdown_doctest.py +17 -1
- {tripper-0.4.2 → tripper-0.5.2}/tests/test_namespace.py +30 -1
- {tripper-0.4.2 → tripper-0.5.2}/tests/test_session.py +8 -0
- {tripper-0.4.2 → tripper-0.5.2}/tests/test_sparql.py +25 -43
- {tripper-0.4.2 → tripper-0.5.2}/tests/test_triplestore.py +21 -0
- {tripper-0.4.2 → tripper-0.5.2}/tests/test_utils.py +92 -7
- {tripper-0.4.2 → tripper-0.5.2}/tests/units/test_units.py +44 -8
- {tripper-0.4.2 → tripper-0.5.2}/tripper/__init__.py +7 -1
- {tripper-0.4.2 → tripper-0.5.2}/tripper/backends/collection.py +1 -1
- {tripper-0.4.2 → tripper-0.5.2}/tripper/backends/rdflib.py +15 -19
- {tripper-0.4.2 → tripper-0.5.2}/tripper/backends/sparqlwrapper.py +38 -7
- {tripper-0.4.2 → tripper-0.5.2}/tripper/context/0.3/context.json +200 -39
- {tripper-0.4.2 → tripper-0.5.2}/tripper/context/0.3/keywords.yaml +209 -73
- tripper-0.5.2/tripper/context/0.3/prefixes.yaml +33 -0
- tripper-0.5.2/tripper/context/datadoc.ttl +159 -0
- tripper-0.5.2/tripper/context/owl-restrictions.json +13 -0
- tripper-0.5.2/tripper/context/process/0.1/context.json +521 -0
- tripper-0.5.2/tripper/context/process/0.1/keywords.yaml +123 -0
- {tripper-0.4.2 → tripper-0.5.2}/tripper/datadoc/__init__.py +7 -2
- {tripper-0.4.2 → tripper-0.5.2}/tripper/datadoc/clitool.py +45 -16
- tripper-0.5.2/tripper/datadoc/context.py +650 -0
- {tripper-0.4.2 → tripper-0.5.2}/tripper/datadoc/dataaccess.py +54 -23
- {tripper-0.4.2 → tripper-0.5.2}/tripper/datadoc/dataset.py +767 -284
- tripper-0.5.2/tripper/datadoc/errors.py +74 -0
- tripper-0.5.2/tripper/datadoc/keywords.py +2130 -0
- tripper-0.5.2/tripper/datadoc/prefixes.py +75 -0
- tripper-0.5.2/tripper/datadoc/tabledoc.py +649 -0
- tripper-0.5.2/tripper/datadoc/utils.py +266 -0
- {tripper-0.4.2 → tripper-0.5.2}/tripper/errors.py +4 -0
- {tripper-0.4.2 → tripper-0.5.2}/tripper/interface.py +12 -0
- {tripper-0.4.2 → tripper-0.5.2}/tripper/literal.py +101 -9
- {tripper-0.4.2 → tripper-0.5.2}/tripper/mappings/mappings.py +1 -1
- {tripper-0.4.2 → tripper-0.5.2}/tripper/namespace.py +65 -0
- {tripper-0.4.2 → tripper-0.5.2}/tripper/triplestore.py +147 -8
- tripper-0.5.2/tripper/units/.gitignore +1 -0
- {tripper-0.4.2 → tripper-0.5.2}/tripper/units/units.py +116 -30
- {tripper-0.4.2 → tripper-0.5.2}/tripper/utils.py +192 -95
- tripper-0.4.2/.hooks/generate-context-and-doc.sh +0 -14
- tripper-0.4.2/docs/datadoc/keywords.md +0 -520
- tripper-0.4.2/tests/datadoc/test_context.py +0 -147
- tripper-0.4.2/tests/datadoc/test_dataset.py +0 -567
- tripper-0.4.2/tests/datadoc/test_keywords.py +0 -176
- tripper-0.4.2/tripper/datadoc/context.py +0 -362
- tripper-0.4.2/tripper/datadoc/errors.py +0 -35
- tripper-0.4.2/tripper/datadoc/keywords.py +0 -547
- tripper-0.4.2/tripper/datadoc/tabledoc.py +0 -395
- {tripper-0.4.2 → tripper-0.5.2}/.github/dependabot.yml +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/.github/pull_request_template.md +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/.github/workflows/ci_automerge_dependency_prs.yml +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/.github/workflows/ci_check_dependencies.yml +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/.github/workflows/ci_update_dependencies.yml +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/.hooks/markdown-doctest.sh +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/MANIFEST.in +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/CHANGELOG.md +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/LICENSE.md +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/api_reference/.pages +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/api_reference/backends/.pages +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/api_reference/backends/collection.md +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/api_reference/backends/ontopy.md +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/api_reference/backends/rdflib.md +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/api_reference/backends/sparqlwrapper.md +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/api_reference/convert/.pages +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/api_reference/convert/convert.md +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/api_reference/datadoc/.pages +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/api_reference/datadoc/clitool.md +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/api_reference/datadoc/context.md +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/api_reference/datadoc/dataaccess.md +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/api_reference/datadoc/dataset.md +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/api_reference/datadoc/errors.md +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/api_reference/datadoc/keywords.md +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/api_reference/datadoc/tabledoc.md +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/api_reference/errors.md +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/api_reference/interface.md +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/api_reference/literal.md +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/api_reference/mappings/.pages +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/api_reference/mappings/mappings.md +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/api_reference/namespace.md +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/api_reference/session.md +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/api_reference/triplestore.md +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/api_reference/triplestore_extend.md +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/api_reference/units/.pages +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/api_reference/units/units.md +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/api_reference/utils.md +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/backend_discovery.md +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/css/reference.css +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/figs/.gitignore +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/figs/dataset-Consumer.png +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/figs/dataset-Consumer1.png +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/figs/dataset-Consumer2.png +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/figs/dataset-Dataset.png +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/figs/dataset-Provider.png +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/figs/semdata.png +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/figs/tripper_logo.png +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/figs/tripper_logo.svg +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/figs/tripper_logo_w_name.png +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/figs/tripper_logo_w_name.svg +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/known-issues.md +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/mappings/figs/function_emmo.svg +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/docs/planned-backends.md +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/examples/workflow-mappings/README.md +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/examples/workflow-mappings/knowledge-base.svg +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/examples/workflow-mappings/route.svg +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/examples/workflow-mappings/workflow.svg +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/examples/workflow-mappings/workflow_w_pipes.svg +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/tests/backends/__init__.py +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/tests/backends/dummy.py +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/tests/backends/test_collection.py +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/tests/backends/test_rdflib.py +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/tests/conftest.py +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/tests/convert/test_convert.py +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/tests/datadoc/dataset_paths.py +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/tests/input/77600-23-001_5kV_400x_m001.tif +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/tests/input/custom_context.yaml +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/tests/input/mappings.ttl +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/tests/input/openfile.txt +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/tests/input/tem.csv +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/tests/mappings/test_cost.py +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/tests/mappings/test_function.py +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/tests/ontologies/food-more.ttl +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/tests/ontologies/food.ttl +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/tests/paths.py +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/tests/test_custom_backend.py +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/tests/test_eval_function.py +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/tests/test_get_data.py +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/tripper/backends/__init__.py +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/tripper/backends/ontopy.py +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/tripper/context/0.2/context.json +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/tripper/convert/__init__.py +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/tripper/convert/convert.py +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/tripper/mappings/__init__.py +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/tripper/session.py +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/tripper/triplestore_extend.py +0 -0
- {tripper-0.4.2 → tripper-0.5.2}/tripper/units/__init__.py +0 -0
|
@@ -24,7 +24,7 @@ jobs:
|
|
|
24
24
|
update_python_api_ref: true
|
|
25
25
|
package_dirs: tripper
|
|
26
26
|
update_docs_landing_page: true
|
|
27
|
-
python_version: "3.
|
|
27
|
+
python_version: "3.12"
|
|
28
28
|
doc_extras: "[docs]"
|
|
29
29
|
changelog_exclude_labels: "skip_changelog,duplicate,question,invalid,wontfix"
|
|
30
30
|
docs_framework: mkdocs
|
|
@@ -5,7 +5,7 @@ on:
|
|
|
5
5
|
push:
|
|
6
6
|
branches:
|
|
7
7
|
- 'master'
|
|
8
|
-
- 'push-action/**' # Allow pushing to protected branches
|
|
8
|
+
- 'push-action/**' # Allow pushing to protected branches
|
|
9
9
|
|
|
10
10
|
jobs:
|
|
11
11
|
basic-tests:
|
|
@@ -55,7 +55,7 @@ jobs:
|
|
|
55
55
|
- name: Run Safety CLI to check for vulnerabilities
|
|
56
56
|
uses: pyupio/safety-action@v1
|
|
57
57
|
with:
|
|
58
|
-
api-key: ${{ secrets.
|
|
58
|
+
api-key: ${{ secrets.SAFETY_API_KEY2 }}
|
|
59
59
|
args: --detailed-output # To always see detailed output from this action
|
|
60
60
|
|
|
61
61
|
pytest:
|
|
@@ -79,20 +79,20 @@ jobs:
|
|
|
79
79
|
strategy:
|
|
80
80
|
fail-fast: false
|
|
81
81
|
matrix:
|
|
82
|
-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
|
|
82
|
+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
|
|
83
83
|
|
|
84
84
|
steps:
|
|
85
85
|
- name: Checkout tripper
|
|
86
|
-
uses: actions/checkout@
|
|
86
|
+
uses: actions/checkout@v6
|
|
87
87
|
|
|
88
88
|
- name: Set up Python ${{ matrix.python-version }}
|
|
89
|
-
uses: actions/setup-python@
|
|
89
|
+
uses: actions/setup-python@v6
|
|
90
90
|
with:
|
|
91
91
|
python-version: ${{ matrix.python-version }}
|
|
92
92
|
|
|
93
93
|
- name: Install dependencies
|
|
94
94
|
run: |
|
|
95
|
-
sudo apt install graphviz
|
|
95
|
+
# sudo apt install graphviz
|
|
96
96
|
python -m pip install -U pip
|
|
97
97
|
pip install -U setuptools wheel flit
|
|
98
98
|
pip install -e .[testing]
|
|
@@ -105,7 +105,7 @@ jobs:
|
|
|
105
105
|
|
|
106
106
|
- name: Upload coverage to Codecov
|
|
107
107
|
if: matrix.python-version == '3.11' && github.repository == 'EMMC-ASBL/tripper'
|
|
108
|
-
uses: codecov/codecov-action@
|
|
108
|
+
uses: codecov/codecov-action@v6
|
|
109
109
|
with:
|
|
110
110
|
token: ${{ secrets.CODECOV_TOKEN }}
|
|
111
111
|
|
|
@@ -118,20 +118,19 @@ jobs:
|
|
|
118
118
|
strategy:
|
|
119
119
|
fail-fast: false
|
|
120
120
|
matrix:
|
|
121
|
-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
|
|
121
|
+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
|
|
122
122
|
|
|
123
123
|
steps:
|
|
124
124
|
- name: Checkout tripper
|
|
125
|
-
uses: actions/checkout@
|
|
125
|
+
uses: actions/checkout@v6
|
|
126
126
|
|
|
127
127
|
- name: Set up Python ${{ matrix.python-version }}
|
|
128
|
-
uses: actions/setup-python@
|
|
128
|
+
uses: actions/setup-python@v6
|
|
129
129
|
with:
|
|
130
130
|
python-version: ${{ matrix.python-version }}
|
|
131
131
|
|
|
132
|
-
- name: Install dependencies
|
|
132
|
+
- name: Install minimal dependencies
|
|
133
133
|
run: |
|
|
134
|
-
sudo apt install graphviz
|
|
135
134
|
python -m pip install -U pip
|
|
136
135
|
pip install -U setuptools wheel flit
|
|
137
136
|
pip install -e .[testing-core]
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
|
|
3
|
+
# Enter repository root directory
|
|
4
|
+
HERE="$(cd "$(dirname "$0")" && pwd)"
|
|
5
|
+
cd "$HERE"/..
|
|
6
|
+
|
|
7
|
+
# Generate JSON-LD context and keyword documentation
|
|
8
|
+
python tripper/datadoc/keywords.py \
|
|
9
|
+
--explanation \
|
|
10
|
+
--special-keywords \
|
|
11
|
+
--write-context=tripper/context/0.3/context.json \
|
|
12
|
+
--write-kw-md=docs/datadoc/keywords.md \
|
|
13
|
+
--write-prefixes=docs/datadoc/prefixes.md
|
|
14
|
+
|
|
15
|
+
python tripper/datadoc/keywords.py \
|
|
16
|
+
--explanation \
|
|
17
|
+
--write-context=tripper/context/process/0.1/context.json \
|
|
18
|
+
--write-kw-md=docs/datadoc/keywords-process.md \
|
|
19
|
+
--write-prefixes=docs/datadoc/prefixes-process.md
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# Don't crash pre-commit in case the above fails on GitHub
|
|
23
|
+
exit 0
|
|
@@ -19,7 +19,7 @@ ci:
|
|
|
19
19
|
# hooks
|
|
20
20
|
repos:
|
|
21
21
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
22
|
-
rev:
|
|
22
|
+
rev: v6.0.0
|
|
23
23
|
hooks:
|
|
24
24
|
- id: end-of-file-fixer
|
|
25
25
|
exclude: ^.*\.(svg)$
|
|
@@ -32,7 +32,7 @@ repos:
|
|
|
32
32
|
args: [--markdown-linebreak-ext=md]
|
|
33
33
|
|
|
34
34
|
- repo: https://github.com/PyCQA/isort
|
|
35
|
-
rev:
|
|
35
|
+
rev: 9.0.0a3
|
|
36
36
|
hooks:
|
|
37
37
|
- id: isort
|
|
38
38
|
args:
|
|
@@ -40,21 +40,21 @@ repos:
|
|
|
40
40
|
- --filter-files
|
|
41
41
|
- --skip-gitignore
|
|
42
42
|
|
|
43
|
-
- repo: https://github.com/psf/black
|
|
44
|
-
rev:
|
|
43
|
+
- repo: https://github.com/psf/black-pre-commit-mirror
|
|
44
|
+
rev: 26.3.1
|
|
45
45
|
hooks:
|
|
46
46
|
- id: black
|
|
47
47
|
args: [--line-length=79]
|
|
48
48
|
|
|
49
49
|
- repo: https://github.com/PyCQA/bandit
|
|
50
|
-
rev: 1.
|
|
50
|
+
rev: 1.9.4
|
|
51
51
|
hooks:
|
|
52
52
|
- id: bandit
|
|
53
53
|
args: ["-r"]
|
|
54
54
|
files: ^tripper/.*$
|
|
55
55
|
|
|
56
56
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
57
|
-
rev: v1.
|
|
57
|
+
rev: v1.20.2
|
|
58
58
|
hooks:
|
|
59
59
|
- id: mypy
|
|
60
60
|
exclude: ^tests/.*$
|
|
@@ -64,11 +64,14 @@ repos:
|
|
|
64
64
|
- "pydantic"
|
|
65
65
|
|
|
66
66
|
- repo: https://github.com/SINTEF/ci-cd
|
|
67
|
-
rev: v2.
|
|
67
|
+
rev: v2.10.0
|
|
68
68
|
hooks:
|
|
69
69
|
- id: docs-api-reference
|
|
70
70
|
args:
|
|
71
71
|
- --package-dir=tripper
|
|
72
|
+
- --unwanted-folder=__pycache__
|
|
73
|
+
- --unwanted-folder=context
|
|
74
|
+
- --unwanted-folder=old
|
|
72
75
|
- id: docs-landing-page
|
|
73
76
|
# - id: update-pyproject
|
|
74
77
|
|
|
@@ -1,6 +1,165 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## [v0.
|
|
3
|
+
## [v0.5.2](https://github.com/EMMC-ASBL/tripper/tree/v0.5.2) (2026-05-11)
|
|
4
|
+
|
|
5
|
+
[Full Changelog](https://github.com/EMMC-ASBL/tripper/compare/v0.5.1...v0.5.2)
|
|
6
|
+
|
|
7
|
+
**Merged pull requests:**
|
|
8
|
+
|
|
9
|
+
- Do not fail when wikidata stops access [\#544](https://github.com/EMMC-ASBL/tripper/pull/544) ([francescalb](https://github.com/francescalb))
|
|
10
|
+
|
|
11
|
+
## [v0.5.1](https://github.com/EMMC-ASBL/tripper/tree/v0.5.1) (2026-04-29)
|
|
12
|
+
|
|
13
|
+
[Full Changelog](https://github.com/EMMC-ASBL/tripper/compare/v0.5.0...v0.5.1)
|
|
14
|
+
|
|
15
|
+
**Closed issues:**
|
|
16
|
+
|
|
17
|
+
- TableDoc - add semantics to content of braces prepended to the header [\#529](https://github.com/EMMC-ASBL/tripper/issues/529)
|
|
18
|
+
- Restrictions on individuals [\#488](https://github.com/EMMC-ASBL/tripper/issues/488)
|
|
19
|
+
- Improve description of classes [\#460](https://github.com/EMMC-ASBL/tripper/issues/460)
|
|
20
|
+
- One prefix can now point to two different namespaces [\#452](https://github.com/EMMC-ASBL/tripper/issues/452)
|
|
21
|
+
|
|
22
|
+
**Merged pull requests:**
|
|
23
|
+
|
|
24
|
+
- Iri in restrictions are not treated correctly when parsed into ts [\#542](https://github.com/EMMC-ASBL/tripper/pull/542) ([francescalb](https://github.com/francescalb))
|
|
25
|
+
- \[pre-commit.ci\] pre-commit autoupdate [\#541](https://github.com/EMMC-ASBL/tripper/pull/541) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
|
|
26
|
+
- Do not infer restrictions on annotation properties [\#540](https://github.com/EMMC-ASBL/tripper/pull/540) ([francescalb](https://github.com/francescalb))
|
|
27
|
+
- Added parsing of excel and semantics to header braces in tabledoc [\#539](https://github.com/EMMC-ASBL/tripper/pull/539) ([jesper-friis](https://github.com/jesper-friis))
|
|
28
|
+
- Avoid injecting default context [\#538](https://github.com/EMMC-ASBL/tripper/pull/538) ([jesper-friis](https://github.com/jesper-friis))
|
|
29
|
+
- Add documentation on how to make sure that new classes exist in context [\#537](https://github.com/EMMC-ASBL/tripper/pull/537) ([francescalb](https://github.com/francescalb))
|
|
30
|
+
- \[pre-commit.ci\] pre-commit autoupdate [\#528](https://github.com/EMMC-ASBL/tripper/pull/528) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
|
|
31
|
+
- Removed automatic detection of datamodel in tripper dataset [\#526](https://github.com/EMMC-ASBL/tripper/pull/526) ([francescalb](https://github.com/francescalb))
|
|
32
|
+
- Changed prefix `accr:` to `rights:` [\#525](https://github.com/EMMC-ASBL/tripper/pull/525) ([jesper-friis](https://github.com/jesper-friis))
|
|
33
|
+
- Fixed formatting of keywords [\#521](https://github.com/EMMC-ASBL/tripper/pull/521) ([jesper-friis](https://github.com/jesper-friis))
|
|
34
|
+
- Made altLabel and label language strings [\#519](https://github.com/EMMC-ASBL/tripper/pull/519) ([jesper-friis](https://github.com/jesper-friis))
|
|
35
|
+
- Made test\_backends\_sparql.py slightly more robust [\#518](https://github.com/EMMC-ASBL/tripper/pull/518) ([jesper-friis](https://github.com/jesper-friis))
|
|
36
|
+
- \[pre-commit.ci\] pre-commit autoupdate [\#517](https://github.com/EMMC-ASBL/tripper/pull/517) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
|
|
37
|
+
- Corrected infering name from iri. [\#516](https://github.com/EMMC-ASBL/tripper/pull/516) ([francescalb](https://github.com/francescalb))
|
|
38
|
+
- \[pre-commit.ci\] pre-commit autoupdate [\#515](https://github.com/EMMC-ASBL/tripper/pull/515) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
|
|
39
|
+
- Individual restrictions [\#514](https://github.com/EMMC-ASBL/tripper/pull/514) ([jesper-friis](https://github.com/jesper-friis))
|
|
40
|
+
- Keywords with context input [\#513](https://github.com/EMMC-ASBL/tripper/pull/513) ([jesper-friis](https://github.com/jesper-friis))
|
|
41
|
+
- Restrictions to iris [\#512](https://github.com/EMMC-ASBL/tripper/pull/512) ([francescalb](https://github.com/francescalb))
|
|
42
|
+
- \[pre-commit.ci\] pre-commit autoupdate [\#511](https://github.com/EMMC-ASBL/tripper/pull/511) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
|
|
43
|
+
- Added support for multiple labels in keywords [\#508](https://github.com/EMMC-ASBL/tripper/pull/508) ([jesper-friis](https://github.com/jesper-friis))
|
|
44
|
+
- Make TableDoc.save return the saved JSON-LD [\#507](https://github.com/EMMC-ASBL/tripper/pull/507) ([jesper-friis](https://github.com/jesper-friis))
|
|
45
|
+
- Improved error message when missing prefix [\#506](https://github.com/EMMC-ASBL/tripper/pull/506) ([francescalb](https://github.com/francescalb))
|
|
46
|
+
- \[pre-commit.ci\] pre-commit autoupdate [\#505](https://github.com/EMMC-ASBL/tripper/pull/505) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
|
|
47
|
+
- Changed sxd:date to xsd:dateTime in keywords [\#504](https://github.com/EMMC-ASBL/tripper/pull/504) ([jesper-friis](https://github.com/jesper-friis))
|
|
48
|
+
- Restrictions on individuals [\#503](https://github.com/EMMC-ASBL/tripper/pull/503) ([jesper-friis](https://github.com/jesper-friis))
|
|
49
|
+
- Correct rdf serialisation [\#502](https://github.com/EMMC-ASBL/tripper/pull/502) ([jesper-friis](https://github.com/jesper-friis))
|
|
50
|
+
- Skip tests depending on dlite if dlite is not available [\#501](https://github.com/EMMC-ASBL/tripper/pull/501) ([jesper-friis](https://github.com/jesper-friis))
|
|
51
|
+
- Removed unnecessary warning [\#500](https://github.com/EMMC-ASBL/tripper/pull/500) ([jesper-friis](https://github.com/jesper-friis))
|
|
52
|
+
- Update jsonld to rdf [\#499](https://github.com/EMMC-ASBL/tripper/pull/499) ([francescalb](https://github.com/francescalb))
|
|
53
|
+
- context is in many places forced to use default even when this is not desired [\#498](https://github.com/EMMC-ASBL/tripper/pull/498) ([francescalb](https://github.com/francescalb))
|
|
54
|
+
- Annotation mappings for generated keywords [\#497](https://github.com/EMMC-ASBL/tripper/pull/497) ([jesper-friis](https://github.com/jesper-friis))
|
|
55
|
+
- Added --set-prefix option to keywords [\#496](https://github.com/EMMC-ASBL/tripper/pull/496) ([jesper-friis](https://github.com/jesper-friis))
|
|
56
|
+
- \[pre-commit.ci\] pre-commit autoupdate [\#495](https://github.com/EMMC-ASBL/tripper/pull/495) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
|
|
57
|
+
- Fixed use of deprecated `yamlfile` argument to get\_keywords\(\) [\#494](https://github.com/EMMC-ASBL/tripper/pull/494) ([jesper-friis](https://github.com/jesper-friis))
|
|
58
|
+
- Added prefix argument to keywords tool [\#492](https://github.com/EMMC-ASBL/tripper/pull/492) ([francescalb](https://github.com/francescalb))
|
|
59
|
+
- \[pre-commit.ci\] pre-commit autoupdate [\#489](https://github.com/EMMC-ASBL/tripper/pull/489) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
|
|
60
|
+
- \[pre-commit.ci\] pre-commit autoupdate [\#487](https://github.com/EMMC-ASBL/tripper/pull/487) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
|
|
61
|
+
- Added reverse mapping to Namespace objects using the \_\_call\_\_\(\) method. [\#483](https://github.com/EMMC-ASBL/tripper/pull/483) ([jesper-friis](https://github.com/jesper-friis))
|
|
62
|
+
- Added --redefine option to datadoc tool and corrected Keywords.\_keywords\_list\(\) method [\#482](https://github.com/EMMC-ASBL/tripper/pull/482) ([jesper-friis](https://github.com/jesper-friis))
|
|
63
|
+
- Update keywords for manufactured product [\#481](https://github.com/EMMC-ASBL/tripper/pull/481) ([jesper-friis](https://github.com/jesper-friis))
|
|
64
|
+
- 460 improve description of classes [\#479](https://github.com/EMMC-ASBL/tripper/pull/479) ([jesper-friis](https://github.com/jesper-friis))
|
|
65
|
+
- Restore license [\#478](https://github.com/EMMC-ASBL/tripper/pull/478) ([jesper-friis](https://github.com/jesper-friis))
|
|
66
|
+
- \[pre-commit.ci\] pre-commit autoupdate [\#477](https://github.com/EMMC-ASBL/tripper/pull/477) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
|
|
67
|
+
- Allow to filter generated markdown documentation on namespaces [\#476](https://github.com/EMMC-ASBL/tripper/pull/476) ([jesper-friis](https://github.com/jesper-friis))
|
|
68
|
+
- Speedup [\#474](https://github.com/EMMC-ASBL/tripper/pull/474) ([jesper-friis](https://github.com/jesper-friis))
|
|
69
|
+
- Make it possible to duplicate nested table headers [\#467](https://github.com/EMMC-ASBL/tripper/pull/467) ([jesper-friis](https://github.com/jesper-friis))
|
|
70
|
+
|
|
71
|
+
## [v0.5.0](https://github.com/EMMC-ASBL/tripper/tree/v0.5.0) (2025-11-22)
|
|
72
|
+
|
|
73
|
+
[Full Changelog](https://github.com/EMMC-ASBL/tripper/compare/v0.4.3...v0.5.0)
|
|
74
|
+
|
|
75
|
+
**Closed issues:**
|
|
76
|
+
|
|
77
|
+
- Add functions for storing/loading namespace prefixes and URIs to/from the KB [\#441](https://github.com/EMMC-ASBL/tripper/issues/441)
|
|
78
|
+
- Several tests are never run because of error in importsatetemtn fpr pyld [\#427](https://github.com/EMMC-ASBL/tripper/issues/427)
|
|
79
|
+
- Fix the safety workflow by creating a Safety account and add a key to the workflow [\#423](https://github.com/EMMC-ASBL/tripper/issues/423)
|
|
80
|
+
- Add methods to the Keywords class for adding new prefixes [\#422](https://github.com/EMMC-ASBL/tripper/issues/422)
|
|
81
|
+
- Why is the test wit the ontopy backend skipped? [\#334](https://github.com/EMMC-ASBL/tripper/issues/334)
|
|
82
|
+
|
|
83
|
+
**Merged pull requests:**
|
|
84
|
+
|
|
85
|
+
- Fixed some bugs in Keywords [\#473](https://github.com/EMMC-ASBL/tripper/pull/473) ([jesper-friis](https://github.com/jesper-friis))
|
|
86
|
+
- Added missing keywords [\#470](https://github.com/EMMC-ASBL/tripper/pull/470) ([jesper-friis](https://github.com/jesper-friis))
|
|
87
|
+
- Update keywords [\#469](https://github.com/EMMC-ASBL/tripper/pull/469) ([jesper-friis](https://github.com/jesper-friis))
|
|
88
|
+
- \[pre-commit.ci\] pre-commit autoupdate [\#468](https://github.com/EMMC-ASBL/tripper/pull/468) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
|
|
89
|
+
- Remove default type for TableDoc [\#466](https://github.com/EMMC-ASBL/tripper/pull/466) ([jesper-friis](https://github.com/jesper-friis))
|
|
90
|
+
- Allow keyword redefinition [\#465](https://github.com/EMMC-ASBL/tripper/pull/465) ([francescalb](https://github.com/francescalb))
|
|
91
|
+
- \[pre-commit.ci\] pre-commit autoupdate [\#464](https://github.com/EMMC-ASBL/tripper/pull/464) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
|
|
92
|
+
- Improved error message and fixed minor issue when reading data from PINK. [\#463](https://github.com/EMMC-ASBL/tripper/pull/463) ([jesper-friis](https://github.com/jesper-friis))
|
|
93
|
+
- Ensure that SPARQL queries with the rdflib backend behaves similar to sparqlwrapper [\#456](https://github.com/EMMC-ASBL/tripper/pull/456) ([jesper-friis](https://github.com/jesper-friis))
|
|
94
|
+
- Changed `check_url` to default to `base_iri` [\#455](https://github.com/EMMC-ASBL/tripper/pull/455) ([jesper-friis](https://github.com/jesper-friis))
|
|
95
|
+
- Fixed some issues with sparql backend [\#453](https://github.com/EMMC-ASBL/tripper/pull/453) ([jesper-friis](https://github.com/jesper-friis))
|
|
96
|
+
- Generate keywords file [\#451](https://github.com/EMMC-ASBL/tripper/pull/451) ([jesper-friis](https://github.com/jesper-friis))
|
|
97
|
+
- \[pre-commit.ci\] pre-commit autoupdate [\#450](https://github.com/EMMC-ASBL/tripper/pull/450) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
|
|
98
|
+
- Added keyring tip [\#449](https://github.com/EMMC-ASBL/tripper/pull/449) ([jesper-friis](https://github.com/jesper-friis))
|
|
99
|
+
- Fix deprecation warnings [\#448](https://github.com/EMMC-ASBL/tripper/pull/448) ([jesper-friis](https://github.com/jesper-friis))
|
|
100
|
+
- Test against latest Python 3.14 instead of release candidate rc2 [\#447](https://github.com/EMMC-ASBL/tripper/pull/447) ([jesper-friis](https://github.com/jesper-friis))
|
|
101
|
+
- Restore formatting [\#446](https://github.com/EMMC-ASBL/tripper/pull/446) ([jesper-friis](https://github.com/jesper-friis))
|
|
102
|
+
- Fix formatting2 [\#445](https://github.com/EMMC-ASBL/tripper/pull/445) ([jesper-friis](https://github.com/jesper-friis))
|
|
103
|
+
- Store prefixes to triplestore [\#443](https://github.com/EMMC-ASBL/tripper/pull/443) ([jesper-friis](https://github.com/jesper-friis))
|
|
104
|
+
- Clean up keywords [\#442](https://github.com/EMMC-ASBL/tripper/pull/442) ([jesper-friis](https://github.com/jesper-friis))
|
|
105
|
+
- \[pre-commit.ci\] pre-commit autoupdate [\#439](https://github.com/EMMC-ASBL/tripper/pull/439) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
|
|
106
|
+
- Added available\(\) method and check\_url to argument to Triplestore [\#437](https://github.com/EMMC-ASBL/tripper/pull/437) ([jesper-friis](https://github.com/jesper-friis))
|
|
107
|
+
- Added substitute\_query\(\) function [\#434](https://github.com/EMMC-ASBL/tripper/pull/434) ([jesper-friis](https://github.com/jesper-friis))
|
|
108
|
+
- Fixed minor bugs in keywords.py [\#432](https://github.com/EMMC-ASBL/tripper/pull/432) ([jesper-friis](https://github.com/jesper-friis))
|
|
109
|
+
- Fix linting warnings for bound prefixes [\#431](https://github.com/EMMC-ASBL/tripper/pull/431) ([nameloCmaS](https://github.com/nameloCmaS))
|
|
110
|
+
- Corrected importorskip for PyLD \(corrected to pyld\) [\#428](https://github.com/EMMC-ASBL/tripper/pull/428) ([francescalb](https://github.com/francescalb))
|
|
111
|
+
- \[pre-commit.ci\] pre-commit autoupdate [\#426](https://github.com/EMMC-ASBL/tripper/pull/426) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
|
|
112
|
+
- Added add\_prefix\(\) method to keywords module. [\#424](https://github.com/EMMC-ASBL/tripper/pull/424) ([jesper-friis](https://github.com/jesper-friis))
|
|
113
|
+
- Changed pypi status to production [\#418](https://github.com/EMMC-ASBL/tripper/pull/418) ([jesper-friis](https://github.com/jesper-friis))
|
|
114
|
+
- Updated figure with basic relations [\#417](https://github.com/EMMC-ASBL/tripper/pull/417) ([jesper-friis](https://github.com/jesper-friis))
|
|
115
|
+
|
|
116
|
+
## [v0.4.3](https://github.com/EMMC-ASBL/tripper/tree/v0.4.3) (2025-08-19)
|
|
117
|
+
|
|
118
|
+
[Full Changelog](https://github.com/EMMC-ASBL/tripper/compare/v0.4.2...v0.4.3)
|
|
119
|
+
|
|
120
|
+
**Closed issues:**
|
|
121
|
+
|
|
122
|
+
- inconsistent usage when filtering searches [\#396](https://github.com/EMMC-ASBL/tripper/issues/396)
|
|
123
|
+
- correct criterias to criteria [\#392](https://github.com/EMMC-ASBL/tripper/issues/392)
|
|
124
|
+
- Add `hasCurator` and `hasCurationDate` properties to resources [\#390](https://github.com/EMMC-ASBL/tripper/issues/390)
|
|
125
|
+
- Support for documenting not \(yet\) existing resources [\#369](https://github.com/EMMC-ASBL/tripper/issues/369)
|
|
126
|
+
- Make the generated keywords documentation look better [\#365](https://github.com/EMMC-ASBL/tripper/issues/365)
|
|
127
|
+
- Speed up tripper.dataset.save\_data\(\) [\#337](https://github.com/EMMC-ASBL/tripper/issues/337)
|
|
128
|
+
- Example in documentation of search\_iris iw wrong. [\#323](https://github.com/EMMC-ASBL/tripper/issues/323)
|
|
129
|
+
- get\_jsonld\_context does not support PosixPath [\#322](https://github.com/EMMC-ASBL/tripper/issues/322)
|
|
130
|
+
- Set up a triplestore on the PhysMet Portal [\#315](https://github.com/EMMC-ASBL/tripper/issues/315)
|
|
131
|
+
- Make converting a large table of datasets to RDF faster [\#305](https://github.com/EMMC-ASBL/tripper/issues/305)
|
|
132
|
+
- Ensure dataset is TEM schema compliant [\#293](https://github.com/EMMC-ASBL/tripper/issues/293)
|
|
133
|
+
- Define schema for TEM dataset queries [\#292](https://github.com/EMMC-ASBL/tripper/issues/292)
|
|
134
|
+
|
|
135
|
+
**Merged pull requests:**
|
|
136
|
+
|
|
137
|
+
- Updated installation instructions on the readme page. [\#415](https://github.com/EMMC-ASBL/tripper/pull/415) ([jesper-friis](https://github.com/jesper-friis))
|
|
138
|
+
- Add support for Python 3.14 [\#414](https://github.com/EMMC-ASBL/tripper/pull/414) ([jesper-friis](https://github.com/jesper-friis))
|
|
139
|
+
- \[pre-commit.ci\] pre-commit autoupdate [\#412](https://github.com/EMMC-ASBL/tripper/pull/412) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
|
|
140
|
+
- Updated dataset figure [\#410](https://github.com/EMMC-ASBL/tripper/pull/410) ([jesper-friis](https://github.com/jesper-friis))
|
|
141
|
+
- Include sparqlwrapper in dependencies for datadoc [\#409](https://github.com/EMMC-ASBL/tripper/pull/409) ([jesper-friis](https://github.com/jesper-friis))
|
|
142
|
+
- \[pre-commit.ci\] pre-commit autoupdate [\#408](https://github.com/EMMC-ASBL/tripper/pull/408) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
|
|
143
|
+
- Updated figures [\#407](https://github.com/EMMC-ASBL/tripper/pull/407) ([jesper-friis](https://github.com/jesper-friis))
|
|
144
|
+
- Date and time literals [\#406](https://github.com/EMMC-ASBL/tripper/pull/406) ([jesper-friis](https://github.com/jesper-friis))
|
|
145
|
+
- Added keywords `hasCurator` and `hasCurationDate` [\#405](https://github.com/EMMC-ASBL/tripper/pull/405) ([jesper-friis](https://github.com/jesper-friis))
|
|
146
|
+
- Build documentation with Python 3.12 [\#404](https://github.com/EMMC-ASBL/tripper/pull/404) ([jesper-friis](https://github.com/jesper-friis))
|
|
147
|
+
- Skip running doctest on session.md if Fuseki is not running [\#403](https://github.com/EMMC-ASBL/tripper/pull/403) ([jesper-friis](https://github.com/jesper-friis))
|
|
148
|
+
- Fix issue \#396 [\#401](https://github.com/EMMC-ASBL/tripper/pull/401) ([jesper-friis](https://github.com/jesper-friis))
|
|
149
|
+
- Updated figure with basic relations [\#400](https://github.com/EMMC-ASBL/tripper/pull/400) ([jesper-friis](https://github.com/jesper-friis))
|
|
150
|
+
- Added \_\_contains\_\_\(\) method to namespace [\#399](https://github.com/EMMC-ASBL/tripper/pull/399) ([jesper-friis](https://github.com/jesper-friis))
|
|
151
|
+
- Run mkdocs with Python 3.13 instead of 3.9 [\#398](https://github.com/EMMC-ASBL/tripper/pull/398) ([jesper-friis](https://github.com/jesper-friis))
|
|
152
|
+
- added a file about how to search and delete resources in the ts [\#397](https://github.com/EMMC-ASBL/tripper/pull/397) ([francescalb](https://github.com/francescalb))
|
|
153
|
+
- Update using criteria in search [\#395](https://github.com/EMMC-ASBL/tripper/pull/395) ([francescalb](https://github.com/francescalb))
|
|
154
|
+
- Keywords inverse [\#394](https://github.com/EMMC-ASBL/tripper/pull/394) ([jesper-friis](https://github.com/jesper-friis))
|
|
155
|
+
- Keywords inverse [\#393](https://github.com/EMMC-ASBL/tripper/pull/393) ([jesper-friis](https://github.com/jesper-friis))
|
|
156
|
+
- Added keywords for documenting characterisation processes [\#391](https://github.com/EMMC-ASBL/tripper/pull/391) ([jesper-friis](https://github.com/jesper-friis))
|
|
157
|
+
- WIP: Update classes [\#388](https://github.com/EMMC-ASBL/tripper/pull/388) ([jesper-friis](https://github.com/jesper-friis))
|
|
158
|
+
- Improved control when storing to the triplestore [\#387](https://github.com/EMMC-ASBL/tripper/pull/387) ([jesper-friis](https://github.com/jesper-friis))
|
|
159
|
+
- Fix test\_markdown\_doctest [\#383](https://github.com/EMMC-ASBL/tripper/pull/383) ([jesper-friis](https://github.com/jesper-friis))
|
|
160
|
+
- Added ureg.get\_quantity\(\) method to units module [\#381](https://github.com/EMMC-ASBL/tripper/pull/381) ([jesper-friis](https://github.com/jesper-friis))
|
|
161
|
+
|
|
162
|
+
## [v0.4.2](https://github.com/EMMC-ASBL/tripper/tree/v0.4.2) (2025-04-23)
|
|
4
163
|
|
|
5
164
|
[Full Changelog](https://github.com/EMMC-ASBL/tripper/compare/v0.4.1...v0.4.2)
|
|
6
165
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tripper
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.5.2
|
|
4
4
|
Summary: A triplestore wrapper for Python.
|
|
5
5
|
Keywords: triplestore,ontology,RDF
|
|
6
6
|
Author-email: SINTEF <TEAM4.0@sintef.no>
|
|
7
7
|
Requires-Python: >=3.8
|
|
8
8
|
Description-Content-Type: text/markdown
|
|
9
|
-
Classifier: Development Status ::
|
|
9
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
10
10
|
Classifier: License :: OSI Approved :: MIT License
|
|
11
11
|
Classifier: Programming Language :: Python :: 3
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.8
|
|
@@ -15,16 +15,25 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3.11
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.12
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.13
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
18
19
|
Classifier: Environment :: Plugins
|
|
19
20
|
Classifier: Natural Language :: English
|
|
20
21
|
Classifier: Operating System :: OS Independent
|
|
21
22
|
License-File: LICENSE
|
|
22
23
|
Requires-Dist: typing-extensions>=4.7.0,<4.13.1; python_version < '3.9'
|
|
24
|
+
Requires-Dist: dlite-python>=0.5.27 ; extra == "backends"
|
|
25
|
+
Requires-Dist: emmontopy>=0.5.0,<=0.8.1 ; extra == "backends"
|
|
26
|
+
Requires-Dist: graphviz>=0.20.1,<0.20.2 ; extra == "backends"
|
|
27
|
+
Requires-Dist: numpy<2.1.0 ; extra == "backends" and ( python_version=='3.13')
|
|
28
|
+
Requires-Dist: rdflib>=6.3.0,<7.0.0 ; extra == "backends"
|
|
23
29
|
Requires-Dist: tripper[mappings] ; extra == "datadoc"
|
|
30
|
+
Requires-Dist: keyring>=22.0.0,<25.6.1 ; extra == "datadoc"
|
|
24
31
|
Requires-Dist: PyLD>=2.0.0,<2.0.5 ; extra == "datadoc"
|
|
25
32
|
Requires-Dist: PyYaml>=3.0.0,<6.0.3 ; extra == "datadoc"
|
|
26
33
|
Requires-Dist: requests>=2.0.0,<3.4.1 ; extra == "datadoc"
|
|
34
|
+
Requires-Dist: sparqlwrapper>=2.0.0,<2.0.1 ; extra == "datadoc"
|
|
27
35
|
Requires-Dist: tripper[pre-commit, docs] ; extra == "dev"
|
|
36
|
+
Requires-Dist: virtualenvwrapper>=4.0.0 ; extra == "dev"
|
|
28
37
|
Requires-Dist: tripper[testing] ; extra == "docs"
|
|
29
38
|
Requires-Dist: mike==2.1.3 ; extra == "docs"
|
|
30
39
|
Requires-Dist: mkdocs==1.6.1 ; extra == "docs"
|
|
@@ -36,26 +45,21 @@ Requires-Dist: mkdocstrings==0.27.0 ; extra == "docs"
|
|
|
36
45
|
Requires-Dist: mkdocstrings-python-legacy==0.2.4 ; extra == "docs"
|
|
37
46
|
Requires-Dist: tripper[units] ; extra == "mappings"
|
|
38
47
|
Requires-Dist: pre-commit==4.0.1 ; extra == "pre-commit"
|
|
39
|
-
Requires-Dist: pylint==3.3.4 ; extra == "pre-commit"
|
|
40
|
-
Requires-Dist: tripper[datadoc,
|
|
41
|
-
Requires-Dist: dlite-python>=0.5.27 ; extra == "testing" and ( python_version>='3.8')
|
|
42
|
-
Requires-Dist: emmontopy>=0.5.0,<0.7.1 ; extra == "testing" and ( python_version<'3.13')
|
|
43
|
-
Requires-Dist: graphviz>=0.20.1,<0.20.2 ; extra == "testing"
|
|
44
|
-
Requires-Dist: numpy<2.1.0 ; extra == "testing" and ( python_version>='3.13')
|
|
45
|
-
Requires-Dist: rdflib>=6.3.0,<7.0.0 ; extra == "testing"
|
|
46
|
-
Requires-Dist: sparqlwrapper>=2.0.0,<2.0.1 ; extra == "testing"
|
|
48
|
+
Requires-Dist: pylint==3.3.4 ; extra == "pre-commit" and ( python_version>='3.9')
|
|
49
|
+
Requires-Dist: tripper[datadoc, backends, testing-core] ; extra == "testing"
|
|
47
50
|
Requires-Dist: pytest==8.3.4 ; extra == "testing-core"
|
|
48
51
|
Requires-Dist: pytest-cov==5.0.0 ; extra == "testing-core" and ( python_version<'3.9')
|
|
49
52
|
Requires-Dist: pytest-cov==6.0.0 ; extra == "testing-core" and ( python_version>='3.9')
|
|
50
53
|
Requires-Dist: pint>=0.21.1,<0.26 ; extra == "units" and ( python_version<'3.9')
|
|
51
54
|
Requires-Dist: pint>=0.24.1,<0.26 ; extra == "units" and ( python_version>='3.9')
|
|
52
|
-
Requires-Dist: rdflib>=6.3.0
|
|
55
|
+
Requires-Dist: rdflib>=6.3.0,<=7.6.0 ; extra == "units"
|
|
53
56
|
Project-URL: Changelog, https://github.com/EMMC-ASBL/tripper/blob/master/CHANGELOG.md
|
|
54
57
|
Project-URL: Documentation, https://EMMC-ASBL.github.io/tripper
|
|
55
58
|
Project-URL: Home, https://github.com/EMMC-ASBL/tripper
|
|
56
59
|
Project-URL: Issue Tracker, https://github.com/EMMC-ASBL/tripper/issues
|
|
57
60
|
Project-URL: Package, https://pypi.org/project/tripper
|
|
58
61
|
Project-URL: Source, https://github.com/EMMC-ASBL/tripper
|
|
62
|
+
Provides-Extra: backends
|
|
59
63
|
Provides-Extra: datadoc
|
|
60
64
|
Provides-Extra: dev
|
|
61
65
|
Provides-Extra: docs
|
|
@@ -69,7 +73,7 @@ Provides-Extra: units
|
|
|
69
73
|
|
|
70
74
|
[](https://pypi.org/project/tripper)
|
|
71
75
|
[](https://emmc-asbl.github.io/tripper/latest/)
|
|
72
|
-
[](https://github.com/EMMC-ASBL/tripper/actions/workflows/ci_tests.yml)
|
|
73
77
|
[](https://zenodo.org/badge/latestdoi/547162834)
|
|
74
78
|
|
|
75
79
|
*Triplestore wrapper for Python providing a simple and consistent interface to a range of triplestore backends*
|
|
@@ -93,10 +97,10 @@ It strives for simplicity and is modelled after [rdflib] (with a few simplificat
|
|
|
93
97
|
In Tripper:
|
|
94
98
|
|
|
95
99
|
* All IRIs are represented by Python strings.
|
|
96
|
-
Example: `
|
|
100
|
+
Example: `https://w3id.org/emmo#Metre`
|
|
97
101
|
|
|
98
|
-
* Blank nodes are strings starting with
|
|
99
|
-
Example: `
|
|
102
|
+
* Blank nodes are strings starting with `_:`.
|
|
103
|
+
Example: `_:bnode1`
|
|
100
104
|
|
|
101
105
|
* Literals are constructed with [`tripper.Literal`][Literal].
|
|
102
106
|
Example: `tripper.Literal(3.14, datatype=XSD.float)`
|
|
@@ -137,20 +141,40 @@ Installation
|
|
|
137
141
|
Tripper has by itself no dependencies outside the standard library, but the triplestore backends may have specific dependencies.
|
|
138
142
|
|
|
139
143
|
|
|
140
|
-
The package can be installed from [PyPI] using `pip
|
|
144
|
+
The package can be installed from [PyPI] using `pip`.
|
|
145
|
+
A minimal installation can be done with
|
|
141
146
|
|
|
142
147
|
```shell
|
|
143
148
|
pip install tripper
|
|
144
149
|
```
|
|
145
150
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
151
|
+
but typically, you would also like to install the requirements needed by the backends, the tripper sub-packages and extra features.
|
|
152
|
+
The requirements for the backends are listed in the table above, while sub-packages and extra features are enabled by specifying one or more of the "extras" listed in the table below when installing Tripper.
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
For example, the following command will install Tripper with the [tripper.datadoc] sub-package and the rdflib backend enabled:
|
|
149
156
|
|
|
150
157
|
```shell
|
|
151
|
-
pip install rdflib
|
|
158
|
+
pip install tripper[datadoc] rdflib
|
|
152
159
|
```
|
|
153
160
|
|
|
161
|
+
Developers should install Tripper with the `dev` extras and enable [pre-commit]:
|
|
162
|
+
|
|
163
|
+
```shell
|
|
164
|
+
pip install tripper[dev]
|
|
165
|
+
pre-commit install # Enable pre-commit and installing hooks
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
| Extras | Description of dependencies | Implies |
|
|
170
|
+
|----------|--------------------------------------------------------------------|------------------|
|
|
171
|
+
| units | Required by the [tripper.units] sub-package. | |
|
|
172
|
+
| mappings | Required by the [tripper.mappings] sub-package. | units |
|
|
173
|
+
| datadoc | Required by the [tripper.datadoc] sub-package. | mappings |
|
|
174
|
+
| backends | Installs dependencies for all backends | |
|
|
175
|
+
| testing | For testing. | datadoc,backends |
|
|
176
|
+
| docs | For generation of documentation | testing |
|
|
177
|
+
| dev | For developers. Installs all dependencies, including [pre-commit]. | dev |
|
|
154
178
|
|
|
155
179
|
|
|
156
180
|
|
|
@@ -200,4 +224,5 @@ We gratefully acknowledge the following projects for supporting the development
|
|
|
200
224
|
[StarDog]: https://www.stardog.com/
|
|
201
225
|
[GraphDB]: https://www.ontotext.com/products/graphdb/
|
|
202
226
|
[Pint]: https://pint.readthedocs.io/en/stable/
|
|
227
|
+
[pre-commit]: https://pre-commit.com/
|
|
203
228
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://pypi.org/project/tripper)
|
|
4
4
|
[](https://emmc-asbl.github.io/tripper/latest/)
|
|
5
|
-
[](https://github.com/EMMC-ASBL/tripper/actions/workflows/ci_tests.yml)
|
|
6
6
|
[](https://zenodo.org/badge/latestdoi/547162834)
|
|
7
7
|
|
|
8
8
|
*Triplestore wrapper for Python providing a simple and consistent interface to a range of triplestore backends*
|
|
@@ -26,10 +26,10 @@ It strives for simplicity and is modelled after [rdflib] (with a few simplificat
|
|
|
26
26
|
In Tripper:
|
|
27
27
|
|
|
28
28
|
* All IRIs are represented by Python strings.
|
|
29
|
-
Example: `
|
|
29
|
+
Example: `https://w3id.org/emmo#Metre`
|
|
30
30
|
|
|
31
|
-
* Blank nodes are strings starting with
|
|
32
|
-
Example: `
|
|
31
|
+
* Blank nodes are strings starting with `_:`.
|
|
32
|
+
Example: `_:bnode1`
|
|
33
33
|
|
|
34
34
|
* Literals are constructed with [`tripper.Literal`][Literal].
|
|
35
35
|
Example: `tripper.Literal(3.14, datatype=XSD.float)`
|
|
@@ -70,20 +70,40 @@ Installation
|
|
|
70
70
|
Tripper has by itself no dependencies outside the standard library, but the triplestore backends may have specific dependencies.
|
|
71
71
|
|
|
72
72
|
|
|
73
|
-
The package can be installed from [PyPI] using `pip
|
|
73
|
+
The package can be installed from [PyPI] using `pip`.
|
|
74
|
+
A minimal installation can be done with
|
|
74
75
|
|
|
75
76
|
```shell
|
|
76
77
|
pip install tripper
|
|
77
78
|
```
|
|
78
79
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
80
|
+
but typically, you would also like to install the requirements needed by the backends, the tripper sub-packages and extra features.
|
|
81
|
+
The requirements for the backends are listed in the table above, while sub-packages and extra features are enabled by specifying one or more of the "extras" listed in the table below when installing Tripper.
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
For example, the following command will install Tripper with the [tripper.datadoc] sub-package and the rdflib backend enabled:
|
|
82
85
|
|
|
83
86
|
```shell
|
|
84
|
-
pip install rdflib
|
|
87
|
+
pip install tripper[datadoc] rdflib
|
|
85
88
|
```
|
|
86
89
|
|
|
90
|
+
Developers should install Tripper with the `dev` extras and enable [pre-commit]:
|
|
91
|
+
|
|
92
|
+
```shell
|
|
93
|
+
pip install tripper[dev]
|
|
94
|
+
pre-commit install # Enable pre-commit and installing hooks
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
| Extras | Description of dependencies | Implies |
|
|
99
|
+
|----------|--------------------------------------------------------------------|------------------|
|
|
100
|
+
| units | Required by the [tripper.units] sub-package. | |
|
|
101
|
+
| mappings | Required by the [tripper.mappings] sub-package. | units |
|
|
102
|
+
| datadoc | Required by the [tripper.datadoc] sub-package. | mappings |
|
|
103
|
+
| backends | Installs dependencies for all backends | |
|
|
104
|
+
| testing | For testing. | datadoc,backends |
|
|
105
|
+
| docs | For generation of documentation | testing |
|
|
106
|
+
| dev | For developers. Installs all dependencies, including [pre-commit]. | dev |
|
|
87
107
|
|
|
88
108
|
|
|
89
109
|
|
|
@@ -133,3 +153,4 @@ We gratefully acknowledge the following projects for supporting the development
|
|
|
133
153
|
[StarDog]: https://www.stardog.com/
|
|
134
154
|
[GraphDB]: https://www.ontotext.com/products/graphdb/
|
|
135
155
|
[Pint]: https://pint.readthedocs.io/en/stable/
|
|
156
|
+
[pre-commit]: https://pre-commit.com/
|