pymetadata 0.4.1__py2.py3-none-any.whl → 0.4.2__py2.py3-none-any.whl

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/unichem.py CHANGED
@@ -96,11 +96,12 @@ class UnichemQuery:
96
96
  sources = {source.sourceID: source for source in sources_list}
97
97
 
98
98
  # write cache
99
- write_json_cache(
100
- data=sources,
101
- cache_path=unichem_sources_path,
102
- json_encoder=DataclassJSONEncoder,
103
- )
99
+ if cache:
100
+ write_json_cache(
101
+ data=sources,
102
+ cache_path=unichem_sources_path,
103
+ json_encoder=DataclassJSONEncoder,
104
+ )
104
105
 
105
106
  return sources
106
107
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pymetadata
3
- Version: 0.4.1
3
+ Version: 0.4.2
4
4
  Summary: pymetadata are python utilities for working with metadata.
5
5
  Home-page: https://github.com/matthiaskoenig/pymetadata
6
6
  Download-URL: https://pypi.org/project/pymetadata
@@ -28,27 +28,26 @@ Requires-Python: >=3.9
28
28
  Description-Content-Type: text/x-rst
29
29
  License-File: LICENSE
30
30
  Requires-Dist: depinfo >=1.7
31
- Requires-Dist: uuid >=1.30
32
- Requires-Dist: lxml >=4.9
33
- Requires-Dist: rich >=13.6
31
+ Requires-Dist: lxml >=5.2
32
+ Requires-Dist: rich >=13.7
34
33
  Requires-Dist: requests >=2.31
35
34
  Requires-Dist: zeep >=4.2.1
36
- Requires-Dist: pronto >=2.5.5
37
- Requires-Dist: fastobo >=0.12.2
38
- Requires-Dist: jinja2 >=3.1.2
35
+ Requires-Dist: pronto >=2.5.6
36
+ Requires-Dist: fastobo >=0.12.3
37
+ Requires-Dist: jinja2 >=3.1
39
38
  Requires-Dist: xmltodict >=0.13.0
40
- Requires-Dist: pydantic >=2.4
39
+ Requires-Dist: pydantic >=2.6
41
40
  Provides-Extra: development
42
- Requires-Dist: pip-tools >6.10 ; extra == 'development'
43
- Requires-Dist: black >=24.1.1 ; extra == 'development'
41
+ Requires-Dist: pip-tools >=7.4.1 ; extra == 'development'
42
+ Requires-Dist: black >=24.3.0 ; extra == 'development'
44
43
  Requires-Dist: bump2version >=1.0.1 ; extra == 'development'
45
44
  Requires-Dist: isort >=5.13.2 ; extra == 'development'
46
- Requires-Dist: tox >=4.12.1 ; extra == 'development'
47
- Requires-Dist: flake8 >=6.1.0 ; extra == 'development'
45
+ Requires-Dist: tox >=4.12.2 ; extra == 'development'
46
+ Requires-Dist: flake8 >=7.0.0 ; extra == 'development'
48
47
  Requires-Dist: flake8-mypy >=17.8.0 ; extra == 'development'
49
- Requires-Dist: mypy >=1.8.0 ; extra == 'development'
50
- Requires-Dist: pytest >=8.0.0 ; extra == 'development'
51
- Requires-Dist: pytest-cov >=4.1.0 ; extra == 'development'
48
+ Requires-Dist: mypy >=1.9.0 ; extra == 'development'
49
+ Requires-Dist: pytest >=8.1.1 ; extra == 'development'
50
+ Requires-Dist: pytest-cov >=5.0.0 ; extra == 'development'
52
51
 
53
52
  .. image:: https://github.com/matthiaskoenig/pymetadata/raw/develop/docs/images/favicon/pymetadata-100x100-300dpi.png
54
53
  :align: left
@@ -56,36 +55,28 @@ Requires-Dist: pytest-cov >=4.1.0 ; extra == 'development'
56
55
 
57
56
  pymetadata: python utilities for metadata and COMBINE archives
58
57
  ==============================================================
58
+ |icon1| |icon2| |icon3| |icon4| |icon5| |icon6| |icon7|
59
59
 
60
- .. image:: https://github.com/matthiaskoenig/pymetadata/workflows/CI-CD/badge.svg
60
+
61
+ .. |icon1| image:: https://github.com/matthiaskoenig/pymetadata/workflows/CI-CD/badge.svg
61
62
  :target: https://github.com/matthiaskoenig/pymetadata/workflows/CI-CD
62
63
  :alt: GitHub Actions CI/CD Status
63
-
64
- .. image:: https://img.shields.io/pypi/v/pymetadata.svg
64
+ .. |icon2| image:: https://img.shields.io/pypi/v/pymetadata.svg
65
65
  :target: https://pypi.org/project/pymetadata/
66
66
  :alt: Current PyPI Version
67
-
68
- .. image:: https://img.shields.io/pypi/pyversions/pymetadata.svg
67
+ .. |icon3| image:: https://img.shields.io/pypi/pyversions/pymetadata.svg
69
68
  :target: https://pypi.org/project/pymetadata/
70
69
  :alt: Supported Python Versions
71
-
72
- .. image:: https://img.shields.io/pypi/l/pymetadata.svg
70
+ .. |icon4| image:: https://img.shields.io/pypi/l/pymetadata.svg
73
71
  :target: http://opensource.org/licenses/LGPL-3.0
74
72
  :alt: GNU Lesser General Public License 3
75
-
76
- .. image:: https://codecov.io/gh/matthiaskoenig/pymetadata/branch/develop/graph/badge.svg
77
- :target: https://codecov.io/gh/matthiaskoenig/pymetadata
78
- :alt: Codecov
79
-
80
- .. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.5308801.svg
73
+ .. |icon5| image:: https://zenodo.org/badge/DOI/10.5281/zenodo.5308801.svg
81
74
  :target: https://doi.org/10.5281/zenodo.5308801
82
75
  :alt: Zenodo DOI
83
-
84
- .. image:: https://img.shields.io/badge/code%20style-black-000000.svg
76
+ .. |icon6| image:: https://img.shields.io/badge/code%20style-black-000000.svg
85
77
  :target: https://github.com/ambv/black
86
78
  :alt: Black
87
-
88
- .. image:: http://www.mypy-lang.org/static/mypy_badge.svg
79
+ .. |icon7| image:: http://www.mypy-lang.org/static/mypy_badge.svg
89
80
  :target: http://mypy-lang.org/
90
81
  :alt: mypy
91
82
 
@@ -140,11 +131,11 @@ PARTICULAR PURPOSE. See the GNU General Public License for more details.
140
131
 
141
132
  Funding
142
133
  =======
143
- Matthias König is supported by the Federal Ministry of Education and Research (BMBF, Germany)
134
+ Matthias König was supported by the Federal Ministry of Education and Research (BMBF, Germany)
144
135
  within the research network Systems Medicine of the Liver (**LiSyM**, grant number 031L0054)
145
- and by the German Research Foundation (DFG) within the Research Unit Programme FOR 5151
136
+ and is supported by the German Research Foundation (DFG) within the Research Unit Programme FOR 5151
146
137
  "`QuaLiPerF <https://qualiperf.de>`__ (Quantifying Liver Perfusion-Function Relationship in Complex Resection -
147
- A Systems Medicine Approach)" by grant number 436883643 and by grant number 465194077 (Priority Programme SPP 2311, Subproject SimLivA).
138
+ A Systems Medicine Approach)" by grant number 436883643 and by grant number 465194077 (Priority Programme SPP 2311, Subproject SimLivA), and
148
139
 
149
140
  Installation
150
141
  ============
@@ -169,4 +160,4 @@ To install for development use::
169
160
 
170
161
  pip install -e .[development]
171
162
 
172
- © 2021-2022 Matthias König
163
+ © 2021-2024 Matthias König
@@ -1,12 +1,12 @@
1
- pymetadata/__init__.py,sha256=_XkpGmwvuR9iodccAsvV_JKiKLb-dM1L_nB8ysFFyRY,343
1
+ pymetadata/__init__.py,sha256=ExrWsLL5kayU0yfVHH1PfHIik4UXV32B4IRr1NNKesQ,343
2
2
  pymetadata/cache.py,sha256=sEJu0D-Dua4aTEaTQfMscT9Gv71r5uXddqca9iv5FHs,1352
3
3
  pymetadata/chebi.py,sha256=LphWaLhDTlLfcb-Fw8_eP-mkQu-Dg3qVmO13JvTtE9Q,2610
4
4
  pymetadata/console.py,sha256=ouDYOx_81ndvtMW5GVrut71uzPC5xlvibGu9N5YdbRA,332
5
5
  pymetadata/log.py,sha256=3uRVMYolalrS0PVWS_4qSme8RYhot3_W2ad1JopI88g,664
6
- pymetadata/omex.py,sha256=_FoZtg0LMHfEpi_lTWuLU44y7OQtLSE_UgZF63aXljI,29867
6
+ pymetadata/omex.py,sha256=SrviUHCEchbDm3jf4hYrqSLifvA9v-QN5WY9SlAatD4,29867
7
7
  pymetadata/omex_v2.py,sha256=HZBg_wmQWixweOZG3qVj2zqG_o1x9Ljxy-JEP6-ZFhM,584
8
8
  pymetadata/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
- pymetadata/unichem.py,sha256=rwfr113MJqb3GcadqKR5-8uSGGy-m4Ht-b73cllhPPo,6762
9
+ pymetadata/unichem.py,sha256=1cII_ltk0J56Mz3h4EXHz3mgfIxpc6G_AgT91LyCtK4,6804
10
10
  pymetadata/core/__init__.py,sha256=VWZCD9TgSGldzdtXoarvp_2oUHKXQkC1T-VUSvMLwNA,28
11
11
  pymetadata/core/annotation.py,sha256=PO2dyjgDP91J6JcJ2i3CzvdSd-6I0-3lAeTaaRd_cyY,13695
12
12
  pymetadata/core/creator.py,sha256=0_z0HPhO2Tq8FnAED_4kuVzUiPfm_tYMiZSvyw73Aho,1307
@@ -16,20 +16,20 @@ pymetadata/examples/__init__.py,sha256=LHY-XmQoiBxoHQW9mQN1_fUYnpfkALuRsdxDXU9sI
16
16
  pymetadata/examples/omex_example.py,sha256=D1LI0ILG8r26yVdaF5IUqqh7TTe5ueIXCnUF41dd9zY,1418
17
17
  pymetadata/identifiers/__init__.py,sha256=6Jd-w9Izl_wpWKV8IMBv7rW0Aq067V2czu00LNfPTL8,34
18
18
  pymetadata/identifiers/miriam.py,sha256=pa7lB1_C2cKRUuojFPvxAQ6yDI_ZQNjGEoYMb1395pY,982
19
- pymetadata/identifiers/registry.py,sha256=uCt1LdL0CbkR6n2ip5GWyxli5xO7UVdpkqrO7YwAQEU,13762
19
+ pymetadata/identifiers/registry.py,sha256=QOZFm6kFMx8NSFNwtHa2tpUL2jNoeZq4qdMDEjwhX2U,13110
20
20
  pymetadata/metadata/__init__.py,sha256=7O7rPwJwW9_uHuvIs6IvQZiQz4MngZSV9Nu7SYL9eA8,102
21
21
  pymetadata/metadata/eco.py,sha256=wsF-nRuXdI5Fm8T1e8wWYFtBPgzQ9ap2zIkH3nXjab4,662767
22
- pymetadata/metadata/kisao.py,sha256=2tr2Vlc4iwU11vhydIUeY4fGZ8NDKcGc7j1KiezNNPc,88999
22
+ pymetadata/metadata/kisao.py,sha256=oI3zuCDhDmA-aK5pWLhNJu1Y0XgBvI6IpmLlEnymgdo,89273
23
23
  pymetadata/metadata/sbo.py,sha256=rJEtdhOP5YUY1i8-6drWsglDmayFEpWVA2h2t3fjLCo,141756
24
24
  pymetadata/ontologies/__init__.py,sha256=vIpTqwqrhOAOYfnavWBQL149dNMAPv-OE5IyloYQCrQ,18
25
- pymetadata/ontologies/ols.py,sha256=vX5EKgeLYiALs-qqyF_Cz9slcEopHuJKDFeYHeIfSWw,6819
26
- pymetadata/ontologies/ontology.py,sha256=93HlM0yqMQLa-8-dLsnYUWfuhKKJUDn70IRzkB2-eYk,9142
25
+ pymetadata/ontologies/ols.py,sha256=F3vtM8sc879ETyE4yykuAuMJ3hm1jIGxQpvXa3eRAkQ,6672
26
+ pymetadata/ontologies/ontology.py,sha256=1TGraeTlKdBmGfU3GCwiHHuq8OSQcM-DU8asoZ7q9-E,9140
27
27
  pymetadata/resources/chebi_webservice_wsdl.xml,sha256=0AEgcZ48bk4L6l3jO5-6BIVwfTr4yXnRZCtXue5NyHo,23846
28
- pymetadata/resources/identifiers_registry.json,sha256=N5pJl-F3GD4hQ7B8zQ3yKqqM1fZfAN_pwefwKZsDkRo,2086194
28
+ pymetadata/resources/identifiers_registry.json,sha256=NcfQoyg6KKUMNHTa76zxSFLiALLTt9yUEKiAO576YOk,2097405
29
29
  pymetadata/resources/templates/ontology_enum.pytemplate,sha256=fK7SBTVfRzVk-z_6wiZ_9MDbTNSlEpGGellRoliGqac,1674
30
- pymetadata-0.4.1.dist-info/LICENSE,sha256=2n6rt7r999OuXp8iOqW9we7ORaxWncIbOwN1ILRGR2g,7651
31
- pymetadata-0.4.1.dist-info/METADATA,sha256=s5PPF3JBok1f86fbTWFwA3Hc763QqhNz2z4Ef_BNrhg,6782
32
- pymetadata-0.4.1.dist-info/WHEEL,sha256=-G_t0oGuE7UD0DrSpVZnq1hHMBV9DD2XkS5v7XpmTnk,110
33
- pymetadata-0.4.1.dist-info/top_level.txt,sha256=6X2ZP7y4yuvIEbAghdb6NuNxw9mykRIdV9hdgVIibpY,11
34
- pymetadata-0.4.1.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
35
- pymetadata-0.4.1.dist-info/RECORD,,
30
+ pymetadata-0.4.2.dist-info/LICENSE,sha256=2n6rt7r999OuXp8iOqW9we7ORaxWncIbOwN1ILRGR2g,7651
31
+ pymetadata-0.4.2.dist-info/METADATA,sha256=O8OEU9UFoyCgqP0tPaRHMT21QYhB_XS3exF8kHpuxbg,6713
32
+ pymetadata-0.4.2.dist-info/WHEEL,sha256=DZajD4pwLWue70CAfc7YaxT1wLUciNBvN_TTcvXpltE,110
33
+ pymetadata-0.4.2.dist-info/top_level.txt,sha256=6X2ZP7y4yuvIEbAghdb6NuNxw9mykRIdV9hdgVIibpY,11
34
+ pymetadata-0.4.2.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
35
+ pymetadata-0.4.2.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.42.0)
2
+ Generator: bdist_wheel (0.43.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py2-none-any
5
5
  Tag: py3-none-any