pymetadata 0.5.1__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.
Potentially problematic release.
This version of pymetadata might be problematic. Click here for more details.
- {pymetadata-0.5.1 → pymetadata-0.5.2}/.bumpversion.toml +1 -1
- {pymetadata-0.5.1 → pymetadata-0.5.2}/.github/workflows/main.yml +5 -10
- pymetadata-0.5.2/.github/workflows/mypy.yml +21 -0
- pymetadata-0.5.2/PKG-INFO +115 -0
- pymetadata-0.5.2/README.md +74 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/RELEASE.md +1 -1
- {pymetadata-0.5.1 → pymetadata-0.5.2}/pyproject.toml +1 -2
- pymetadata-0.5.2/release-notes/0.5.2.md +11 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/src/pymetadata/__init__.py +1 -1
- {pymetadata-0.5.1 → pymetadata-0.5.2}/tox.ini +8 -22
- {pymetadata-0.5.1 → pymetadata-0.5.2}/uv.lock +1 -1
- pymetadata-0.5.1/PKG-INFO +0 -154
- pymetadata-0.5.1/README.rst +0 -112
- {pymetadata-0.5.1 → pymetadata-0.5.2}/.github/CONTRIBUTING.rst +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/.github/ISSUE_TEMPLATE/01-bug-report.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/.github/ISSUE_TEMPLATE/02-question.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/.github/ISSUE_TEMPLATE/03-feature-request.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/.github/SUPPORT.rst +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/.github/workflows/ruff.yml +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/.gitignore +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/.pre-commit-config.yaml +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/.python-version +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/.ruff.toml +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/.zenodo.json +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/LICENSE +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/docs/composite_annotations.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/docs/images/favicon/about.txt +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/docs/images/favicon/android-chrome-192x192.png +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/docs/images/favicon/android-chrome-512x512.png +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/docs/images/favicon/apple-touch-icon.png +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/docs/images/favicon/favicon-16x16.png +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/docs/images/favicon/favicon-32x32.png +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/docs/images/favicon/favicon.ico +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/docs/images/favicon/favicon_io.zip +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/docs/images/favicon/pymetadata-100x100-300dpi.png +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/docs/images/favicon/site.webmanifest +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.0.10.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.0.11.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.0.12.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.0.13.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.0.14.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.0.15.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.0.16.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.0.17.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.0.18.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.0.19.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.0.2.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.0.20.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.0.21.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.0.22.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.0.3.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.0.4.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.0.5.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.0.6.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.0.7.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.0.8.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.0.9.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.1.0.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.2.1.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.2.10.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.2.2.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.2.3.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.2.4.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.2.5.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.2.6.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.2.7.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.2.8.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.2.9.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.3.0.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.3.1.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.3.10.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.3.11.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.3.2.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.3.3.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.3.4.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.3.5.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.3.6.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.3.7.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.3.8.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.3.9.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.4.0.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.4.1.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.4.2.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.4.3.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.4.4.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.5.0.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/release-notes/0.5.1.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/src/pymetadata/cache.py +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/src/pymetadata/chebi.py +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/src/pymetadata/console.py +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/src/pymetadata/core/__init__.py +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/src/pymetadata/core/annotation.py +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/src/pymetadata/core/creator.py +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/src/pymetadata/core/synonym.py +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/src/pymetadata/core/xref.py +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/src/pymetadata/examples/__init__.py +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/src/pymetadata/examples/cache_path_example.py +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/src/pymetadata/examples/omex_example.py +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/src/pymetadata/examples/results/test_from_files.omex +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/src/pymetadata/examples/results/test_from_omex.omex +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/src/pymetadata/examples/results/testomex/README.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/src/pymetadata/examples/results/testomex/manifest.xml +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/src/pymetadata/examples/results/testomex/models/omex_comp.xml +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/src/pymetadata/examples/results/testomex/models/omex_comp_flat.xml +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/src/pymetadata/examples/results/testomex/models/omex_minimal.xml +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/src/pymetadata/examples/test.omex +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/src/pymetadata/identifiers/__init__.py +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/src/pymetadata/identifiers/miriam.py +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/src/pymetadata/identifiers/registry.py +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/src/pymetadata/log.py +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/src/pymetadata/metadata/__init__.py +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/src/pymetadata/metadata/eco.py +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/src/pymetadata/metadata/kisao.py +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/src/pymetadata/metadata/sbo.py +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/src/pymetadata/omex.py +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/src/pymetadata/omex_v2.py +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/src/pymetadata/ontologies/__init__.py +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/src/pymetadata/ontologies/ols.py +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/src/pymetadata/ontologies/ontology.py +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/src/pymetadata/py.typed +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/src/pymetadata/resources/chebi_webservice_wsdl.xml +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/src/pymetadata/resources/ontologies/README.md +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/src/pymetadata/resources/templates/ontology_enum.pytemplate +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/src/pymetadata/unichem.py +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/tests/core/test_annotation.py +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/tests/core/test_creator.py +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/tests/data/omex/BIOMD0000000001.omex +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/tests/data/omex/CombineArchiveShowCase.omex +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/tests/data/omex/CombineArchiveShowCase_manifest.xml +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/tests/data/omex/CompModels.omex +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/tests/data/omex/CompModels_manifest.xml +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/tests/data/omex/iCGB21FR.omex +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/tests/test_chebi.py +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/tests/test_ols.py +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/tests/test_omex.py +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/tests/test_ontology.py +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/tests/test_registry.py +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/tests/test_sbo_kisao.py +0 -0
- {pymetadata-0.5.1 → pymetadata-0.5.2}/tests/test_unichem.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
name: CI-CD
|
|
2
2
|
|
|
3
|
-
on: [push]
|
|
3
|
+
on: [ push, pull_request ]
|
|
4
4
|
jobs:
|
|
5
5
|
test:
|
|
6
6
|
runs-on: ${{ matrix.os }}
|
|
@@ -25,19 +25,14 @@ jobs:
|
|
|
25
25
|
|
|
26
26
|
steps:
|
|
27
27
|
- uses: actions/checkout@v4
|
|
28
|
-
- name:
|
|
29
|
-
uses:
|
|
28
|
+
- name: Install uv and set the python version
|
|
29
|
+
uses: astral-sh/setup-uv@v5
|
|
30
30
|
with:
|
|
31
31
|
python-version: ${{ matrix.python-version }}
|
|
32
|
-
|
|
33
|
-
run: |
|
|
34
|
-
python -m pip install --upgrade pip wheel
|
|
35
|
-
python -m pip install tox tox-gh-actions
|
|
36
|
-
|
|
37
|
-
# Update output format to enable automatic inline annotations.
|
|
32
|
+
enable-cache: true
|
|
38
33
|
- name: Test with tox
|
|
39
34
|
run:
|
|
40
|
-
tox
|
|
35
|
+
uvx --with tox-uv tox -e py${{ matrix.python-version }}
|
|
41
36
|
|
|
42
37
|
release:
|
|
43
38
|
needs: test
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
name: MyPy
|
|
2
|
+
on: [ push, pull_request ]
|
|
3
|
+
jobs:
|
|
4
|
+
mypy:
|
|
5
|
+
runs-on: ubuntu-latest
|
|
6
|
+
strategy:
|
|
7
|
+
fail-fast: false
|
|
8
|
+
matrix:
|
|
9
|
+
os: [ ubuntu-latest ]
|
|
10
|
+
python-version: [ "3.13" ]
|
|
11
|
+
|
|
12
|
+
steps:
|
|
13
|
+
- uses: actions/checkout@v4
|
|
14
|
+
- name: Install uv and set the python version
|
|
15
|
+
uses: astral-sh/setup-uv@v5
|
|
16
|
+
with:
|
|
17
|
+
python-version: ${{ matrix.python-version }}
|
|
18
|
+
enable-cache: true
|
|
19
|
+
- name: Test with tox
|
|
20
|
+
run:
|
|
21
|
+
uvx --with tox-uv tox -e mypy
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: pymetadata
|
|
3
|
+
Version: 0.5.2
|
|
4
|
+
Summary: pymetadata are python utilities for working with metadata.
|
|
5
|
+
Author-email: Matthias König <konigmatt@googlemail.com>
|
|
6
|
+
Maintainer-email: Matthias König <konigmatt@googlemail.com>
|
|
7
|
+
License-File: LICENSE
|
|
8
|
+
Keywords: COMBINE,annotation,archive,metadata,modeling,standardization
|
|
9
|
+
Classifier: Development Status :: 4 - Beta
|
|
10
|
+
Classifier: Intended Audience :: Science/Research
|
|
11
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
12
|
+
Classifier: Operating System :: OS Independent
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
17
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
18
|
+
Classifier: Topic :: Scientific/Engineering
|
|
19
|
+
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
|
|
20
|
+
Requires-Python: >=3.10
|
|
21
|
+
Requires-Dist: depinfo>=2.2.0
|
|
22
|
+
Requires-Dist: fastobo>=0.12.3
|
|
23
|
+
Requires-Dist: jinja2>=3.1.5
|
|
24
|
+
Requires-Dist: lxml>=5.3
|
|
25
|
+
Requires-Dist: pronto>=2.5.8
|
|
26
|
+
Requires-Dist: pydantic>=2.10.4
|
|
27
|
+
Requires-Dist: requests>=2.32.3
|
|
28
|
+
Requires-Dist: rich>=13.9.4
|
|
29
|
+
Requires-Dist: xmltodict>=0.14.2
|
|
30
|
+
Requires-Dist: zeep>=4.3.1
|
|
31
|
+
Provides-Extra: dev
|
|
32
|
+
Requires-Dist: bump-my-version>=0.29.0; extra == 'dev'
|
|
33
|
+
Requires-Dist: mypy>=1.9.0; extra == 'dev'
|
|
34
|
+
Requires-Dist: pre-commit>=4.0.1; extra == 'dev'
|
|
35
|
+
Requires-Dist: ruff>=0.8.6; extra == 'dev'
|
|
36
|
+
Provides-Extra: test
|
|
37
|
+
Requires-Dist: pytest-cov>=5.0.0; extra == 'test'
|
|
38
|
+
Requires-Dist: pytest>=8.1.1; extra == 'test'
|
|
39
|
+
Requires-Dist: tox>=4.14.2; extra == 'test'
|
|
40
|
+
Description-Content-Type: text/markdown
|
|
41
|
+
|
|
42
|
+

|
|
43
|
+
|
|
44
|
+
# pymetadata: python utilities for metadata and COMBINE archives
|
|
45
|
+
[](https://github.com/matthiaskoenig/pymetadata/actions/workflows/main.yml)
|
|
46
|
+
[](https://pypi.org/project/pymetadata/)
|
|
47
|
+
[](https://pypi.org/project/pymetadata/)
|
|
48
|
+
[](https://opensource.org/licenses/MIT)
|
|
49
|
+
[](https://doi.org/10.5281/zenodo.5308801)
|
|
50
|
+
|
|
51
|
+
pymetadata is a collection of python utilities for working with
|
|
52
|
+
metadata in the context of COMBINE standards with source code available from
|
|
53
|
+
[https://github.com/matthiaskoenig/pymetadata](https://github.com/matthiaskoenig/pymetadata).
|
|
54
|
+
|
|
55
|
+
Features include among others
|
|
56
|
+
|
|
57
|
+
- COMBINE archive version 1 support (OMEX)
|
|
58
|
+
- annotation classes and helpers
|
|
59
|
+
- SBO and KISAO ontology enums
|
|
60
|
+
|
|
61
|
+
If you have any questions or issues please [open an issue](https://github.com/matthiaskoenig/pymetadata/issues).
|
|
62
|
+
|
|
63
|
+
# Documentation
|
|
64
|
+
Documentation is still work in progress. For an example usage of the COMBINE archive
|
|
65
|
+
see [omex_example.py](src/pymetadata/examples/omex_example.py).
|
|
66
|
+
|
|
67
|
+
# How to cite
|
|
68
|
+
[](https://doi.org/10.5281/zenodo.5308801)
|
|
69
|
+
|
|
70
|
+
# Contributing
|
|
71
|
+
Contributions are always welcome! Please read the [contributing guidelines](https://github.com/matthiaskoenig/pymetadata/blob/develop/.github/CONTRIBUTING.rst) to get started.
|
|
72
|
+
|
|
73
|
+
# License
|
|
74
|
+
- Source Code: [MIT](https://opensource.org/license/MIT)
|
|
75
|
+
- Documentation: [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)
|
|
76
|
+
|
|
77
|
+
# Funding
|
|
78
|
+
Matthias König (MK) was supported by the Federal Ministry of Education and Research (BMBF, Germany) within the research network Systems Medicine of the Liver (**LiSyM**, grant number 031L0054). MK is supported by the Federal Ministry of Education and Research (BMBF, Germany) within ATLAS by grant number 031L0304B and by the German Research Foundation (DFG) within the Research Unit Program FOR 5151 QuaLiPerF (Quantifying Liver Perfusion-Function Relationship in Complex Resection - A Systems Medicine Approach) by grant number 436883643 and by grant number 465194077 (Priority Programme SPP 2311, Subproject SimLivA).
|
|
79
|
+
|
|
80
|
+
# Installation
|
|
81
|
+
`pymetadata` is available from [pypi](https://pypi.python.org/pypi/pymetadata) and
|
|
82
|
+
can be installed via
|
|
83
|
+
|
|
84
|
+
```bash
|
|
85
|
+
pip install pymetadata
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
## Develop version
|
|
89
|
+
The latest develop version can be installed via
|
|
90
|
+
```bash
|
|
91
|
+
pip install git+https://github.com/matthiaskoenig/pymetadata.git@develop
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
Or via cloning the repository and installing via
|
|
95
|
+
```bash
|
|
96
|
+
git clone https://github.com/matthiaskoenig/pymetadata.git
|
|
97
|
+
cd pymetadata
|
|
98
|
+
pip install -e .
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
# Cache path
|
|
102
|
+
`pymetadata` caches some information for faster retrieval. The cache path is set to
|
|
103
|
+
|
|
104
|
+
```python
|
|
105
|
+
CACHE_PATH: Path = Path.home() / ".cache" / "pymetadata"
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
To use a custom cache path use
|
|
109
|
+
|
|
110
|
+
```python
|
|
111
|
+
import pymetadata
|
|
112
|
+
pymetadata.CACHE_PATH = <cache_path>
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
© 2021-2025 Matthias König
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+

|
|
2
|
+
|
|
3
|
+
# pymetadata: python utilities for metadata and COMBINE archives
|
|
4
|
+
[](https://github.com/matthiaskoenig/pymetadata/actions/workflows/main.yml)
|
|
5
|
+
[](https://pypi.org/project/pymetadata/)
|
|
6
|
+
[](https://pypi.org/project/pymetadata/)
|
|
7
|
+
[](https://opensource.org/licenses/MIT)
|
|
8
|
+
[](https://doi.org/10.5281/zenodo.5308801)
|
|
9
|
+
|
|
10
|
+
pymetadata is a collection of python utilities for working with
|
|
11
|
+
metadata in the context of COMBINE standards with source code available from
|
|
12
|
+
[https://github.com/matthiaskoenig/pymetadata](https://github.com/matthiaskoenig/pymetadata).
|
|
13
|
+
|
|
14
|
+
Features include among others
|
|
15
|
+
|
|
16
|
+
- COMBINE archive version 1 support (OMEX)
|
|
17
|
+
- annotation classes and helpers
|
|
18
|
+
- SBO and KISAO ontology enums
|
|
19
|
+
|
|
20
|
+
If you have any questions or issues please [open an issue](https://github.com/matthiaskoenig/pymetadata/issues).
|
|
21
|
+
|
|
22
|
+
# Documentation
|
|
23
|
+
Documentation is still work in progress. For an example usage of the COMBINE archive
|
|
24
|
+
see [omex_example.py](src/pymetadata/examples/omex_example.py).
|
|
25
|
+
|
|
26
|
+
# How to cite
|
|
27
|
+
[](https://doi.org/10.5281/zenodo.5308801)
|
|
28
|
+
|
|
29
|
+
# Contributing
|
|
30
|
+
Contributions are always welcome! Please read the [contributing guidelines](https://github.com/matthiaskoenig/pymetadata/blob/develop/.github/CONTRIBUTING.rst) to get started.
|
|
31
|
+
|
|
32
|
+
# License
|
|
33
|
+
- Source Code: [MIT](https://opensource.org/license/MIT)
|
|
34
|
+
- Documentation: [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)
|
|
35
|
+
|
|
36
|
+
# Funding
|
|
37
|
+
Matthias König (MK) was supported by the Federal Ministry of Education and Research (BMBF, Germany) within the research network Systems Medicine of the Liver (**LiSyM**, grant number 031L0054). MK is supported by the Federal Ministry of Education and Research (BMBF, Germany) within ATLAS by grant number 031L0304B and by the German Research Foundation (DFG) within the Research Unit Program FOR 5151 QuaLiPerF (Quantifying Liver Perfusion-Function Relationship in Complex Resection - A Systems Medicine Approach) by grant number 436883643 and by grant number 465194077 (Priority Programme SPP 2311, Subproject SimLivA).
|
|
38
|
+
|
|
39
|
+
# Installation
|
|
40
|
+
`pymetadata` is available from [pypi](https://pypi.python.org/pypi/pymetadata) and
|
|
41
|
+
can be installed via
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
pip install pymetadata
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Develop version
|
|
48
|
+
The latest develop version can be installed via
|
|
49
|
+
```bash
|
|
50
|
+
pip install git+https://github.com/matthiaskoenig/pymetadata.git@develop
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
Or via cloning the repository and installing via
|
|
54
|
+
```bash
|
|
55
|
+
git clone https://github.com/matthiaskoenig/pymetadata.git
|
|
56
|
+
cd pymetadata
|
|
57
|
+
pip install -e .
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
# Cache path
|
|
61
|
+
`pymetadata` caches some information for faster retrieval. The cache path is set to
|
|
62
|
+
|
|
63
|
+
```python
|
|
64
|
+
CACHE_PATH: Path = Path.home() / ".cache" / "pymetadata"
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
To use a custom cache path use
|
|
68
|
+
|
|
69
|
+
```python
|
|
70
|
+
import pymetadata
|
|
71
|
+
pymetadata.CACHE_PATH = <cache_path>
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
© 2021-2025 Matthias König
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* update release notes in `release-notes` with commit
|
|
6
6
|
* make sure all tests run (`tox run-parallel`)
|
|
7
7
|
* check formating and linting (`ruff check`)
|
|
8
|
-
* test bump version (`bump-my-version bump [major|minor|patch] --dry-run -vv`)
|
|
8
|
+
* test bump version (`uv run bump-my-version bump [major|minor|patch] --dry-run -vv`)
|
|
9
9
|
* bump version (`bump-my-version bump [major|minor|patch]`)
|
|
10
10
|
* `git push --tags` (triggers release)
|
|
11
11
|
* `git push`
|
|
@@ -6,7 +6,7 @@ build-backend = "hatchling.build"
|
|
|
6
6
|
name = "pymetadata"
|
|
7
7
|
dynamic = ["version"]
|
|
8
8
|
description = "pymetadata are python utilities for working with metadata."
|
|
9
|
-
readme = "README.
|
|
9
|
+
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
11
11
|
authors = [
|
|
12
12
|
{name="Matthias König", email="konigmatt@googlemail.com"}
|
|
@@ -54,7 +54,6 @@ dev = [
|
|
|
54
54
|
"ruff>=0.8.6",
|
|
55
55
|
"pre-commit>=4.0.1",
|
|
56
56
|
"mypy>=1.9.0",
|
|
57
|
-
"hatch"
|
|
58
57
|
]
|
|
59
58
|
test = [
|
|
60
59
|
"tox>=4.14.2",
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Release notes for pymetadata 0.5.2
|
|
2
|
+

|
|
3
|
+
|
|
4
|
+
We are pleased to release the next version of pymetadata including the
|
|
5
|
+
following changes:
|
|
6
|
+
|
|
7
|
+
## Features & fixes
|
|
8
|
+
- Speedup CI-CD with uv
|
|
9
|
+
- Markdown README
|
|
10
|
+
|
|
11
|
+
Your pymetadata team
|
|
@@ -1,13 +1,5 @@
|
|
|
1
|
-
# --- tox -----------------------------------------------------------------------------------------------------------
|
|
2
1
|
[tox]
|
|
3
|
-
envlist = mypy, py3{10,11,12,13}
|
|
4
|
-
|
|
5
|
-
[gh-actions]
|
|
6
|
-
python =
|
|
7
|
-
3.10: py310
|
|
8
|
-
3.11: py311
|
|
9
|
-
3.12: py312
|
|
10
|
-
3.13: py313
|
|
2
|
+
envlist = mypy, py3.{10,11,12,13}
|
|
11
3
|
|
|
12
4
|
[testenv]
|
|
13
5
|
package = wheel
|
|
@@ -18,15 +10,6 @@ deps=
|
|
|
18
10
|
commands =
|
|
19
11
|
pytest
|
|
20
12
|
|
|
21
|
-
[testenv:mypy]
|
|
22
|
-
skip_install = True
|
|
23
|
-
|
|
24
|
-
deps=[]
|
|
25
|
-
mypy
|
|
26
|
-
commands=
|
|
27
|
-
mypy {toxinidir}/src/pymetadata {toxinidir}/tests --config-file tox.ini
|
|
28
|
-
|
|
29
|
-
|
|
30
13
|
[testenv:install]
|
|
31
14
|
skip_install = True
|
|
32
15
|
deps=
|
|
@@ -37,9 +20,13 @@ commands=
|
|
|
37
20
|
python -m build {toxinidir}
|
|
38
21
|
twine check {toxinidir}/dist/*
|
|
39
22
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
23
|
+
[testenv:mypy]
|
|
24
|
+
skip_install = True
|
|
25
|
+
deps=[]
|
|
26
|
+
mypy
|
|
27
|
+
commands=
|
|
28
|
+
mypy {toxinidir}/src/pymetadata {toxinidir}/tests --config-file tox.ini
|
|
29
|
+
|
|
43
30
|
[pytest]
|
|
44
31
|
testpaths =
|
|
45
32
|
tests
|
|
@@ -47,7 +34,6 @@ markers =
|
|
|
47
34
|
raises
|
|
48
35
|
|
|
49
36
|
[mypy]
|
|
50
|
-
# mypy src/pymetadata --config-file tox.ini
|
|
51
37
|
warn_return_any = True
|
|
52
38
|
follow_imports = silent
|
|
53
39
|
disallow_untyped_defs = True
|
pymetadata-0.5.1/PKG-INFO
DELETED
|
@@ -1,154 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: pymetadata
|
|
3
|
-
Version: 0.5.1
|
|
4
|
-
Summary: pymetadata are python utilities for working with metadata.
|
|
5
|
-
Author-email: Matthias König <konigmatt@googlemail.com>
|
|
6
|
-
Maintainer-email: Matthias König <konigmatt@googlemail.com>
|
|
7
|
-
License-File: LICENSE
|
|
8
|
-
Keywords: COMBINE,annotation,archive,metadata,modeling,standardization
|
|
9
|
-
Classifier: Development Status :: 4 - Beta
|
|
10
|
-
Classifier: Intended Audience :: Science/Research
|
|
11
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
12
|
-
Classifier: Operating System :: OS Independent
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
14
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
15
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
16
|
-
Classifier: Programming Language :: Python :: 3.13
|
|
17
|
-
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
18
|
-
Classifier: Topic :: Scientific/Engineering
|
|
19
|
-
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
|
|
20
|
-
Requires-Python: >=3.10
|
|
21
|
-
Requires-Dist: depinfo>=2.2.0
|
|
22
|
-
Requires-Dist: fastobo>=0.12.3
|
|
23
|
-
Requires-Dist: jinja2>=3.1.5
|
|
24
|
-
Requires-Dist: lxml>=5.3
|
|
25
|
-
Requires-Dist: pronto>=2.5.8
|
|
26
|
-
Requires-Dist: pydantic>=2.10.4
|
|
27
|
-
Requires-Dist: requests>=2.32.3
|
|
28
|
-
Requires-Dist: rich>=13.9.4
|
|
29
|
-
Requires-Dist: xmltodict>=0.14.2
|
|
30
|
-
Requires-Dist: zeep>=4.3.1
|
|
31
|
-
Provides-Extra: dev
|
|
32
|
-
Requires-Dist: bump-my-version>=0.29.0; extra == 'dev'
|
|
33
|
-
Requires-Dist: hatch; extra == 'dev'
|
|
34
|
-
Requires-Dist: mypy>=1.9.0; extra == 'dev'
|
|
35
|
-
Requires-Dist: pre-commit>=4.0.1; extra == 'dev'
|
|
36
|
-
Requires-Dist: ruff>=0.8.6; extra == 'dev'
|
|
37
|
-
Provides-Extra: test
|
|
38
|
-
Requires-Dist: pytest-cov>=5.0.0; extra == 'test'
|
|
39
|
-
Requires-Dist: pytest>=8.1.1; extra == 'test'
|
|
40
|
-
Requires-Dist: tox>=4.14.2; extra == 'test'
|
|
41
|
-
Description-Content-Type: text/x-rst
|
|
42
|
-
|
|
43
|
-
.. image:: https://github.com/matthiaskoenig/pymetadata/raw/develop/docs/images/favicon/pymetadata-100x100-300dpi.png
|
|
44
|
-
:align: left
|
|
45
|
-
:alt: pymetadata logo
|
|
46
|
-
|
|
47
|
-
pymetadata: python utilities for metadata and COMBINE archives
|
|
48
|
-
==============================================================
|
|
49
|
-
|icon1| |icon2| |icon3| |icon4| |icon5| |icon6|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
.. |icon1| image:: https://github.com/matthiaskoenig/pymetadata/workflows/CI-CD/badge.svg
|
|
53
|
-
:target: https://github.com/matthiaskoenig/pymetadata/workflows/CI-CD
|
|
54
|
-
:alt: GitHub Actions CI/CD Status
|
|
55
|
-
.. |icon2| image:: https://img.shields.io/pypi/v/pymetadata.svg
|
|
56
|
-
:target: https://pypi.org/project/pymetadata/
|
|
57
|
-
:alt: Current PyPI Version
|
|
58
|
-
.. |icon3| image:: https://img.shields.io/pypi/pyversions/pymetadata.svg
|
|
59
|
-
:target: https://pypi.org/project/pymetadata/
|
|
60
|
-
:alt: Supported Python Versions
|
|
61
|
-
.. |icon4| image:: https://img.shields.io/pypi/l/pymetadata.svg
|
|
62
|
-
:target: https://opensource.org/licenses/MIT
|
|
63
|
-
:alt: MIT License
|
|
64
|
-
.. |icon5| image:: https://zenodo.org/badge/DOI/10.5281/zenodo.5308801.svg
|
|
65
|
-
:target: https://doi.org/10.5281/zenodo.5308801
|
|
66
|
-
:alt: Zenodo DOI
|
|
67
|
-
.. |icon6| image:: http://www.mypy-lang.org/static/mypy_badge.svg
|
|
68
|
-
:target: http://mypy-lang.org/
|
|
69
|
-
:alt: mypy
|
|
70
|
-
|
|
71
|
-
pymetadata is a collection of python utilities for working with
|
|
72
|
-
metadata in the context of COMBINE standards with source code available from
|
|
73
|
-
`https://github.com/matthiaskoenig/pymetadata <https://github.com/matthiaskoenig/pymetadata>`__.
|
|
74
|
-
|
|
75
|
-
Features include among others
|
|
76
|
-
|
|
77
|
-
- COMBINE archive version 1 support (OMEX)
|
|
78
|
-
- annotation classes and helpers
|
|
79
|
-
- SBO and KISAO ontology enums
|
|
80
|
-
|
|
81
|
-
If you have any questions or issues please `open an issue <https://github.com/matthiaskoenig/pymetadata/issues>`__.
|
|
82
|
-
|
|
83
|
-
Documentation
|
|
84
|
-
=============
|
|
85
|
-
Documentation is still work in progress. For an example usage of the COMBINE archive
|
|
86
|
-
see `src/pymetadata/examples/omex_example.py <src/pymetadata/examples/omex_example.py>`__.
|
|
87
|
-
|
|
88
|
-
How to cite
|
|
89
|
-
===========
|
|
90
|
-
|
|
91
|
-
.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.5308801.svg
|
|
92
|
-
:target: https://doi.org/10.5281/zenodo.5308801
|
|
93
|
-
:alt: Zenodo DOI
|
|
94
|
-
|
|
95
|
-
Contributing
|
|
96
|
-
============
|
|
97
|
-
|
|
98
|
-
Contributions are always welcome! Please read the `contributing guidelines
|
|
99
|
-
<https://github.com/matthiaskoenig/pymetadata/blob/develop/.github/CONTRIBUTING.rst>`__ to
|
|
100
|
-
get started.
|
|
101
|
-
|
|
102
|
-
License
|
|
103
|
-
=======
|
|
104
|
-
* Source Code: `MIT <https://opensource.org/license/MIT>`__
|
|
105
|
-
* Documentation: `CC BY-SA 4.0 <https://creativecommons.org/licenses/by-sa/4.0/>`__
|
|
106
|
-
|
|
107
|
-
Funding
|
|
108
|
-
=======
|
|
109
|
-
Matthias König (MK) was supported by the Federal Ministry of Education and Research (BMBF, Germany) within the research network Systems Medicine of the Liver (**LiSyM**, grant number 031L0054). MK is supported by the Federal Ministry of Education and Research (BMBF, Germany) within ATLAS by grant number 031L0304B and by the German Research Foundation (DFG) within the Research Unit Program FOR 5151 QuaLiPerF (Quantifying Liver Perfusion-Function Relationship in Complex Resection - A Systems Medicine Approach) by grant number 436883643 and by grant number 465194077 (Priority Programme SPP 2311, Subproject SimLivA).
|
|
110
|
-
|
|
111
|
-
Installation
|
|
112
|
-
============
|
|
113
|
-
`pymetadata` is available from `pypi <https://pypi.python.org/pypi/pymetadata>`__ and
|
|
114
|
-
can be installed via::
|
|
115
|
-
|
|
116
|
-
pip install pymetadata
|
|
117
|
-
|
|
118
|
-
Develop version
|
|
119
|
-
---------------
|
|
120
|
-
The latest develop version can be installed via::
|
|
121
|
-
|
|
122
|
-
pip install git+https://github.com/matthiaskoenig/pymetadata.git@develop
|
|
123
|
-
|
|
124
|
-
Or via cloning the repository and installing via::
|
|
125
|
-
|
|
126
|
-
git clone https://github.com/matthiaskoenig/pymetadata.git
|
|
127
|
-
cd pymetadata
|
|
128
|
-
pip install -e .
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
To install for development use::
|
|
132
|
-
|
|
133
|
-
pip install -e .[development]
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
Cache path
|
|
137
|
-
==========
|
|
138
|
-
`pymetadata` caches some information for faster retrieval. The cache path is set to::
|
|
139
|
-
|
|
140
|
-
CACHE_PATH: Path = Path.home() / ".cache" / "pymetadata"
|
|
141
|
-
|
|
142
|
-
To use a custom cache path use::
|
|
143
|
-
|
|
144
|
-
import pymetadata
|
|
145
|
-
pymetadata.CACHE_PATH = <cache_path>
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
Checks
|
|
149
|
-
==========
|
|
150
|
-
- uv for project setup
|
|
151
|
-
- ruff for linting, formating
|
|
152
|
-
- mypy for type checking
|
|
153
|
-
|
|
154
|
-
© 2021-2025 Matthias König
|
pymetadata-0.5.1/README.rst
DELETED
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
.. image:: https://github.com/matthiaskoenig/pymetadata/raw/develop/docs/images/favicon/pymetadata-100x100-300dpi.png
|
|
2
|
-
:align: left
|
|
3
|
-
:alt: pymetadata logo
|
|
4
|
-
|
|
5
|
-
pymetadata: python utilities for metadata and COMBINE archives
|
|
6
|
-
==============================================================
|
|
7
|
-
|icon1| |icon2| |icon3| |icon4| |icon5| |icon6|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
.. |icon1| image:: https://github.com/matthiaskoenig/pymetadata/workflows/CI-CD/badge.svg
|
|
11
|
-
:target: https://github.com/matthiaskoenig/pymetadata/workflows/CI-CD
|
|
12
|
-
:alt: GitHub Actions CI/CD Status
|
|
13
|
-
.. |icon2| image:: https://img.shields.io/pypi/v/pymetadata.svg
|
|
14
|
-
:target: https://pypi.org/project/pymetadata/
|
|
15
|
-
:alt: Current PyPI Version
|
|
16
|
-
.. |icon3| image:: https://img.shields.io/pypi/pyversions/pymetadata.svg
|
|
17
|
-
:target: https://pypi.org/project/pymetadata/
|
|
18
|
-
:alt: Supported Python Versions
|
|
19
|
-
.. |icon4| image:: https://img.shields.io/pypi/l/pymetadata.svg
|
|
20
|
-
:target: https://opensource.org/licenses/MIT
|
|
21
|
-
:alt: MIT License
|
|
22
|
-
.. |icon5| image:: https://zenodo.org/badge/DOI/10.5281/zenodo.5308801.svg
|
|
23
|
-
:target: https://doi.org/10.5281/zenodo.5308801
|
|
24
|
-
:alt: Zenodo DOI
|
|
25
|
-
.. |icon6| image:: http://www.mypy-lang.org/static/mypy_badge.svg
|
|
26
|
-
:target: http://mypy-lang.org/
|
|
27
|
-
:alt: mypy
|
|
28
|
-
|
|
29
|
-
pymetadata is a collection of python utilities for working with
|
|
30
|
-
metadata in the context of COMBINE standards with source code available from
|
|
31
|
-
`https://github.com/matthiaskoenig/pymetadata <https://github.com/matthiaskoenig/pymetadata>`__.
|
|
32
|
-
|
|
33
|
-
Features include among others
|
|
34
|
-
|
|
35
|
-
- COMBINE archive version 1 support (OMEX)
|
|
36
|
-
- annotation classes and helpers
|
|
37
|
-
- SBO and KISAO ontology enums
|
|
38
|
-
|
|
39
|
-
If you have any questions or issues please `open an issue <https://github.com/matthiaskoenig/pymetadata/issues>`__.
|
|
40
|
-
|
|
41
|
-
Documentation
|
|
42
|
-
=============
|
|
43
|
-
Documentation is still work in progress. For an example usage of the COMBINE archive
|
|
44
|
-
see `src/pymetadata/examples/omex_example.py <src/pymetadata/examples/omex_example.py>`__.
|
|
45
|
-
|
|
46
|
-
How to cite
|
|
47
|
-
===========
|
|
48
|
-
|
|
49
|
-
.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.5308801.svg
|
|
50
|
-
:target: https://doi.org/10.5281/zenodo.5308801
|
|
51
|
-
:alt: Zenodo DOI
|
|
52
|
-
|
|
53
|
-
Contributing
|
|
54
|
-
============
|
|
55
|
-
|
|
56
|
-
Contributions are always welcome! Please read the `contributing guidelines
|
|
57
|
-
<https://github.com/matthiaskoenig/pymetadata/blob/develop/.github/CONTRIBUTING.rst>`__ to
|
|
58
|
-
get started.
|
|
59
|
-
|
|
60
|
-
License
|
|
61
|
-
=======
|
|
62
|
-
* Source Code: `MIT <https://opensource.org/license/MIT>`__
|
|
63
|
-
* Documentation: `CC BY-SA 4.0 <https://creativecommons.org/licenses/by-sa/4.0/>`__
|
|
64
|
-
|
|
65
|
-
Funding
|
|
66
|
-
=======
|
|
67
|
-
Matthias König (MK) was supported by the Federal Ministry of Education and Research (BMBF, Germany) within the research network Systems Medicine of the Liver (**LiSyM**, grant number 031L0054). MK is supported by the Federal Ministry of Education and Research (BMBF, Germany) within ATLAS by grant number 031L0304B and by the German Research Foundation (DFG) within the Research Unit Program FOR 5151 QuaLiPerF (Quantifying Liver Perfusion-Function Relationship in Complex Resection - A Systems Medicine Approach) by grant number 436883643 and by grant number 465194077 (Priority Programme SPP 2311, Subproject SimLivA).
|
|
68
|
-
|
|
69
|
-
Installation
|
|
70
|
-
============
|
|
71
|
-
`pymetadata` is available from `pypi <https://pypi.python.org/pypi/pymetadata>`__ and
|
|
72
|
-
can be installed via::
|
|
73
|
-
|
|
74
|
-
pip install pymetadata
|
|
75
|
-
|
|
76
|
-
Develop version
|
|
77
|
-
---------------
|
|
78
|
-
The latest develop version can be installed via::
|
|
79
|
-
|
|
80
|
-
pip install git+https://github.com/matthiaskoenig/pymetadata.git@develop
|
|
81
|
-
|
|
82
|
-
Or via cloning the repository and installing via::
|
|
83
|
-
|
|
84
|
-
git clone https://github.com/matthiaskoenig/pymetadata.git
|
|
85
|
-
cd pymetadata
|
|
86
|
-
pip install -e .
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
To install for development use::
|
|
90
|
-
|
|
91
|
-
pip install -e .[development]
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
Cache path
|
|
95
|
-
==========
|
|
96
|
-
`pymetadata` caches some information for faster retrieval. The cache path is set to::
|
|
97
|
-
|
|
98
|
-
CACHE_PATH: Path = Path.home() / ".cache" / "pymetadata"
|
|
99
|
-
|
|
100
|
-
To use a custom cache path use::
|
|
101
|
-
|
|
102
|
-
import pymetadata
|
|
103
|
-
pymetadata.CACHE_PATH = <cache_path>
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
Checks
|
|
107
|
-
==========
|
|
108
|
-
- uv for project setup
|
|
109
|
-
- ruff for linting, formating
|
|
110
|
-
- mypy for type checking
|
|
111
|
-
|
|
112
|
-
© 2021-2025 Matthias König
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pymetadata-0.5.1 → pymetadata-0.5.2}/src/pymetadata/examples/results/testomex/models/omex_comp.xml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pymetadata-0.5.1 → pymetadata-0.5.2}/src/pymetadata/resources/templates/ontology_enum.pytemplate
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|