tripper 0.3.3__tar.gz → 0.4.0__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.
Files changed (133) hide show
  1. {tripper-0.3.3 → tripper-0.4.0}/.github/workflows/cd_release.yml +1 -1
  2. {tripper-0.3.3 → tripper-0.4.0}/.github/workflows/ci_automerge_dependency_prs.yml +1 -1
  3. {tripper-0.3.3 → tripper-0.4.0}/.github/workflows/ci_cd_updated_main.yml +1 -1
  4. {tripper-0.3.3 → tripper-0.4.0}/.github/workflows/ci_check_dependencies.yml +1 -1
  5. {tripper-0.3.3 → tripper-0.4.0}/.github/workflows/ci_tests.yml +6 -4
  6. {tripper-0.3.3 → tripper-0.4.0}/.github/workflows/ci_update_dependencies.yml +1 -1
  7. {tripper-0.3.3 → tripper-0.4.0}/.gitignore +4 -0
  8. {tripper-0.3.3 → tripper-0.4.0}/.pre-commit-config.yaml +6 -6
  9. {tripper-0.3.3 → tripper-0.4.0}/CHANGELOG.md +61 -6
  10. {tripper-0.3.3 → tripper-0.4.0}/PKG-INFO +43 -49
  11. {tripper-0.3.3 → tripper-0.4.0}/README.md +14 -8
  12. tripper-0.4.0/docs/api_reference/datadoc/.pages +1 -0
  13. tripper-0.4.0/docs/api_reference/datadoc/clitool.md +3 -0
  14. tripper-0.4.0/docs/api_reference/datadoc/dataaccess.md +3 -0
  15. tripper-0.4.0/docs/api_reference/datadoc/dataset.md +3 -0
  16. tripper-0.4.0/docs/api_reference/datadoc/tabledoc.md +3 -0
  17. tripper-0.4.0/docs/api_reference/triplestore_extend.md +3 -0
  18. tripper-0.4.0/docs/datadoc/customisation.md +250 -0
  19. tripper-0.4.0/docs/datadoc/documenting-a-resource.md +215 -0
  20. tripper-0.4.0/docs/datadoc/introduction.md +67 -0
  21. tripper-0.4.0/docs/datadoc/keywords.md +228 -0
  22. tripper-0.4.0/docs/datadoc/prefixes.md +28 -0
  23. {tripper-0.3.3 → tripper-0.4.0}/docs/developers.md +12 -1
  24. tripper-0.4.0/docs/figs/.gitignore +1 -0
  25. tripper-0.4.0/docs/figs/dataset-Consumer.png +0 -0
  26. tripper-0.4.0/docs/figs/dataset-Consumer1.png +0 -0
  27. tripper-0.4.0/docs/figs/dataset-Consumer2.png +0 -0
  28. tripper-0.4.0/docs/figs/dataset-Dataset.png +0 -0
  29. tripper-0.4.0/docs/figs/dataset-Provider.png +0 -0
  30. tripper-0.4.0/docs/figs/dataset.drawio +3142 -0
  31. tripper-0.4.0/docs/figs/semdata.png +0 -0
  32. {tripper-0.3.3 → tripper-0.4.0}/docs/index.md +14 -8
  33. tripper-0.4.0/docs/tools/datadoc.md +425 -0
  34. {tripper-0.3.3 → tripper-0.4.0}/docs/tutorial.md +1 -1
  35. {tripper-0.3.3 → tripper-0.4.0}/mkdocs.yml +26 -1
  36. {tripper-0.3.3 → tripper-0.4.0}/pyproject.toml +37 -49
  37. {tripper-0.3.3 → tripper-0.4.0}/tests/backends/test_collection.py +2 -0
  38. {tripper-0.3.3 → tripper-0.4.0}/tests/backends/test_rdflib.py +2 -0
  39. tripper-0.4.0/tests/backends/test_sparqlwrapper.py +46 -0
  40. {tripper-0.3.3 → tripper-0.4.0}/tests/conftest.py +2 -0
  41. tripper-0.3.3/tripper/testutils.py → tripper-0.4.0/tests/datadoc/dataset_paths.py +3 -3
  42. tripper-0.4.0/tests/datadoc/test_dataaccess.py +140 -0
  43. tripper-0.4.0/tests/datadoc/test_dataset.py +388 -0
  44. tripper-0.4.0/tests/datadoc/test_tabledoc.py +221 -0
  45. tripper-0.4.0/tests/input/77600-23-001_5kV_400x_m001.tif +0 -0
  46. tripper-0.4.0/tests/input/custom_context.yaml +42 -0
  47. tripper-0.4.0/tests/input/openfile.txt +1 -0
  48. tripper-0.4.0/tests/input/semdata-context.json +18 -0
  49. tripper-0.4.0/tests/input/semdata.csv +5 -0
  50. tripper-0.4.0/tests/input/semdata.yaml +87 -0
  51. tripper-0.4.0/tests/input/tem.csv +4 -0
  52. tripper-0.4.0/tests/mappings/test_cost.py +33 -0
  53. tripper-0.4.0/tests/output/.gitignore +6 -0
  54. tripper-0.4.0/tests/paths.py +12 -0
  55. {tripper-0.3.3 → tripper-0.4.0}/tests/test_add_function.py +1 -1
  56. tripper-0.4.0/tests/test_custom_backend.py +16 -0
  57. tripper-0.4.0/tests/test_eval_function.py +56 -0
  58. {tripper-0.3.3 → tripper-0.4.0}/tests/test_get_data.py +1 -1
  59. {tripper-0.3.3 → tripper-0.4.0}/tests/test_literals.py +27 -3
  60. {tripper-0.3.3 → tripper-0.4.0}/tests/test_namespace.py +9 -4
  61. {tripper-0.3.3 → tripper-0.4.0}/tests/test_sparql.py +2 -2
  62. {tripper-0.3.3 → tripper-0.4.0}/tests/test_triplestore.py +108 -6
  63. {tripper-0.3.3 → tripper-0.4.0}/tests/test_utils.py +60 -2
  64. {tripper-0.3.3 → tripper-0.4.0}/tripper/__init__.py +18 -3
  65. {tripper-0.3.3 → tripper-0.4.0}/tripper/backends/collection.py +8 -12
  66. {tripper-0.3.3 → tripper-0.4.0}/tripper/backends/ontopy.py +2 -0
  67. {tripper-0.3.3 → tripper-0.4.0}/tripper/backends/rdflib.py +2 -0
  68. {tripper-0.3.3 → tripper-0.4.0}/tripper/backends/sparqlwrapper.py +78 -7
  69. tripper-0.4.0/tripper/context/0.2/context.json +175 -0
  70. {tripper-0.3.3 → tripper-0.4.0}/tripper/convert/convert.py +40 -6
  71. tripper-0.4.0/tripper/datadoc/__init__.py +15 -0
  72. tripper-0.4.0/tripper/datadoc/clitool.py +305 -0
  73. tripper-0.4.0/tripper/datadoc/dataaccess.py +257 -0
  74. tripper-0.4.0/tripper/datadoc/dataset.py +994 -0
  75. tripper-0.4.0/tripper/datadoc/tabledoc.py +314 -0
  76. tripper-0.4.0/tripper/errors.py +43 -0
  77. {tripper-0.3.3 → tripper-0.4.0}/tripper/interface.py +4 -0
  78. {tripper-0.3.3 → tripper-0.4.0}/tripper/literal.py +12 -4
  79. {tripper-0.3.3 → tripper-0.4.0}/tripper/namespace.py +23 -6
  80. {tripper-0.3.3 → tripper-0.4.0}/tripper/triplestore.py +150 -59
  81. tripper-0.3.3/tripper/tripper.py → tripper-0.4.0/tripper/triplestore_extend.py +3 -4
  82. {tripper-0.3.3 → tripper-0.4.0}/tripper/utils.py +83 -1
  83. tripper-0.3.3/docs/api_reference/testutils.md +0 -3
  84. tripper-0.3.3/docs/api_reference/tripper.md +0 -3
  85. tripper-0.3.3/tests/mappings/test_cost.py +0 -30
  86. tripper-0.3.3/tests/output/.gitignore +0 -1
  87. tripper-0.3.3/tests/test_custom_backend.py +0 -11
  88. tripper-0.3.3/tests/test_eval_function.py +0 -54
  89. tripper-0.3.3/tripper/errors.py +0 -35
  90. {tripper-0.3.3 → tripper-0.4.0}/.github/dependabot.yml +0 -0
  91. {tripper-0.3.3 → tripper-0.4.0}/.github/pull_request_template.md +0 -0
  92. {tripper-0.3.3 → tripper-0.4.0}/LICENSE +0 -0
  93. {tripper-0.3.3 → tripper-0.4.0}/docs/CHANGELOG.md +0 -0
  94. {tripper-0.3.3 → tripper-0.4.0}/docs/LICENSE.md +0 -0
  95. {tripper-0.3.3 → tripper-0.4.0}/docs/api_reference/.pages +0 -0
  96. {tripper-0.3.3 → tripper-0.4.0}/docs/api_reference/backends/.pages +0 -0
  97. {tripper-0.3.3 → tripper-0.4.0}/docs/api_reference/backends/collection.md +0 -0
  98. {tripper-0.3.3 → tripper-0.4.0}/docs/api_reference/backends/ontopy.md +0 -0
  99. {tripper-0.3.3 → tripper-0.4.0}/docs/api_reference/backends/rdflib.md +0 -0
  100. {tripper-0.3.3 → tripper-0.4.0}/docs/api_reference/backends/sparqlwrapper.md +0 -0
  101. {tripper-0.3.3 → tripper-0.4.0}/docs/api_reference/convert/.pages +0 -0
  102. {tripper-0.3.3 → tripper-0.4.0}/docs/api_reference/convert/convert.md +0 -0
  103. {tripper-0.3.3 → tripper-0.4.0}/docs/api_reference/errors.md +0 -0
  104. {tripper-0.3.3 → tripper-0.4.0}/docs/api_reference/interface.md +0 -0
  105. {tripper-0.3.3 → tripper-0.4.0}/docs/api_reference/literal.md +0 -0
  106. {tripper-0.3.3 → tripper-0.4.0}/docs/api_reference/mappings/.pages +0 -0
  107. {tripper-0.3.3 → tripper-0.4.0}/docs/api_reference/mappings/mappings.md +0 -0
  108. {tripper-0.3.3 → tripper-0.4.0}/docs/api_reference/namespace.md +0 -0
  109. {tripper-0.3.3 → tripper-0.4.0}/docs/api_reference/triplestore.md +0 -0
  110. {tripper-0.3.3 → tripper-0.4.0}/docs/api_reference/utils.md +0 -0
  111. {tripper-0.3.3 → tripper-0.4.0}/docs/backend_discovery.md +0 -0
  112. {tripper-0.3.3 → tripper-0.4.0}/docs/css/reference.css +0 -0
  113. {tripper-0.3.3 → tripper-0.4.0}/docs/known-issues.md +0 -0
  114. {tripper-0.3.3 → tripper-0.4.0}/docs/mappings/figs/function_emmo.svg +0 -0
  115. {tripper-0.3.3 → tripper-0.4.0}/docs/planned-backends.md +0 -0
  116. {tripper-0.3.3 → tripper-0.4.0}/examples/workflow-mappings/README.md +0 -0
  117. {tripper-0.3.3 → tripper-0.4.0}/examples/workflow-mappings/knowledge-base.svg +0 -0
  118. {tripper-0.3.3 → tripper-0.4.0}/examples/workflow-mappings/route.svg +0 -0
  119. {tripper-0.3.3 → tripper-0.4.0}/examples/workflow-mappings/workflow.svg +0 -0
  120. {tripper-0.3.3 → tripper-0.4.0}/examples/workflow-mappings/workflow_mappings.py +0 -0
  121. {tripper-0.3.3 → tripper-0.4.0}/examples/workflow-mappings/workflow_w_pipes.svg +0 -0
  122. {tripper-0.3.3 → tripper-0.4.0}/tests/backends/__init__.py +0 -0
  123. {tripper-0.3.3 → tripper-0.4.0}/tests/backends/dummy.py +0 -0
  124. {tripper-0.3.3 → tripper-0.4.0}/tests/convert/test_convert.py +0 -0
  125. {tripper-0.3.3 → tripper-0.4.0}/tests/mappings/test_function.py +0 -0
  126. {tripper-0.3.3 → tripper-0.4.0}/tests/mappings/test_mappings.py +0 -0
  127. {tripper-0.3.3 → tripper-0.4.0}/tests/ontologies/family.ttl +0 -0
  128. {tripper-0.3.3 → tripper-0.4.0}/tests/ontologies/food-more.ttl +0 -0
  129. {tripper-0.3.3 → tripper-0.4.0}/tests/ontologies/food.ttl +0 -0
  130. {tripper-0.3.3 → tripper-0.4.0}/tripper/backends/__init__.py +0 -0
  131. {tripper-0.3.3 → tripper-0.4.0}/tripper/convert/__init__.py +0 -0
  132. {tripper-0.3.3 → tripper-0.4.0}/tripper/mappings/__init__.py +0 -0
  133. {tripper-0.3.3 → tripper-0.4.0}/tripper/mappings/mappings.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.8.2
11
+ uses: SINTEF/ci-cd/.github/workflows/cd_release.yml@v2.9.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.8.2
10
+ uses: SINTEF/ci-cd/.github/workflows/ci_automerge_prs.yml@v2.9.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.8.2
10
+ uses: SINTEF/ci-cd/.github/workflows/ci_cd_updated_default_branch.yml@v2.9.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.8.2
12
+ uses: SINTEF/ci-cd/.github/workflows/ci_check_pyproject_dependencies.yml@v2.9.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.8.2
13
+ uses: SINTEF/ci-cd/.github/workflows/ci_tests.yml@v2.9.0
14
14
  with:
15
15
  ## General settings:
16
16
  install_extras: "[dev]"
@@ -36,12 +36,14 @@ jobs:
36
36
  # https://pyup.io/vulnerabilities/CVE-2021-34141/44717/
37
37
  # 70612: Jinja2 vulnerability. Only used as subdependency for mkdocs++ in tripper.
38
38
  # https://data.safetycli.com/v/70612/97c/
39
+ # https://data.safetycli.com/v/72715/97c/ # update to mkdocs>=9.5.32
39
40
  safety_options: |
40
41
  --ignore=48547
41
42
  --ignore=44715
42
43
  --ignore=44716
43
44
  --ignore=44717
44
45
  --ignore=70612
46
+ --ignore=72715
45
47
 
46
48
  ## Build package
47
49
  run_build_package: true
@@ -66,7 +68,7 @@ jobs:
66
68
  strategy:
67
69
  fail-fast: false
68
70
  matrix:
69
- python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
71
+ python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
70
72
 
71
73
  steps:
72
74
  - name: Checkout tripper
@@ -92,7 +94,7 @@ jobs:
92
94
 
93
95
  - name: Upload coverage to Codecov
94
96
  if: matrix.python-version == '3.9' && github.repository == 'EMMC-ASBL/tripper'
95
- uses: codecov/codecov-action@v4
97
+ uses: codecov/codecov-action@v5
96
98
  with:
97
99
  token: ${{ secrets.CODECOV_TOKEN }}
98
100
 
@@ -105,7 +107,7 @@ jobs:
105
107
  strategy:
106
108
  fail-fast: false
107
109
  matrix:
108
- python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
110
+ python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
109
111
 
110
112
  steps:
111
113
  - 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.8.2
12
+ uses: SINTEF/ci-cd/.github/workflows/ci_update_dependencies.yml@v2.9.0
13
13
  if: github.repository_owner == 'EMMC-ASBL'
14
14
  with:
15
15
  git_username: "TEAM 4.0[bot]"
@@ -15,3 +15,7 @@ site/
15
15
 
16
16
  # Build
17
17
  dist/
18
+
19
+ # Test output
20
+ route.svg
21
+ coverage.xml
@@ -19,7 +19,7 @@ ci:
19
19
  # hooks
20
20
  repos:
21
21
  - repo: https://github.com/pre-commit/pre-commit-hooks
22
- rev: v4.6.0
22
+ rev: v5.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: 5.13.2
35
+ rev: 6.0.0
36
36
  hooks:
37
37
  - id: isort
38
38
  args:
@@ -41,20 +41,20 @@ repos:
41
41
  - --skip-gitignore
42
42
 
43
43
  - repo: https://github.com/psf/black
44
- rev: 24.8.0
44
+ rev: 25.1.0
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.7.9
50
+ rev: 1.8.2
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.11.1
57
+ rev: v1.14.1
58
58
  hooks:
59
59
  - id: mypy
60
60
  exclude: ^tests/.*$
@@ -63,7 +63,7 @@ repos:
63
63
  - "pydantic"
64
64
 
65
65
  - repo: https://github.com/SINTEF/ci-cd
66
- rev: v2.8.2
66
+ rev: v2.9.0
67
67
  hooks:
68
68
  - id: docs-api-reference
69
69
  args:
@@ -1,23 +1,78 @@
1
1
  # Changelog
2
2
 
3
- ## [Unreleased](https://github.com/EMMC-ASBL/tripper/tree/HEAD)
3
+ ## [v0.4.0](https://github.com/EMMC-ASBL/tripper/tree/v0.4.0) (2025-02-10)
4
4
 
5
- [Full Changelog](https://github.com/EMMC-ASBL/tripper/compare/v0.3.3...HEAD)
5
+ [Full Changelog](https://github.com/EMMC-ASBL/tripper/compare/v0.3.4...v0.4.0)
6
6
 
7
- **Implemented enhancements:**
7
+ **Closed issues:**
8
8
 
9
- - Use Trusted Publishers for PyPI [\#242](https://github.com/EMMC-ASBL/tripper/issues/242)
9
+ - Clean up documentation [\#302](https://github.com/EMMC-ASBL/tripper/issues/302)
10
+ - Make datadoc windows compatible [\#301](https://github.com/EMMC-ASBL/tripper/issues/301)
10
11
 
11
- **Closed issues:**
12
+ **Merged pull requests:**
12
13
 
13
- - Add instructions of how to release a new version [\#47](https://github.com/EMMC-ASBL/tripper/issues/47)
14
+ - \[pre-commit.ci\] pre-commit autoupdate [\#317](https://github.com/EMMC-ASBL/tripper/pull/317) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
15
+ - Add updateEndpoint to SPARQLwrapper [\#313](https://github.com/EMMC-ASBL/tripper/pull/313) ([torhaugl](https://github.com/torhaugl))
16
+ - Updated the readme file [\#311](https://github.com/EMMC-ASBL/tripper/pull/311) ([jesper-friis](https://github.com/jesper-friis))
17
+ - Drop support for Python 3.7 [\#310](https://github.com/EMMC-ASBL/tripper/pull/310) ([jesper-friis](https://github.com/jesper-friis))
18
+ - Include prefixes from context when populating a triplestore from a csv file [\#309](https://github.com/EMMC-ASBL/tripper/pull/309) ([jesper-friis](https://github.com/jesper-friis))
19
+ - Added support for username/password for sparqlwrapper [\#308](https://github.com/EMMC-ASBL/tripper/pull/308) ([jesper-friis](https://github.com/jesper-friis))
20
+ - Implementing regex search [\#307](https://github.com/EMMC-ASBL/tripper/pull/307) ([jesper-friis](https://github.com/jesper-friis))
21
+ - \[pre-commit.ci\] pre-commit autoupdate [\#306](https://github.com/EMMC-ASBL/tripper/pull/306) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
22
+ - Rename dataset [\#304](https://github.com/EMMC-ASBL/tripper/pull/304) ([jesper-friis](https://github.com/jesper-friis))
23
+ - Change pathlib to be pathlib and not as uri. This fixes opening in wi… [\#303](https://github.com/EMMC-ASBL/tripper/pull/303) ([francescalb](https://github.com/francescalb))
24
+ - Added fixes for the demonstration at the PINK demo [\#299](https://github.com/EMMC-ASBL/tripper/pull/299) ([jesper-friis](https://github.com/jesper-friis))
25
+ - Renamed the dataset subpackage to datadoc [\#298](https://github.com/EMMC-ASBL/tripper/pull/298) ([jesper-friis](https://github.com/jesper-friis))
26
+ - \[pre-commit.ci\] pre-commit autoupdate [\#287](https://github.com/EMMC-ASBL/tripper/pull/287) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
27
+ - Make datasets with a datamodel an individual of the datamodel [\#286](https://github.com/EMMC-ASBL/tripper/pull/286) ([jesper-friis](https://github.com/jesper-friis))
28
+ - Re-applied fixes from testing datadoc on a use case for PINK. [\#285](https://github.com/EMMC-ASBL/tripper/pull/285) ([jesper-friis](https://github.com/jesper-friis))
29
+ - Command-line datadoc script [\#281](https://github.com/EMMC-ASBL/tripper/pull/281) ([jesper-friis](https://github.com/jesper-friis))
30
+ - Added documentation for datasets [\#280](https://github.com/EMMC-ASBL/tripper/pull/280) ([jesper-friis](https://github.com/jesper-friis))
31
+ - Dataset TODOs [\#279](https://github.com/EMMC-ASBL/tripper/pull/279) ([jesper-friis](https://github.com/jesper-friis))
32
+ - \[pre-commit.ci\] pre-commit autoupdate [\#277](https://github.com/EMMC-ASBL/tripper/pull/277) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
33
+ - Added csv parser to Tabledoc [\#275](https://github.com/EMMC-ASBL/tripper/pull/275) ([jesper-friis](https://github.com/jesper-friis))
34
+ - Updated dataset figures [\#274](https://github.com/EMMC-ASBL/tripper/pull/274) ([jesper-friis](https://github.com/jesper-friis))
35
+ - New TableDoc class providing a table interface for data documentation [\#273](https://github.com/EMMC-ASBL/tripper/pull/273) ([jesper-friis](https://github.com/jesper-friis))
36
+ - Updated dataset module [\#272](https://github.com/EMMC-ASBL/tripper/pull/272) ([jesper-friis](https://github.com/jesper-friis))
37
+ - Corrected dataset module [\#271](https://github.com/EMMC-ASBL/tripper/pull/271) ([jesper-friis](https://github.com/jesper-friis))
38
+ - Add query to SPARQLwrapper strategy [\#269](https://github.com/EMMC-ASBL/tripper/pull/269) ([torhaugl](https://github.com/torhaugl))
39
+ - \[pre-commit.ci\] pre-commit autoupdate [\#268](https://github.com/EMMC-ASBL/tripper/pull/268) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
40
+ - Add support for Python 3.13 [\#266](https://github.com/EMMC-ASBL/tripper/pull/266) ([jesper-friis](https://github.com/jesper-friis))
41
+ - Updated requirements to allow Pint 0.24, which in turn opens for NumPy 2 [\#265](https://github.com/EMMC-ASBL/tripper/pull/265) ([jesper-friis](https://github.com/jesper-friis))
42
+ - Updated documentation format for better rendering [\#262](https://github.com/EMMC-ASBL/tripper/pull/262) ([jesper-friis](https://github.com/jesper-friis))
43
+ - Predefined EMMO namespace with checking and label lookup [\#261](https://github.com/EMMC-ASBL/tripper/pull/261) ([jesper-friis](https://github.com/jesper-friis))
44
+ - \[pre-commit.ci\] pre-commit autoupdate [\#259](https://github.com/EMMC-ASBL/tripper/pull/259) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
45
+ - \[pre-commit.ci\] pre-commit autoupdate [\#258](https://github.com/EMMC-ASBL/tripper/pull/258) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
46
+ - Dataset [\#256](https://github.com/EMMC-ASBL/tripper/pull/256) ([jesper-friis](https://github.com/jesper-friis))
47
+
48
+ ## [v0.3.4](https://github.com/EMMC-ASBL/tripper/tree/v0.3.4) (2024-10-17)
49
+
50
+ [Full Changelog](https://github.com/EMMC-ASBL/tripper/compare/v0.3.3...v0.3.4)
51
+
52
+ **Merged pull requests:**
53
+
54
+ - Allowing backends to indicate whether they prefer the sparql interface [\#255](https://github.com/EMMC-ASBL/tripper/pull/255) ([jesper-friis](https://github.com/jesper-friis))
55
+ - \[pre-commit.ci\] pre-commit autoupdate [\#254](https://github.com/EMMC-ASBL/tripper/pull/254) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
56
+ - Update n3 format for string with quotes. [\#253](https://github.com/EMMC-ASBL/tripper/pull/253) ([pintr](https://github.com/pintr))
57
+ - Added option to Triplestore.value\(\) to return a generator over all matching values [\#252](https://github.com/EMMC-ASBL/tripper/pull/252) ([jesper-friis](https://github.com/jesper-friis))
58
+ - Ignore safety vulnerabeility 72715 [\#251](https://github.com/EMMC-ASBL/tripper/pull/251) ([jesper-friis](https://github.com/jesper-friis))
59
+ - Fix empty prefix [\#250](https://github.com/EMMC-ASBL/tripper/pull/250) ([jesper-friis](https://github.com/jesper-friis))
60
+ - \[pre-commit.ci\] pre-commit autoupdate [\#249](https://github.com/EMMC-ASBL/tripper/pull/249) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
61
+ - Backend info to triplestore instance [\#248](https://github.com/EMMC-ASBL/tripper/pull/248) ([jesper-friis](https://github.com/jesper-friis))
62
+ - Added argument `ignore_unrecognised` to tripper.convert\(\) [\#247](https://github.com/EMMC-ASBL/tripper/pull/247) ([jesper-friis](https://github.com/jesper-friis))
63
+ - \[pre-commit.ci\] pre-commit autoupdate [\#244](https://github.com/EMMC-ASBL/tripper/pull/244) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
14
64
 
15
65
  ## [v0.3.3](https://github.com/EMMC-ASBL/tripper/tree/v0.3.3) (2024-08-26)
16
66
 
17
67
  [Full Changelog](https://github.com/EMMC-ASBL/tripper/compare/v0.3.2...v0.3.3)
18
68
 
69
+ **Implemented enhancements:**
70
+
71
+ - Use Trusted Publishers for PyPI [\#242](https://github.com/EMMC-ASBL/tripper/issues/242)
72
+
19
73
  **Closed issues:**
20
74
 
75
+ - Add instructions of how to release a new version [\#47](https://github.com/EMMC-ASBL/tripper/issues/47)
21
76
  - Update Python API references in README [\#22](https://github.com/EMMC-ASBL/tripper/issues/22)
22
77
 
23
78
  **Merged pull requests:**
@@ -1,62 +1,48 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.3
2
2
  Name: tripper
3
- Version: 0.3.3
3
+ Version: 0.4.0
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
7
+ Requires-Python: >=3.8
8
8
  Description-Content-Type: text/markdown
9
9
  Classifier: Development Status :: 2 - Pre-Alpha
10
10
  Classifier: License :: OSI Approved :: MIT License
11
11
  Classifier: Programming Language :: Python :: 3
12
- Classifier: Programming Language :: Python :: 3.7
13
12
  Classifier: Programming Language :: Python :: 3.8
14
13
  Classifier: Programming Language :: Python :: 3.9
15
14
  Classifier: Programming Language :: Python :: 3.10
16
15
  Classifier: Programming Language :: Python :: 3.11
17
16
  Classifier: Programming Language :: Python :: 3.12
17
+ Classifier: Programming Language :: Python :: 3.13
18
18
  Classifier: Environment :: Plugins
19
19
  Classifier: Natural Language :: English
20
20
  Classifier: Operating System :: OS Independent
21
- Requires-Dist: typing-extensions>=4.7.0,<4.7.1; python_version<'3.8'
22
- Requires-Dist: pint>=0.16.1,<0.24
23
- Requires-Dist: pre-commit==2.21.0 ; extra == "dev"
24
- Requires-Dist: pylint==2.15.5 ; extra == "dev"
25
- Requires-Dist: pytest==7.4.4 ; extra == "dev"
26
- Requires-Dist: pytest-cov==4.1.0 ; extra == "dev"
27
- Requires-Dist: EMMOntoPy>=0.5.0,<0.7.1 ; extra == "dev"
28
- Requires-Dist: rdflib>=6.3.0,<7.0.0 ; extra == "dev"
29
- Requires-Dist: SPARQLWrapper>=2.0.0,<2.0.1 ; extra == "dev"
30
- Requires-Dist: DLite-Python>=0.5.1,<0.5.17 ; extra == "dev"
31
- Requires-Dist: graphviz>=0.20.1,<0.20.2 ; extra == "dev"
32
- Requires-Dist: mike==2.1.2 ; extra == "dev"
33
- Requires-Dist: mkdocs==1.5.3 ; extra == "dev"
34
- Requires-Dist: mkdocs-autorefs==0.4.1 ; extra == "dev"
35
- Requires-Dist: mkdocs-awesome-pages-plugin==2.9.2 ; extra == "dev"
36
- Requires-Dist: mkdocs-material==9.5.17 ; extra == "dev"
37
- Requires-Dist: mkdocstrings==0.22.0 ; extra == "dev"
38
- Requires-Dist: mkdocstrings-python-legacy==0.2.3 ; extra == "dev"
39
- Requires-Dist: EMMOntoPy>=0.5.0,<0.7.1 ; extra == "docs"
40
- Requires-Dist: rdflib>=6.3.0,<7.0.0 ; extra == "docs"
41
- Requires-Dist: SPARQLWrapper>=2.0.0,<2.0.1 ; extra == "docs"
42
- Requires-Dist: DLite-Python>=0.5.1,<0.5.17 ; extra == "docs"
43
- Requires-Dist: mike==2.1.2 ; extra == "docs"
44
- Requires-Dist: mkdocs==1.5.3 ; extra == "docs"
45
- Requires-Dist: mkdocs-autorefs==0.4.1 ; extra == "docs"
46
- Requires-Dist: mkdocs-awesome-pages-plugin==2.9.2 ; extra == "docs"
47
- Requires-Dist: mkdocs-material==9.5.17 ; extra == "docs"
48
- Requires-Dist: mkdocstrings==0.22.0 ; extra == "docs"
49
- Requires-Dist: mkdocstrings-python-legacy==0.2.3 ; extra == "docs"
50
- Requires-Dist: pre-commit==2.21.0 ; extra == "pre-commit"
21
+ Requires-Dist: typing-extensions>=4.7.0,<4.7.1; python_version<'3.9'
22
+ Requires-Dist: tripper[mappings] ; extra == "datadoc"
23
+ Requires-Dist: PyYaml>=3.0.0,<6.0.3 ; extra == "datadoc"
24
+ Requires-Dist: requests>=2.0.0,<3.4.1 ; extra == "datadoc"
25
+ Requires-Dist: tripper[pre-commit, docs] ; extra == "dev"
26
+ Requires-Dist: tripper[testing] ; extra == "docs"
27
+ Requires-Dist: mike==2.1.3 ; extra == "docs"
28
+ Requires-Dist: mkdocs==1.6.1 ; extra == "docs"
29
+ Requires-Dist: mkdocs-autorefs==1.2.0 ; extra == "docs"
30
+ Requires-Dist: mkdocs-awesome-pages-plugin==2.10.1 ; extra == "docs"
31
+ Requires-Dist: mkdocs-material==9.5.49 ; extra == "docs"
32
+ Requires-Dist: mkdocstrings==0.27.0 ; extra == "docs"
33
+ Requires-Dist: mkdocstrings-python-legacy==0.2.4 ; extra == "docs"
34
+ Requires-Dist: pint>=0.21.1,<1 ; extra == "mappings" and ( python_version<'3.9')
35
+ Requires-Dist: pint>=0.24,<1 ; extra == "mappings" and ( python_version>='3.9')
36
+ Requires-Dist: rdflib>=6.3.0,<7.0.0 ; extra == "mappings"
37
+ Requires-Dist: pre-commit==4.0.1 ; extra == "pre-commit"
51
38
  Requires-Dist: pylint==2.15.5 ; extra == "pre-commit"
52
- Requires-Dist: pint>=0.16.1,<0.24 ; extra == "testing"
53
- Requires-Dist: pytest==7.4.4 ; extra == "testing"
54
- Requires-Dist: pytest-cov==4.1.0 ; extra == "testing"
55
- Requires-Dist: EMMOntoPy>=0.5.0,<0.7.1 ; extra == "testing"
56
- Requires-Dist: rdflib>=6.3.0,<7.0.0 ; extra == "testing"
57
- Requires-Dist: SPARQLWrapper>=2.0.0,<2.0.1 ; extra == "testing"
58
- Requires-Dist: DLite-Python>=0.5.1,<0.5.17 ; extra == "testing"
39
+ Requires-Dist: tripper[testing-core, mappings, datadoc] ; extra == "testing"
40
+ Requires-Dist: dlite-python>=0.5.27 ; extra == "testing" and ( python_version>='3.8')
41
+ Requires-Dist: emmontopy>=0.5.0,<0.7.1 ; extra == "testing" and ( python_version<'3.13')
59
42
  Requires-Dist: graphviz>=0.20.1,<0.20.2 ; extra == "testing"
43
+ Requires-Dist: numpy<2.1.0 ; extra == "testing" and ( python_version>='3.13')
44
+ Requires-Dist: rdflib>=6.3.0,<7.0.0 ; extra == "testing"
45
+ Requires-Dist: sparqlwrapper>=2.0.0,<2.0.1 ; extra == "testing"
60
46
  Requires-Dist: pytest==7.4.4 ; extra == "testing-core"
61
47
  Requires-Dist: pytest-cov==4.1.0 ; extra == "testing-core"
62
48
  Project-URL: Changelog, https://github.com/EMMC-ASBL/tripper/blob/master/CHANGELOG.md
@@ -65,8 +51,10 @@ Project-URL: Home, https://github.com/EMMC-ASBL/tripper
65
51
  Project-URL: Issue Tracker, https://github.com/EMMC-ASBL/tripper/issues
66
52
  Project-URL: Package, https://pypi.org/project/tripper
67
53
  Project-URL: Source, https://github.com/EMMC-ASBL/tripper
54
+ Provides-Extra: datadoc
68
55
  Provides-Extra: dev
69
56
  Provides-Extra: docs
57
+ Provides-Extra: mappings
70
58
  Provides-Extra: pre-commit
71
59
  Provides-Extra: testing
72
60
  Provides-Extra: testing-core
@@ -85,7 +73,7 @@ Tripper
85
73
  Getting started
86
74
  ---------------
87
75
  * [Tutorial]
88
- * [Discovery of custom backends]
76
+ * [Documentation]
89
77
  * [Reference manual]
90
78
 
91
79
 
@@ -111,11 +99,13 @@ New namespaces can be defined with the [`tripper.Namespace`][Namespace] class.
111
99
  A triplestore wrapper is created with the [`tripper.Triplestore`][Triplestore] class.
112
100
 
113
101
 
114
- Advanced features
115
- -----------------
116
- The submodules `mappings` and `convert` provide additional functionality beyond interfacing triplestore backends:
117
- - **tripper.mappings**: traverse mappings stored in the triplestore and find possible mapping routes.
118
- - **tripper.convert**: convert between RDF and other data representations.
102
+ Sub-packages
103
+ ------------
104
+ Additional functionality beyond interfacing triplestore backends is provided by specialised sub-package:
105
+
106
+ * [tripper.datadoc]: An API for data documentation.
107
+ * [tripper.mappings]: Traverse mappings stored in the triplestore and find possible mapping routes.
108
+ * [tripper.convert]: Convert between RDF and other data representations.
119
109
 
120
110
 
121
111
  Available backends
@@ -128,9 +118,9 @@ The following backends are currently available, either in Tripper or other packa
128
118
  | ontopy | [tripper] | EMMOntoPy | Backend for [EMMOntoPy]. In-memory.
129
119
  | sparqlwrapper | [tripper] | sparqlwrapper | Generic backend for all triplestores supported by [sparqlwrapper].
130
120
  | collection | [tripper] | DLite-Python | Backend to a [DLite] collection.
121
+ | graphdb | [tripper] | sparqlwrapper | Backend to [GraphDB].
131
122
  | fuseki | [PyBackTrip] | sparqlwrapper | Backend to [fuseki].
132
123
  | stardog | [PyBackTrip] | sparqlwrapper,pystardog | Backend to [StarDog].
133
- | graphdb | [PyBackTrip] | sparqlwrapper | Backend to [GraphDB].
134
124
 
135
125
 
136
126
  Installation
@@ -177,8 +167,12 @@ We gratefully acknowledge the following projects for supporting the development
177
167
 
178
168
 
179
169
  [Tutorial]: https://emmc-asbl.github.io/tripper/latest/tutorial/
180
- [Discovery of custom backends]: https://emmc-asbl.github.io/tripper/latest/backend_discovery/
170
+ [Documentation]: https://emmc-asbl.github.io/tripper/latest/
181
171
  [Reference manual]: https://emmc-asbl.github.io/tripper/latest/api_reference/triplestore/
172
+ [Discovery of custom backends]: https://emmc-asbl.github.io/tripper/latest/backend_discovery/
173
+ [tripper.datadoc]: https://emmc-asbl.github.io/tripper/latest/datadoc/introduction/
174
+ [tripper.mappings]: https://emmc-asbl.github.io/tripper/latest/api_reference/mappings/mappings/
175
+ [tripper.convert]: https://emmc-asbl.github.io/tripper/latest/api_reference/convert/convert/
182
176
  [Known issues]: https://emmc-asbl.github.io/tripper/latest/known-issues/
183
177
  [MIT license]: https://emmc-asbl.github.io/tripper/latest/LICENSE/
184
178
  [tripper]: https://emmc-asbl.github.io/tripper
@@ -12,7 +12,7 @@ Tripper
12
12
  Getting started
13
13
  ---------------
14
14
  * [Tutorial]
15
- * [Discovery of custom backends]
15
+ * [Documentation]
16
16
  * [Reference manual]
17
17
 
18
18
 
@@ -38,11 +38,13 @@ New namespaces can be defined with the [`tripper.Namespace`][Namespace] class.
38
38
  A triplestore wrapper is created with the [`tripper.Triplestore`][Triplestore] class.
39
39
 
40
40
 
41
- Advanced features
42
- -----------------
43
- The submodules `mappings` and `convert` provide additional functionality beyond interfacing triplestore backends:
44
- - **tripper.mappings**: traverse mappings stored in the triplestore and find possible mapping routes.
45
- - **tripper.convert**: convert between RDF and other data representations.
41
+ Sub-packages
42
+ ------------
43
+ Additional functionality beyond interfacing triplestore backends is provided by specialised sub-package:
44
+
45
+ * [tripper.datadoc]: An API for data documentation.
46
+ * [tripper.mappings]: Traverse mappings stored in the triplestore and find possible mapping routes.
47
+ * [tripper.convert]: Convert between RDF and other data representations.
46
48
 
47
49
 
48
50
  Available backends
@@ -55,9 +57,9 @@ The following backends are currently available, either in Tripper or other packa
55
57
  | ontopy | [tripper] | EMMOntoPy | Backend for [EMMOntoPy]. In-memory.
56
58
  | sparqlwrapper | [tripper] | sparqlwrapper | Generic backend for all triplestores supported by [sparqlwrapper].
57
59
  | collection | [tripper] | DLite-Python | Backend to a [DLite] collection.
60
+ | graphdb | [tripper] | sparqlwrapper | Backend to [GraphDB].
58
61
  | fuseki | [PyBackTrip] | sparqlwrapper | Backend to [fuseki].
59
62
  | stardog | [PyBackTrip] | sparqlwrapper,pystardog | Backend to [StarDog].
60
- | graphdb | [PyBackTrip] | sparqlwrapper | Backend to [GraphDB].
61
63
 
62
64
 
63
65
  Installation
@@ -104,8 +106,12 @@ We gratefully acknowledge the following projects for supporting the development
104
106
 
105
107
 
106
108
  [Tutorial]: https://emmc-asbl.github.io/tripper/latest/tutorial/
107
- [Discovery of custom backends]: https://emmc-asbl.github.io/tripper/latest/backend_discovery/
109
+ [Documentation]: https://emmc-asbl.github.io/tripper/latest/
108
110
  [Reference manual]: https://emmc-asbl.github.io/tripper/latest/api_reference/triplestore/
111
+ [Discovery of custom backends]: https://emmc-asbl.github.io/tripper/latest/backend_discovery/
112
+ [tripper.datadoc]: https://emmc-asbl.github.io/tripper/latest/datadoc/introduction/
113
+ [tripper.mappings]: https://emmc-asbl.github.io/tripper/latest/api_reference/mappings/mappings/
114
+ [tripper.convert]: https://emmc-asbl.github.io/tripper/latest/api_reference/convert/convert/
109
115
  [Known issues]: https://emmc-asbl.github.io/tripper/latest/known-issues/
110
116
  [MIT license]: https://emmc-asbl.github.io/tripper/latest/LICENSE/
111
117
  [tripper]: https://emmc-asbl.github.io/tripper
@@ -0,0 +1 @@
1
+ title: "datadoc"
@@ -0,0 +1,3 @@
1
+ # clitool
2
+
3
+ ::: tripper.datadoc.clitool
@@ -0,0 +1,3 @@
1
+ # dataaccess
2
+
3
+ ::: tripper.datadoc.dataaccess
@@ -0,0 +1,3 @@
1
+ # dataset
2
+
3
+ ::: tripper.datadoc.dataset
@@ -0,0 +1,3 @@
1
+ # tabledoc
2
+
3
+ ::: tripper.datadoc.tabledoc
@@ -0,0 +1,3 @@
1
+ # triplestore_extend
2
+
3
+ ::: tripper.triplestore_extend