pid4cat-model 0.4.0__tar.gz → 0.4.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.
Files changed (87) hide show
  1. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/PKG-INFO +1 -1
  2. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/config.public.mk +1 -1
  3. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/docs/index.md +1 -1
  4. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/docs/metadata.md +22 -0
  5. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/mkdocs.yml +1 -0
  6. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/src/pid4cat_model/schema/pid4cat_model.yaml +1 -1
  7. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/.copier-answers.yml +0 -0
  8. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/.editorconfig +0 -0
  9. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/.github/dependabot.yml +0 -0
  10. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/.github/workflows/deploy-docs.yaml +0 -0
  11. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/.github/workflows/main.yaml +0 -0
  12. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/.github/workflows/pypi-publish.yaml +0 -0
  13. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/.gitignore +0 -0
  14. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/.linkmllint.yaml +0 -0
  15. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/.pre-commit-config.yaml +0 -0
  16. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/.yamllint.yaml +0 -0
  17. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/.zenodo.json +0 -0
  18. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/CODE_OF_CONDUCT.md +0 -0
  19. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/CONTRIBUTING.md +0 -0
  20. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/LICENSE +0 -0
  21. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/README.md +0 -0
  22. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/README_pypkg.md +0 -0
  23. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/config.yaml +0 -0
  24. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/docs/about.md +0 -0
  25. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/docs/apis.md +0 -0
  26. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/docs/elements/.gitkeep +0 -0
  27. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/docs/getting-started.md +0 -0
  28. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/docs/images/favicon.svg +0 -0
  29. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/docs/images/logo-design-source.svg +0 -0
  30. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/docs/images/logo-icon.svg +0 -0
  31. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/docs/images/logo-with-text-dark.svg +0 -0
  32. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/docs/images/logo-with-text.png +0 -0
  33. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/docs/images/logo-with-text.svg +0 -0
  34. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/docs/open-data.md +0 -0
  35. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/docs/overrides/partials/logo.html +0 -0
  36. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/docs/overview.md +0 -0
  37. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/docs/policies.md +0 -0
  38. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/docs/schema/README.md +0 -0
  39. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/docs/stylesheets/extra.css +0 -0
  40. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/docs/templates-linkml/README.md +0 -0
  41. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/docs/tools.md +0 -0
  42. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/docs/versioning.md +0 -0
  43. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/examples/PID4CatRecord-001.yaml +0 -0
  44. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/examples/README.md +0 -0
  45. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/examples/api-v2-demo.ipynb +0 -0
  46. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/examples/example_p1.json +0 -0
  47. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/examples/example_p1.yaml +0 -0
  48. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/examples/example_p1_dataclasses.py +0 -0
  49. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/examples/example_p1_pydantic.json +0 -0
  50. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/examples/example_p1_pydantic.py +0 -0
  51. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/examples/hdl-net-api-demo.ipynb +0 -0
  52. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/examples/valid/HandleRecordContainer-001.json.off +0 -0
  53. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/examples/valid/HandleRecordContainer-001.yaml +0 -0
  54. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/examples/valid/PID4CatRecord-001.json +0 -0
  55. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/examples/valid/PID4CatRecord-001.yaml +0 -0
  56. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/justfile +0 -0
  57. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/project/README.md +0 -0
  58. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/project.justfile +0 -0
  59. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/pyproject.toml +0 -0
  60. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/src/pid4cat_model/__init__.py +0 -0
  61. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/src/pid4cat_model/_version.py +0 -0
  62. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/src/pid4cat_model/datamodel/__init__.py +0 -0
  63. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/src/pid4cat_model/datamodel/pid4cat_model.py +0 -0
  64. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/src/pid4cat_model/datamodel/pid4cat_model_pydantic.py +0 -0
  65. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/src/pid4cat_model/handle_api.py +0 -0
  66. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/src/pid4cat_model/iso7064.py +0 -0
  67. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/src/pid4cat_model/schema/README.md +0 -0
  68. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/src/pid4cat_model/schema/media_types.yaml +0 -0
  69. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/tests/__init__.py +0 -0
  70. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/tests/data/21.T11978_hdlnet_api/TEST_KBKA-BEM9.json +0 -0
  71. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/tests/data/21.T11978_hdlnet_api/TEST_KBKA-BEM9_decoded.json +0 -0
  72. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/tests/data/21.T11978_hdlnet_api/TEST_KBKA-BEM9_invalid.json +0 -0
  73. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/tests/data/README.md +0 -0
  74. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/tests/data/invalid/.gitkeep +0 -0
  75. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/tests/data/invalid/HandleAPIRecord-004.json +0 -0
  76. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/tests/data/problem/invalid/.gitkeep +0 -0
  77. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/tests/data/problem/valid/.gitkeep +0 -0
  78. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/tests/data/valid/HandleAPIRecord-001.yaml +0 -0
  79. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/tests/data/valid/HandleAPIRecord-002.json +0 -0
  80. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/tests/data/valid/HandleAPIRecord-003.json +0 -0
  81. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/tests/data/valid/HandleAPIRecord-004.json +0 -0
  82. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/tests/data/valid/HandleRecordContainer-001.yaml +0 -0
  83. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/tests/test_data.py +0 -0
  84. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/tests/test_handle_api.py +0 -0
  85. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/tests/test_iso7064.py +0 -0
  86. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/tests/test_model_pydantic.py +0 -0
  87. {pid4cat_model-0.4.0 → pid4cat_model-0.4.2}/uv.lock +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pid4cat-model
3
- Version: 0.4.0
3
+ Version: 0.4.2
4
4
  Summary: Python model equivalent of LinkML datamodel for handle-based PIDs for resources in catalysis (pid4cat)
5
5
  Author-email: David Linke <david.linke@catalysis.de>
6
6
  Maintainer-email: David Linke <david.linke@catalysis.de>
@@ -17,7 +17,7 @@ LINKML_SCHEMA_SOURCE_DIR="src/pid4cat_model/schema"
17
17
  LINKML_GENERATORS_CONFIG_YAML=config.yaml
18
18
 
19
19
  ## pass args if gendoc ignores config.yaml (i.e. --no-mergeimports)
20
- LINKML_GENERATORS_DOC_ARGS="--hierarchical-class-view --subfolder-type-separation --index-name overview"
20
+ LINKML_GENERATORS_DOC_ARGS="--truncate-descriptions False --hierarchical-class-view --subfolder-type-separation --index-name overview"
21
21
 
22
22
  ## pass args to workaround genowl rdfs config bug (linkml#1453)
23
23
  ## (i.e. --no-type-objects --no-metaclasses --metadata-profile rdfs)
@@ -1,5 +1,5 @@
1
1
  ---
2
- title: <div style="font-weight:700;">pid4cat Documentation</div>
2
+ title: pid4cat Documentation
3
3
  ---
4
4
 
5
5
  ![pid4cat logo](images/logo-with-text.svg#only-light)
@@ -37,6 +37,28 @@ The pid4cat metadata schema is defined using LinkML, which allows for:
37
37
 
38
38
  The complete schema is available in the [pid4cat-model repository](https://github.com/nfdi4cat/pid4cat-model).
39
39
 
40
+ ## Permanent URIs for the metadata schema
41
+
42
+ All elements in the schema (classes, slots, enums) have [w3id.org](https://w3id.org/)-URIs.
43
+ These point to the latest schema version released.<BR>For example: [https://w3id.org/nfdi4cat/pid4cat-model/class/HandleRecord](https://w3id.org/nfdi4cat/pid4cat-model/class/HandleRecord) is redirected to <BR> [https://nfdi4cat.github.io/pid4cat-model/latest/elements/classes/HandleRecord/](https://nfdi4cat.github.io/pid4cat-model/latest/elements/classes/HandleRecord/).
44
+
45
+ Schema elements from older releases can also be referenced via permanent URIs. For example, to reference the same class but from Release 0.4.0, just insert the release tag into the URI:<BR>
46
+ [https://w3id.org/nfdi4cat/pid4cat-model/**v0.4.0**/class/HandleRecord](https://w3id.org/nfdi4cat/pid4cat-model/v0.4.0/class/HandleRecord)
47
+
48
+ The full LinkML schema in YAML format can be downloaded from [https://w3id.org/nfdi4cat/pid4cat-model/](https://w3id.org/nfdi4cat/pid4cat-model/) when specifying the media type `application/yaml`.
49
+
50
+ Example download command for [httpie](https://httpie.io/docs/cli):
51
+
52
+ ```bash
53
+ http -o pid4cat_model.yaml --download https://w3id.org/nfdi4cat/pid4cat-model Accept:"application/yaml"
54
+ ```
55
+
56
+ for [curl](https://curl.se/):
57
+
58
+ ```bash
59
+ curl -o pid4cat_model.yaml -L -H "accept:application/yaml" https://w3id.org/nfdi4cat/pid4cat-model
60
+ ```
61
+
40
62
  ## Metadata Validation
41
63
 
42
64
  All metadata submitted to pid4cat is validated against the pid4cat-model schema. This ensures:
@@ -41,6 +41,7 @@ theme:
41
41
  features:
42
42
  - content.tabs.link
43
43
  - search.highlight
44
+ - navigation.expand
44
45
  - navigation.instant
45
46
  - navigation.instant.progress
46
47
  - navigation.tracking
@@ -14,7 +14,7 @@ description: >-
14
14
  exception of the resource category, which is a high-level description of
15
15
  what is identified by the pid4cat handle, e.g. a sample or a device.
16
16
 
17
- version: "0.4.0" # Managed by dynamic-versioning. Don't change this line!
17
+ version: "0.4.2" # Managed by dynamic-versioning. Don't change this line!
18
18
 
19
19
  todos:
20
20
  - none
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes