tripper 0.3.0__tar.gz → 0.3.4__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 (92) hide show
  1. {tripper-0.3.0 → tripper-0.3.4}/.github/workflows/cd_release.yml +26 -4
  2. {tripper-0.3.0 → tripper-0.3.4}/.github/workflows/ci_automerge_dependency_prs.yml +1 -1
  3. {tripper-0.3.0 → tripper-0.3.4}/.github/workflows/ci_cd_updated_main.yml +1 -1
  4. {tripper-0.3.0 → tripper-0.3.4}/.github/workflows/ci_check_dependencies.yml +1 -1
  5. {tripper-0.3.0 → tripper-0.3.4}/.github/workflows/ci_tests.yml +6 -1
  6. {tripper-0.3.0 → tripper-0.3.4}/.github/workflows/ci_update_dependencies.yml +1 -1
  7. {tripper-0.3.0 → tripper-0.3.4}/.pre-commit-config.yaml +6 -5
  8. {tripper-0.3.0 → tripper-0.3.4}/CHANGELOG.md +57 -0
  9. {tripper-0.3.0 → tripper-0.3.4}/PKG-INFO +54 -46
  10. {tripper-0.3.0 → tripper-0.3.4}/README.md +12 -9
  11. tripper-0.3.4/docs/developers.md +28 -0
  12. {tripper-0.3.0 → tripper-0.3.4}/docs/index.md +12 -9
  13. tripper-0.3.4/docs/known-issues.md +10 -0
  14. {tripper-0.3.0 → tripper-0.3.4}/mkdocs.yml +5 -2
  15. {tripper-0.3.0 → tripper-0.3.4}/pyproject.toml +56 -39
  16. {tripper-0.3.0 → tripper-0.3.4}/tests/backends/test_collection.py +4 -2
  17. tripper-0.3.4/tests/backends/test_rdflib.py +40 -0
  18. {tripper-0.3.0 → tripper-0.3.4}/tests/test_literals.py +119 -7
  19. {tripper-0.3.0 → tripper-0.3.4}/tests/test_triplestore.py +93 -1
  20. {tripper-0.3.0 → tripper-0.3.4}/tripper/__init__.py +1 -1
  21. {tripper-0.3.0 → tripper-0.3.4}/tripper/backends/collection.py +2 -0
  22. {tripper-0.3.0 → tripper-0.3.4}/tripper/backends/ontopy.py +2 -0
  23. {tripper-0.3.0 → tripper-0.3.4}/tripper/backends/rdflib.py +15 -9
  24. {tripper-0.3.0 → tripper-0.3.4}/tripper/backends/sparqlwrapper.py +2 -0
  25. {tripper-0.3.0 → tripper-0.3.4}/tripper/convert/convert.py +35 -4
  26. tripper-0.3.4/tripper/errors.py +43 -0
  27. {tripper-0.3.0 → tripper-0.3.4}/tripper/interface.py +4 -0
  28. {tripper-0.3.0 → tripper-0.3.4}/tripper/literal.py +104 -23
  29. {tripper-0.3.0 → tripper-0.3.4}/tripper/namespace.py +41 -16
  30. {tripper-0.3.0 → tripper-0.3.4}/tripper/triplestore.py +91 -28
  31. {tripper-0.3.0 → tripper-0.3.4}/tripper/tripper.py +2 -2
  32. {tripper-0.3.0 → tripper-0.3.4}/tripper/utils.py +9 -3
  33. tripper-0.3.0/tests/backends/test_rdflib.py +0 -36
  34. tripper-0.3.0/tripper/errors.py +0 -35
  35. {tripper-0.3.0 → tripper-0.3.4}/.github/dependabot.yml +0 -0
  36. {tripper-0.3.0 → tripper-0.3.4}/.github/pull_request_template.md +0 -0
  37. {tripper-0.3.0 → tripper-0.3.4}/.gitignore +0 -0
  38. {tripper-0.3.0 → tripper-0.3.4}/LICENSE +0 -0
  39. {tripper-0.3.0 → tripper-0.3.4}/docs/CHANGELOG.md +0 -0
  40. {tripper-0.3.0 → tripper-0.3.4}/docs/LICENSE.md +0 -0
  41. {tripper-0.3.0 → tripper-0.3.4}/docs/api_reference/.pages +0 -0
  42. {tripper-0.3.0 → tripper-0.3.4}/docs/api_reference/backends/.pages +0 -0
  43. {tripper-0.3.0 → tripper-0.3.4}/docs/api_reference/backends/collection.md +0 -0
  44. {tripper-0.3.0 → tripper-0.3.4}/docs/api_reference/backends/ontopy.md +0 -0
  45. {tripper-0.3.0 → tripper-0.3.4}/docs/api_reference/backends/rdflib.md +0 -0
  46. {tripper-0.3.0 → tripper-0.3.4}/docs/api_reference/backends/sparqlwrapper.md +0 -0
  47. {tripper-0.3.0 → tripper-0.3.4}/docs/api_reference/convert/.pages +0 -0
  48. {tripper-0.3.0 → tripper-0.3.4}/docs/api_reference/convert/convert.md +0 -0
  49. {tripper-0.3.0 → tripper-0.3.4}/docs/api_reference/errors.md +0 -0
  50. {tripper-0.3.0 → tripper-0.3.4}/docs/api_reference/interface.md +0 -0
  51. {tripper-0.3.0 → tripper-0.3.4}/docs/api_reference/literal.md +0 -0
  52. {tripper-0.3.0 → tripper-0.3.4}/docs/api_reference/mappings/.pages +0 -0
  53. {tripper-0.3.0 → tripper-0.3.4}/docs/api_reference/mappings/mappings.md +0 -0
  54. {tripper-0.3.0 → tripper-0.3.4}/docs/api_reference/namespace.md +0 -0
  55. {tripper-0.3.0 → tripper-0.3.4}/docs/api_reference/testutils.md +0 -0
  56. {tripper-0.3.0 → tripper-0.3.4}/docs/api_reference/triplestore.md +0 -0
  57. {tripper-0.3.0 → tripper-0.3.4}/docs/api_reference/tripper.md +0 -0
  58. {tripper-0.3.0 → tripper-0.3.4}/docs/api_reference/utils.md +0 -0
  59. {tripper-0.3.0 → tripper-0.3.4}/docs/backend_discovery.md +0 -0
  60. {tripper-0.3.0 → tripper-0.3.4}/docs/css/reference.css +0 -0
  61. {tripper-0.3.0 → tripper-0.3.4}/docs/mappings/figs/function_emmo.svg +0 -0
  62. {tripper-0.3.0 → tripper-0.3.4}/docs/planned-backends.md +0 -0
  63. {tripper-0.3.0 → tripper-0.3.4}/docs/tutorial.md +0 -0
  64. {tripper-0.3.0 → tripper-0.3.4}/examples/workflow-mappings/README.md +0 -0
  65. {tripper-0.3.0 → tripper-0.3.4}/examples/workflow-mappings/knowledge-base.svg +0 -0
  66. {tripper-0.3.0 → tripper-0.3.4}/examples/workflow-mappings/route.svg +0 -0
  67. {tripper-0.3.0 → tripper-0.3.4}/examples/workflow-mappings/workflow.svg +0 -0
  68. {tripper-0.3.0 → tripper-0.3.4}/examples/workflow-mappings/workflow_mappings.py +0 -0
  69. {tripper-0.3.0 → tripper-0.3.4}/examples/workflow-mappings/workflow_w_pipes.svg +0 -0
  70. {tripper-0.3.0 → tripper-0.3.4}/tests/backends/__init__.py +0 -0
  71. {tripper-0.3.0 → tripper-0.3.4}/tests/backends/dummy.py +0 -0
  72. {tripper-0.3.0 → tripper-0.3.4}/tests/conftest.py +0 -0
  73. {tripper-0.3.0 → tripper-0.3.4}/tests/convert/test_convert.py +0 -0
  74. {tripper-0.3.0 → tripper-0.3.4}/tests/mappings/test_cost.py +0 -0
  75. {tripper-0.3.0 → tripper-0.3.4}/tests/mappings/test_function.py +0 -0
  76. {tripper-0.3.0 → tripper-0.3.4}/tests/mappings/test_mappings.py +0 -0
  77. {tripper-0.3.0 → tripper-0.3.4}/tests/ontologies/family.ttl +0 -0
  78. {tripper-0.3.0 → tripper-0.3.4}/tests/ontologies/food-more.ttl +0 -0
  79. {tripper-0.3.0 → tripper-0.3.4}/tests/ontologies/food.ttl +0 -0
  80. {tripper-0.3.0 → tripper-0.3.4}/tests/output/.gitignore +0 -0
  81. {tripper-0.3.0 → tripper-0.3.4}/tests/test_add_function.py +0 -0
  82. {tripper-0.3.0 → tripper-0.3.4}/tests/test_custom_backend.py +0 -0
  83. {tripper-0.3.0 → tripper-0.3.4}/tests/test_eval_function.py +0 -0
  84. {tripper-0.3.0 → tripper-0.3.4}/tests/test_get_data.py +0 -0
  85. {tripper-0.3.0 → tripper-0.3.4}/tests/test_namespace.py +0 -0
  86. {tripper-0.3.0 → tripper-0.3.4}/tests/test_sparql.py +0 -0
  87. {tripper-0.3.0 → tripper-0.3.4}/tests/test_utils.py +0 -0
  88. {tripper-0.3.0 → tripper-0.3.4}/tripper/backends/__init__.py +0 -0
  89. {tripper-0.3.0 → tripper-0.3.4}/tripper/convert/__init__.py +0 -0
  90. {tripper-0.3.0 → tripper-0.3.4}/tripper/mappings/__init__.py +0 -0
  91. {tripper-0.3.0 → tripper-0.3.4}/tripper/mappings/mappings.py +0 -0
  92. {tripper-0.3.0 → tripper-0.3.4}/tripper/testutils.py +0 -0
@@ -6,9 +6,9 @@ on:
6
6
  - published
7
7
 
8
8
  jobs:
9
- publish-package-and-docs:
9
+ build:
10
10
  name: External
11
- uses: SINTEF/ci-cd/.github/workflows/cd_release.yml@v2.7.4
11
+ uses: SINTEF/ci-cd/.github/workflows/cd_release.yml@v2.8.2
12
12
  if: github.repository == 'EMMC-ASBL/tripper' && startsWith(github.ref, 'refs/tags/v')
13
13
  with:
14
14
  # General
@@ -23,7 +23,9 @@ jobs:
23
23
  python_version_build: "3.9"
24
24
  build_libs: "flit"
25
25
  build_cmd: "flit build"
26
- publish_on_pypi: true
26
+ build_dir: "dist"
27
+ publish_on_pypi: false
28
+ upload_distribution: true
27
29
 
28
30
  # Build & publish documentation
29
31
  update_docs: true
@@ -32,5 +34,25 @@ jobs:
32
34
  changelog_exclude_labels: "skip_changelog,duplicate,question,invalid,wontfix"
33
35
  docs_framework: mkdocs
34
36
  secrets:
35
- PyPI_token: ${{ secrets.PYPI_TOKEN }}
36
37
  PAT: ${{ secrets.RELEASE_PAT }}
38
+
39
+ publish:
40
+ name: Publish on PyPI
41
+ needs: build
42
+ runs-on: ubuntu-latest
43
+
44
+ environment:
45
+ name: release
46
+ url: https://pypi.org/project/tripper/
47
+ permissions:
48
+ id-token: write
49
+
50
+ steps:
51
+ - name: Download built distritbution
52
+ uses: actions/download-artifact@v4
53
+ with:
54
+ name: dist
55
+ path: dist
56
+
57
+ - name: Publish on PyPI
58
+ uses: pypa/gh-action-pypi-publish@release/v1
@@ -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.7.4
10
+ uses: SINTEF/ci-cd/.github/workflows/ci_automerge_prs.yml@v2.8.2
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.7.4
10
+ uses: SINTEF/ci-cd/.github/workflows/ci_cd_updated_default_branch.yml@v2.8.2
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.7.4
12
+ uses: SINTEF/ci-cd/.github/workflows/ci_check_pyproject_dependencies.yml@v2.8.2
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.7.4
13
+ uses: SINTEF/ci-cd/.github/workflows/ci_tests.yml@v2.8.2
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
@@ -84,6 +86,9 @@ jobs:
84
86
  pip install -U setuptools wheel flit
85
87
  pip install -e .[testing]
86
88
 
89
+ - name: List installed packages
90
+ run: pip freeze
91
+
87
92
  - name: Test with pytest
88
93
  run: pytest -vvv --cov-report=xml --doctest-modules
89
94
 
@@ -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.7.4
12
+ uses: SINTEF/ci-cd/.github/workflows/ci_update_dependencies.yml@v2.8.2
13
13
  if: github.repository_owner == 'EMMC-ASBL'
14
14
  with:
15
15
  git_username: "TEAM 4.0[bot]"
@@ -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)$
@@ -41,19 +41,20 @@ repos:
41
41
  - --skip-gitignore
42
42
 
43
43
  - repo: https://github.com/psf/black
44
- rev: 24.4.2
44
+ rev: 24.10.0
45
45
  hooks:
46
46
  - id: black
47
+ args: [--line-length=79]
47
48
 
48
49
  - repo: https://github.com/PyCQA/bandit
49
- rev: 1.7.9
50
+ rev: 1.7.10
50
51
  hooks:
51
52
  - id: bandit
52
53
  args: ["-r"]
53
54
  files: ^tripper/.*$
54
55
 
55
56
  - repo: https://github.com/pre-commit/mirrors-mypy
56
- rev: v1.10.0
57
+ rev: v1.11.2
57
58
  hooks:
58
59
  - id: mypy
59
60
  exclude: ^tests/.*$
@@ -62,7 +63,7 @@ repos:
62
63
  - "pydantic"
63
64
 
64
65
  - repo: https://github.com/SINTEF/ci-cd
65
- rev: v2.7.4
66
+ rev: v2.8.2
66
67
  hooks:
67
68
  - id: docs-api-reference
68
69
  args:
@@ -1,5 +1,62 @@
1
1
  # Changelog
2
2
 
3
+ ## [v0.3.4](https://github.com/EMMC-ASBL/tripper/tree/v0.3.4) (2024-10-15)
4
+
5
+ [Full Changelog](https://github.com/EMMC-ASBL/tripper/compare/v0.3.3...v0.3.4)
6
+
7
+ **Merged pull requests:**
8
+
9
+ - 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))
10
+ - \[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))
11
+ - Update n3 format for string with quotes. [\#253](https://github.com/EMMC-ASBL/tripper/pull/253) ([pintr](https://github.com/pintr))
12
+ - 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))
13
+ - Ignore safety vulnerabeility 72715 [\#251](https://github.com/EMMC-ASBL/tripper/pull/251) ([jesper-friis](https://github.com/jesper-friis))
14
+ - Fix empty prefix [\#250](https://github.com/EMMC-ASBL/tripper/pull/250) ([jesper-friis](https://github.com/jesper-friis))
15
+ - \[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))
16
+ - Backend info to triplestore instance [\#248](https://github.com/EMMC-ASBL/tripper/pull/248) ([jesper-friis](https://github.com/jesper-friis))
17
+ - Added argument `ignore_unrecognised` to tripper.convert\(\) [\#247](https://github.com/EMMC-ASBL/tripper/pull/247) ([jesper-friis](https://github.com/jesper-friis))
18
+ - \[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))
19
+
20
+ ## [v0.3.3](https://github.com/EMMC-ASBL/tripper/tree/v0.3.3) (2024-08-26)
21
+
22
+ [Full Changelog](https://github.com/EMMC-ASBL/tripper/compare/v0.3.2...v0.3.3)
23
+
24
+ **Implemented enhancements:**
25
+
26
+ - Use Trusted Publishers for PyPI [\#242](https://github.com/EMMC-ASBL/tripper/issues/242)
27
+
28
+ **Closed issues:**
29
+
30
+ - Add instructions of how to release a new version [\#47](https://github.com/EMMC-ASBL/tripper/issues/47)
31
+ - Update Python API references in README [\#22](https://github.com/EMMC-ASBL/tripper/issues/22)
32
+
33
+ **Merged pull requests:**
34
+
35
+ - Use Trusted Publishers on PyPI [\#243](https://github.com/EMMC-ASBL/tripper/pull/243) ([CasperWA](https://github.com/CasperWA))
36
+
37
+ ## [v0.3.2](https://github.com/EMMC-ASBL/tripper/tree/v0.3.2) (2024-08-19)
38
+
39
+ [Full Changelog](https://github.com/EMMC-ASBL/tripper/compare/v0.3.1...v0.3.2)
40
+
41
+ **Merged pull requests:**
42
+
43
+ - Minor fix for documentation layout [\#238](https://github.com/EMMC-ASBL/tripper/pull/238) ([jesper-friis](https://github.com/jesper-friis))
44
+ - Updated documentation navigation [\#237](https://github.com/EMMC-ASBL/tripper/pull/237) ([jesper-friis](https://github.com/jesper-friis))
45
+ - Updated cd\_release workflow [\#236](https://github.com/EMMC-ASBL/tripper/pull/236) ([jesper-friis](https://github.com/jesper-friis))
46
+
47
+ ## [v0.3.1](https://github.com/EMMC-ASBL/tripper/tree/v0.3.1) (2024-08-16)
48
+
49
+ [Full Changelog](https://github.com/EMMC-ASBL/tripper/compare/v0.3.0...v0.3.1)
50
+
51
+ **Merged pull requests:**
52
+
53
+ - Avoid that tripper.Namespace crashes if the cache directory cannot be accessed [\#235](https://github.com/EMMC-ASBL/tripper/pull/235) ([jesper-friis](https://github.com/jesper-friis))
54
+ - \[pre-commit.ci\] pre-commit autoupdate [\#232](https://github.com/EMMC-ASBL/tripper/pull/232) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
55
+ - \[pre-commit.ci\] pre-commit autoupdate [\#231](https://github.com/EMMC-ASBL/tripper/pull/231) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
56
+ - Cleaned up backend tests [\#230](https://github.com/EMMC-ASBL/tripper/pull/230) ([jesper-friis](https://github.com/jesper-friis))
57
+ - Added a fix for parsing rdflib literals. [\#229](https://github.com/EMMC-ASBL/tripper/pull/229) ([jesper-friis](https://github.com/jesper-friis))
58
+ - Add better and more convenient support for rdf:JSON datatype [\#228](https://github.com/EMMC-ASBL/tripper/pull/228) ([jesper-friis](https://github.com/jesper-friis))
59
+
3
60
  ## [v0.3.0](https://github.com/EMMC-ASBL/tripper/tree/v0.3.0) (2024-06-24)
4
61
 
5
62
  [Full Changelog](https://github.com/EMMC-ASBL/tripper/compare/v0.2.16...v0.3.0)
@@ -1,10 +1,10 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tripper
3
- Version: 0.3.0
3
+ Version: 0.3.4
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.7
8
8
  Description-Content-Type: text/markdown
9
9
  Classifier: Development Status :: 2 - Pre-Alpha
10
10
  Classifier: License :: OSI Approved :: MIT License
@@ -18,42 +18,47 @@ Classifier: Programming Language :: Python :: 3.12
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; python_version<'3.8'
21
+ Requires-Dist: typing-extensions>=4.7.0,<4.7.1; python_version<'3.8'
22
22
  Requires-Dist: pint>=0.16.1,<0.24
23
- Requires-Dist: mike ~=2.1 ; extra == "dev"
24
- Requires-Dist: mkdocs ~=1.5 ; extra == "dev"
25
- Requires-Dist: mkdocs-awesome-pages-plugin ~=2.9 ; extra == "dev"
26
- Requires-Dist: mkdocs-material >=9.2.8 ; extra == "dev"
27
- Requires-Dist: mkdocstrings[python-legacy] ~=0.22.0 ; extra == "dev"
28
- Requires-Dist: pre-commit ~=2.21 ; extra == "dev"
29
- Requires-Dist: pylint ~=2.13 ; extra == "dev"
30
- Requires-Dist: pytest ~=7.4 ; extra == "dev"
31
- Requires-Dist: pytest-cov ~=4.1 ; extra == "dev"
32
- Requires-Dist: EMMOntoPy ~=0.7 ; extra == "dev"
33
- Requires-Dist: rdflib ~=6.3 ; extra == "dev"
34
- Requires-Dist: SPARQLWrapper ~=2.0 ; extra == "dev"
35
- Requires-Dist: DLite-Python >=0.5.1,<0.5.17 ; extra == "dev"
36
- Requires-Dist: mike ~=2.1 ; extra == "docs"
37
- Requires-Dist: mkdocs ~=1.5 ; extra == "docs"
38
- Requires-Dist: mkdocs-awesome-pages-plugin ~=2.9 ; extra == "docs"
39
- Requires-Dist: mkdocs-material >=9.2.8 ; extra == "docs"
40
- Requires-Dist: mkdocstrings[python-legacy] ~=0.22.0 ; extra == "docs"
41
- Requires-Dist: EMMOntoPy ~=0.7 ; extra == "docs"
42
- Requires-Dist: rdflib ~=6.3 ; extra == "docs"
43
- Requires-Dist: SPARQLWrapper ~=2.0 ; extra == "docs"
44
- Requires-Dist: DLite-Python >=0.5.1,<0.5.17 ; extra == "docs"
45
- Requires-Dist: pre-commit ~=2.21 ; extra == "pre-commit"
46
- Requires-Dist: pylint ~=2.13 ; extra == "pre-commit"
47
- Requires-Dist: pytest ~=7.4 ; extra == "testing"
48
- Requires-Dist: pytest-cov ~=4.1 ; extra == "testing"
49
- Requires-Dist: EMMOntoPy ~=0.7 ; extra == "testing"
50
- Requires-Dist: rdflib ~=6.3 ; extra == "testing"
51
- Requires-Dist: SPARQLWrapper ~=2.0 ; extra == "testing"
52
- Requires-Dist: DLite-Python >=0.5.1,<0.5.17 ; extra == "testing"
53
- Requires-Dist: graphviz ~= 0.20 ; extra == "testing"
54
- Requires-Dist: pint>=0.16.1,<0.23 ; extra == "testing"
55
- Requires-Dist: pytest ~=7.4 ; extra == "testing-core"
56
- Requires-Dist: pytest-cov ~=4.1 ; extra == "testing-core"
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==4.0.1 ; extra == "pre-commit"
51
+ 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"
59
+ Requires-Dist: graphviz>=0.20.1,<0.20.2 ; extra == "testing"
60
+ Requires-Dist: pytest==7.4.4 ; extra == "testing-core"
61
+ Requires-Dist: pytest-cov==4.1.0 ; extra == "testing-core"
57
62
  Project-URL: Changelog, https://github.com/EMMC-ASBL/tripper/blob/master/CHANGELOG.md
58
63
  Project-URL: Documentation, https://EMMC-ASBL.github.io/tripper
59
64
  Project-URL: Home, https://github.com/EMMC-ASBL/tripper
@@ -77,6 +82,12 @@ Tripper
77
82
  [![DOI](https://zenodo.org/badge/547162834.svg)](https://zenodo.org/badge/latestdoi/547162834)
78
83
 
79
84
 
85
+ Getting started
86
+ ---------------
87
+ * [Tutorial]
88
+ * [Discovery of custom backends]
89
+ * [Reference manual]
90
+
80
91
 
81
92
  Basic concepts
82
93
  --------------
@@ -107,13 +118,6 @@ The submodules `mappings` and `convert` provide additional functionality beyond
107
118
  - **tripper.convert**: convert between RDF and other data representations.
108
119
 
109
120
 
110
- Documentation
111
- -------------
112
- * Getting started: See the [tutorial](docs/tutorial.md)
113
- * [Discovery of custom backends](docs/backend_discovery.md)
114
- * [Reference manual]
115
-
116
-
117
121
  Available backends
118
122
  ------------------
119
123
  The following backends are currently available, either in Tripper or other packages.
@@ -153,7 +157,7 @@ pip install rdflib pint
153
157
 
154
158
  License and copyright
155
159
  ---------------------
156
- All files in this repository are licensed under the [MIT license](LICENSE).
160
+ All files in this repository are licensed under the [MIT license].
157
161
  If not stated otherwise in the top of the files, they have copyright &copy; 2022
158
162
  SINTEF.
159
163
 
@@ -172,11 +176,15 @@ We gratefully acknowledge the following projects for supporting the development
172
176
 
173
177
 
174
178
 
179
+ [Tutorial]: https://emmc-asbl.github.io/tripper/latest/tutorial/
180
+ [Discovery of custom backends]: https://emmc-asbl.github.io/tripper/latest/backend_discovery/
181
+ [Reference manual]: https://emmc-asbl.github.io/tripper/latest/api_reference/triplestore/
182
+ [Known issues]: https://emmc-asbl.github.io/tripper/latest/known-issues/
183
+ [MIT license]: https://emmc-asbl.github.io/tripper/latest/LICENSE/
175
184
  [tripper]: https://emmc-asbl.github.io/tripper
176
185
  [rdflib]: https://rdflib.readthedocs.io/en/stable/
177
186
  [PyPI]: https://pypi.org/project/tripper
178
187
  [PyBackTrip]: https://github.com/EMMC-ASBL/PyBackTrip/
179
- [Reference manual]: https://emmc-asbl.github.io/tripper/latest/api_reference/triplestore/
180
188
  [Literal]: https://emmc-asbl.github.io/tripper/latest/api_reference/triplestore/#tripper.triplestore.Literal
181
189
  [Namespace]: https://emmc-asbl.github.io/tripper/latest/api_reference/triplestore/#tripper.triplestore.Namespace
182
190
  [Triplestore]: https://emmc-asbl.github.io/tripper/latest/api_reference/triplestore/#tripper.triplestore.Triplestore
@@ -9,6 +9,12 @@ Tripper
9
9
  [![DOI](https://zenodo.org/badge/547162834.svg)](https://zenodo.org/badge/latestdoi/547162834)
10
10
 
11
11
 
12
+ Getting started
13
+ ---------------
14
+ * [Tutorial]
15
+ * [Discovery of custom backends]
16
+ * [Reference manual]
17
+
12
18
 
13
19
  Basic concepts
14
20
  --------------
@@ -39,13 +45,6 @@ The submodules `mappings` and `convert` provide additional functionality beyond
39
45
  - **tripper.convert**: convert between RDF and other data representations.
40
46
 
41
47
 
42
- Documentation
43
- -------------
44
- * Getting started: See the [tutorial](docs/tutorial.md)
45
- * [Discovery of custom backends](docs/backend_discovery.md)
46
- * [Reference manual]
47
-
48
-
49
48
  Available backends
50
49
  ------------------
51
50
  The following backends are currently available, either in Tripper or other packages.
@@ -85,7 +84,7 @@ pip install rdflib pint
85
84
 
86
85
  License and copyright
87
86
  ---------------------
88
- All files in this repository are licensed under the [MIT license](LICENSE).
87
+ All files in this repository are licensed under the [MIT license].
89
88
  If not stated otherwise in the top of the files, they have copyright &copy; 2022
90
89
  SINTEF.
91
90
 
@@ -104,11 +103,15 @@ We gratefully acknowledge the following projects for supporting the development
104
103
 
105
104
 
106
105
 
106
+ [Tutorial]: https://emmc-asbl.github.io/tripper/latest/tutorial/
107
+ [Discovery of custom backends]: https://emmc-asbl.github.io/tripper/latest/backend_discovery/
108
+ [Reference manual]: https://emmc-asbl.github.io/tripper/latest/api_reference/triplestore/
109
+ [Known issues]: https://emmc-asbl.github.io/tripper/latest/known-issues/
110
+ [MIT license]: https://emmc-asbl.github.io/tripper/latest/LICENSE/
107
111
  [tripper]: https://emmc-asbl.github.io/tripper
108
112
  [rdflib]: https://rdflib.readthedocs.io/en/stable/
109
113
  [PyPI]: https://pypi.org/project/tripper
110
114
  [PyBackTrip]: https://github.com/EMMC-ASBL/PyBackTrip/
111
- [Reference manual]: https://emmc-asbl.github.io/tripper/latest/api_reference/triplestore/
112
115
  [Literal]: https://emmc-asbl.github.io/tripper/latest/api_reference/triplestore/#tripper.triplestore.Literal
113
116
  [Namespace]: https://emmc-asbl.github.io/tripper/latest/api_reference/triplestore/#tripper.triplestore.Namespace
114
117
  [Triplestore]: https://emmc-asbl.github.io/tripper/latest/api_reference/triplestore/#tripper.triplestore.Triplestore
@@ -0,0 +1,28 @@
1
+ # For developers
2
+
3
+ ## Adding new backends
4
+
5
+ See [interface.py], which defines the interface of a backend and may serve as a template for creating new backends.
6
+
7
+
8
+
9
+ ## Creating new release
10
+
11
+ To create a new release, it is good to have a release summary.
12
+
13
+ To add this, create a milestone that matches the new version and tag, e.g., `v1.0.8`.
14
+
15
+ Then create a new issue, adding it to the milestone and add the `release-summary` label.
16
+
17
+ For the issue description, write the actual release summary.
18
+ This will be included as part of the changelog as well as the release notes on GitHub.
19
+
20
+ Then, go to [create a new GitHub releases](https://github.com/EMMC-ASBL/tripper/releases/new) and select the tag that matches the milestone (creating a new one).
21
+ Add again the tag as the release title (optionally write something else that defines this release as a title).
22
+
23
+ Finally, press the "Publish release" button and ensure the release workflow succeeds (check [the release workflow](https://github.com/EMMC-ASBL/tripper/actions/workflows/cd_release.yml)).
24
+
25
+
26
+
27
+
28
+ [interface.py]: https://github.com/EMMC-ASBL/tripper/blob/master/tripper/interface.py
@@ -9,6 +9,12 @@ Tripper
9
9
  [![DOI](https://zenodo.org/badge/547162834.svg)](https://zenodo.org/badge/latestdoi/547162834)
10
10
 
11
11
 
12
+ Getting started
13
+ ---------------
14
+ * [Tutorial]
15
+ * [Discovery of custom backends]
16
+ * [Reference manual]
17
+
12
18
 
13
19
  Basic concepts
14
20
  --------------
@@ -39,13 +45,6 @@ The submodules `mappings` and `convert` provide additional functionality beyond
39
45
  - **tripper.convert**: convert between RDF and other data representations.
40
46
 
41
47
 
42
- Documentation
43
- -------------
44
- * Getting started: See the [tutorial](tutorial.md)
45
- * [Discovery of custom backends](backend_discovery.md)
46
- * [Reference manual]
47
-
48
-
49
48
  Available backends
50
49
  ------------------
51
50
  The following backends are currently available, either in Tripper or other packages.
@@ -85,7 +84,7 @@ pip install rdflib pint
85
84
 
86
85
  License and copyright
87
86
  ---------------------
88
- All files in this repository are licensed under the [MIT license](LICENSE.md).
87
+ All files in this repository are licensed under the [MIT license].
89
88
  If not stated otherwise in the top of the files, they have copyright &copy; 2022
90
89
  SINTEF.
91
90
 
@@ -104,11 +103,15 @@ We gratefully acknowledge the following projects for supporting the development
104
103
 
105
104
 
106
105
 
106
+ [Tutorial]: https://emmc-asbl.github.io/tripper/latest/tutorial/
107
+ [Discovery of custom backends]: https://emmc-asbl.github.io/tripper/latest/backend_discovery/
108
+ [Reference manual]: https://emmc-asbl.github.io/tripper/latest/api_reference/triplestore/
109
+ [Known issues]: https://emmc-asbl.github.io/tripper/latest/known-issues/
110
+ [MIT license]: https://emmc-asbl.github.io/tripper/latest/LICENSE/
107
111
  [tripper]: https://emmc-asbl.github.io/tripper
108
112
  [rdflib]: https://rdflib.readthedocs.io/en/stable/
109
113
  [PyPI]: https://pypi.org/project/tripper
110
114
  [PyBackTrip]: https://github.com/EMMC-ASBL/PyBackTrip/
111
- [Reference manual]: https://emmc-asbl.github.io/tripper/latest/api_reference/triplestore/
112
115
  [Literal]: https://emmc-asbl.github.io/tripper/latest/api_reference/triplestore/#tripper.triplestore.Literal
113
116
  [Namespace]: https://emmc-asbl.github.io/tripper/latest/api_reference/triplestore/#tripper.triplestore.Namespace
114
117
  [Triplestore]: https://emmc-asbl.github.io/tripper/latest/api_reference/triplestore/#tripper.triplestore.Triplestore
@@ -0,0 +1,10 @@
1
+ Known issues
2
+ ============
3
+
4
+ * If you use the rdflib backend and don't have write permissions to
5
+ the cache directory (which e.g. can happen if you run Python in
6
+ docker as a non-root user), you may get a `urllib.error.HTTPError`
7
+ error when accessing an online rdf resource.
8
+
9
+ Setting the environment variable `XDG_CACHE_HOME` to a directory
10
+ that you have write access to will solve the problem.
@@ -80,9 +80,12 @@ plugins:
80
80
  nav:
81
81
  - Home: index.md
82
82
  - Tutorial: tutorial.md
83
- - License: LICENSE.md
84
- - Changelog: CHANGELOG.md
83
+ - Backend discovery: backend_discovery.md
85
84
  - ... | api_reference/**
85
+ - Known issues: known-issues.md
86
+ - For developers: developers.md
87
+ - Changelog: CHANGELOG.md
88
+ - License: LICENSE.md
86
89
 
87
90
  watch:
88
91
  - tripper