equilibrator-cache 0.6.2__tar.gz → 0.7.0b2__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.
- {equilibrator_cache-0.6.2/src/equilibrator_cache.egg-info → equilibrator_cache-0.7.0b2}/PKG-INFO +7 -9
- {equilibrator_cache-0.6.2 → equilibrator_cache-0.7.0b2}/pyproject.toml +11 -9
- {equilibrator_cache-0.6.2 → equilibrator_cache-0.7.0b2}/src/equilibrator_cache/__init__.py +11 -12
- {equilibrator_cache-0.6.2 → equilibrator_cache-0.7.0b2}/src/equilibrator_cache/api.py +0 -1
- {equilibrator_cache-0.6.2 → equilibrator_cache-0.7.0b2}/src/equilibrator_cache/compatibility.py +0 -1
- {equilibrator_cache-0.6.2 → equilibrator_cache-0.7.0b2}/src/equilibrator_cache/compound_cache.py +9 -1
- {equilibrator_cache-0.6.2 → equilibrator_cache-0.7.0b2}/src/equilibrator_cache/models/__init__.py +2 -4
- {equilibrator_cache-0.6.2 → equilibrator_cache-0.7.0b2}/src/equilibrator_cache/models/compound_identifier.py +0 -1
- {equilibrator_cache-0.6.2 → equilibrator_cache-0.7.0b2}/src/equilibrator_cache/models/registry.py +0 -1
- {equilibrator_cache-0.6.2 → equilibrator_cache-0.7.0b2}/src/equilibrator_cache/reaction.py +0 -1
- {equilibrator_cache-0.6.2 → equilibrator_cache-0.7.0b2}/src/equilibrator_cache/thermodynamic_constants.py +0 -1
- {equilibrator_cache-0.6.2 → equilibrator_cache-0.7.0b2}/src/equilibrator_cache/zenodo.py +0 -1
- {equilibrator_cache-0.6.2 → equilibrator_cache-0.7.0b2/src/equilibrator_cache.egg-info}/PKG-INFO +7 -9
- {equilibrator_cache-0.6.2 → equilibrator_cache-0.7.0b2}/src/equilibrator_cache.egg-info/requires.txt +3 -3
- {equilibrator_cache-0.6.2 → equilibrator_cache-0.7.0b2}/LICENSE +0 -0
- {equilibrator_cache-0.6.2 → equilibrator_cache-0.7.0b2}/MANIFEST.in +0 -0
- {equilibrator_cache-0.6.2 → equilibrator_cache-0.7.0b2}/README.md +0 -0
- {equilibrator_cache-0.6.2 → equilibrator_cache-0.7.0b2}/setup.cfg +0 -0
- {equilibrator_cache-0.6.2 → equilibrator_cache-0.7.0b2}/src/equilibrator_cache/exceptions.py +0 -0
- {equilibrator_cache-0.6.2 → equilibrator_cache-0.7.0b2}/src/equilibrator_cache/models/compound.py +0 -0
- {equilibrator_cache-0.6.2 → equilibrator_cache-0.7.0b2}/src/equilibrator_cache/models/compound_microspecies.py +0 -0
- {equilibrator_cache-0.6.2 → equilibrator_cache-0.7.0b2}/src/equilibrator_cache/models/magnesium_dissociation_constant.py +0 -0
- {equilibrator_cache-0.6.2 → equilibrator_cache-0.7.0b2}/src/equilibrator_cache/models/mixins.py +0 -0
- {equilibrator_cache-0.6.2 → equilibrator_cache-0.7.0b2}/src/equilibrator_cache.egg-info/SOURCES.txt +0 -0
- {equilibrator_cache-0.6.2 → equilibrator_cache-0.7.0b2}/src/equilibrator_cache.egg-info/dependency_links.txt +0 -0
- {equilibrator_cache-0.6.2 → equilibrator_cache-0.7.0b2}/src/equilibrator_cache.egg-info/top_level.txt +0 -0
{equilibrator_cache-0.6.2/src/equilibrator_cache.egg-info → equilibrator_cache-0.7.0b2}/PKG-INFO
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: equilibrator-cache
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.7.0b2
|
|
4
4
|
Summary: Cache application for compounds, reactions, and enzymes
|
|
5
5
|
Author: Elad Noor, Moritz E. Beber
|
|
6
|
-
License: MIT
|
|
6
|
+
License-Expression: MIT
|
|
7
7
|
Project-URL: repository, https://gitlab.com/equilibrator/equilibrator-cache/
|
|
8
8
|
Project-URL: documentation, https://equilibrator.readthedocs.io/en/latest/
|
|
9
9
|
Keywords: component contribution,Gibbs energy,biochemical reaction,eQuilibrator,cache
|
|
@@ -11,23 +11,21 @@ Classifier: Development Status :: 4 - Beta
|
|
|
11
11
|
Classifier: Intended Audience :: Science/Research
|
|
12
12
|
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
|
|
13
13
|
Classifier: Topic :: Scientific/Engineering :: Chemistry
|
|
14
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
15
14
|
Classifier: Natural Language :: English
|
|
16
15
|
Classifier: Operating System :: OS Independent
|
|
17
16
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
18
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
19
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
20
17
|
Classifier: Programming Language :: Python :: 3.11
|
|
21
18
|
Classifier: Programming Language :: Python :: 3.12
|
|
22
19
|
Classifier: Programming Language :: Python :: 3.13
|
|
23
|
-
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
21
|
+
Requires-Python: >=3.11
|
|
24
22
|
Description-Content-Type: text/markdown
|
|
25
23
|
License-File: LICENSE
|
|
26
|
-
Requires-Dist: sqlalchemy~=2.0
|
|
27
24
|
Requires-Dist: numpy>=2.0
|
|
28
25
|
Requires-Dist: scipy>=1.12
|
|
29
|
-
Requires-Dist: pandas>=2.
|
|
30
|
-
Requires-Dist: pyarrow>=
|
|
26
|
+
Requires-Dist: pandas>=2.3
|
|
27
|
+
Requires-Dist: pyarrow>=23.0
|
|
28
|
+
Requires-Dist: sqlalchemy~=2.0
|
|
31
29
|
Requires-Dist: Levenshtein~=0.27
|
|
32
30
|
Requires-Dist: pint~=0.24
|
|
33
31
|
Requires-Dist: tqdm~=4.0
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name = "equilibrator-cache"
|
|
3
3
|
description = "Cache application for compounds, reactions, and enzymes"
|
|
4
4
|
readme = {file = "README.md", content-type = "text/markdown"}
|
|
5
|
-
license =
|
|
5
|
+
license = "MIT"
|
|
6
6
|
authors = [{name = "Elad Noor"},{name = "Moritz E. Beber"}]
|
|
7
7
|
keywords = [
|
|
8
8
|
"component contribution",
|
|
@@ -16,24 +16,22 @@ classifiers = [
|
|
|
16
16
|
"Intended Audience :: Science/Research",
|
|
17
17
|
"Topic :: Scientific/Engineering :: Bio-Informatics",
|
|
18
18
|
"Topic :: Scientific/Engineering :: Chemistry",
|
|
19
|
-
"License :: OSI Approved :: MIT License",
|
|
20
19
|
"Natural Language :: English",
|
|
21
20
|
"Operating System :: OS Independent",
|
|
22
21
|
"Programming Language :: Python :: 3 :: Only",
|
|
23
|
-
"Programming Language :: Python :: 3.9",
|
|
24
|
-
"Programming Language :: Python :: 3.10",
|
|
25
22
|
"Programming Language :: Python :: 3.11",
|
|
26
23
|
"Programming Language :: Python :: 3.12",
|
|
27
24
|
"Programming Language :: Python :: 3.13",
|
|
25
|
+
"Programming Language :: Python :: 3.14",
|
|
28
26
|
]
|
|
29
27
|
dynamic = ["version"]
|
|
30
|
-
requires-python = ">=3.
|
|
28
|
+
requires-python = ">=3.11"
|
|
31
29
|
dependencies = [
|
|
32
|
-
"sqlalchemy ~=2.0",
|
|
33
30
|
"numpy >=2.0",
|
|
34
31
|
"scipy >=1.12",
|
|
35
|
-
"pandas >=2.
|
|
36
|
-
"pyarrow >=
|
|
32
|
+
"pandas >=2.3",
|
|
33
|
+
"pyarrow >=23.0",
|
|
34
|
+
"sqlalchemy ~=2.0",
|
|
37
35
|
"Levenshtein ~=0.27",
|
|
38
36
|
"pint ~=0.24",
|
|
39
37
|
"tqdm ~=4.0",
|
|
@@ -78,7 +76,11 @@ universal = true
|
|
|
78
76
|
[tool.setuptools-git-versioning]
|
|
79
77
|
enabled = true
|
|
80
78
|
|
|
79
|
+
[tool.isort]
|
|
80
|
+
profile = "black"
|
|
81
|
+
|
|
81
82
|
[tool.black]
|
|
83
|
+
target-version = ["py314"]
|
|
82
84
|
exclude = '''
|
|
83
85
|
(
|
|
84
86
|
__init__.py
|
|
@@ -86,7 +88,7 @@ exclude = '''
|
|
|
86
88
|
'''
|
|
87
89
|
|
|
88
90
|
[tool.ruff]
|
|
89
|
-
target-version = "
|
|
91
|
+
target-version = "py314"
|
|
90
92
|
|
|
91
93
|
[tool.ruff.lint]
|
|
92
94
|
ignore = ["F401"]
|
|
@@ -29,27 +29,26 @@ PROTON_INCHI_KEY = "GPRLSGONYQIRFK-UHFFFAOYSA-N"
|
|
|
29
29
|
WATER_INCHI_KEY = "XLYOFNOQVPJJNP-UHFFFAOYSA-N"
|
|
30
30
|
|
|
31
31
|
|
|
32
|
+
from .api import (
|
|
33
|
+
create_compound_cache_from_sqlite_file,
|
|
34
|
+
create_compound_cache_from_zenodo,
|
|
35
|
+
)
|
|
36
|
+
from .compound_cache import CompoundCache
|
|
32
37
|
from .exceptions import ParseException
|
|
33
38
|
from .models import (
|
|
39
|
+
Base,
|
|
34
40
|
Compound,
|
|
35
41
|
CompoundIdentifier,
|
|
36
42
|
CompoundMicrospecies,
|
|
37
|
-
Base,
|
|
38
|
-
Registry,
|
|
39
43
|
MagnesiumDissociationConstant,
|
|
44
|
+
Registry,
|
|
40
45
|
)
|
|
46
|
+
from .reaction import Reaction
|
|
41
47
|
from .thermodynamic_constants import (
|
|
42
|
-
|
|
48
|
+
FARADAY,
|
|
43
49
|
Q_,
|
|
44
50
|
R,
|
|
45
51
|
default_T,
|
|
46
|
-
|
|
47
|
-
)
|
|
48
|
-
from .compound_cache import CompoundCache
|
|
49
|
-
from .reaction import Reaction
|
|
50
|
-
from .zenodo import get_cached_filepath, ZenodoSettings
|
|
51
|
-
from .api import (
|
|
52
|
-
create_compound_cache_from_zenodo,
|
|
53
|
-
create_compound_cache_from_sqlite_file,
|
|
52
|
+
ureg,
|
|
54
53
|
)
|
|
55
|
-
|
|
54
|
+
from .zenodo import ZenodoSettings, get_cached_filepath
|
{equilibrator_cache-0.6.2 → equilibrator_cache-0.7.0b2}/src/equilibrator_cache/compound_cache.py
RENAMED
|
@@ -40,7 +40,6 @@ from sqlalchemy.orm.session import make_transient
|
|
|
40
40
|
from . import PROTON_INCHI_KEY, WATER_INCHI_KEY
|
|
41
41
|
from .models import Compound, CompoundIdentifier, CompoundMicrospecies, Registry
|
|
42
42
|
|
|
43
|
-
|
|
44
43
|
__all__ = ("CompoundCache",)
|
|
45
44
|
|
|
46
45
|
|
|
@@ -83,6 +82,15 @@ class CompoundCache:
|
|
|
83
82
|
)
|
|
84
83
|
self._synonyms["accession"] = self._synonyms["accession"].str.lower()
|
|
85
84
|
|
|
85
|
+
def close(self):
|
|
86
|
+
"""Close the database connection."""
|
|
87
|
+
self.session.close()
|
|
88
|
+
self.engine.dispose()
|
|
89
|
+
|
|
90
|
+
def __del__(self):
|
|
91
|
+
"""Close the database connection."""
|
|
92
|
+
self.close()
|
|
93
|
+
|
|
86
94
|
@property
|
|
87
95
|
def proton(self) -> Compound:
|
|
88
96
|
"""Return the H+ compound object."""
|
{equilibrator_cache-0.6.2 → equilibrator_cache-0.7.0b2}/src/equilibrator_cache/models/__init__.py
RENAMED
|
@@ -25,16 +25,14 @@
|
|
|
25
25
|
|
|
26
26
|
from sqlalchemy.orm import declarative_base
|
|
27
27
|
|
|
28
|
-
|
|
29
28
|
Base = declarative_base()
|
|
30
29
|
|
|
31
|
-
from .mixins import TimeStampMixin
|
|
32
|
-
from .registry import Registry
|
|
33
30
|
from .compound import Compound
|
|
34
31
|
from .compound_identifier import CompoundIdentifier
|
|
35
32
|
from .compound_microspecies import CompoundMicrospecies
|
|
36
33
|
from .magnesium_dissociation_constant import MagnesiumDissociationConstant
|
|
37
|
-
|
|
34
|
+
from .mixins import TimeStampMixin
|
|
35
|
+
from .registry import Registry
|
|
38
36
|
|
|
39
37
|
__all__ = (
|
|
40
38
|
"Base",
|
{equilibrator_cache-0.6.2 → equilibrator_cache-0.7.0b2/src/equilibrator_cache.egg-info}/PKG-INFO
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: equilibrator-cache
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.7.0b2
|
|
4
4
|
Summary: Cache application for compounds, reactions, and enzymes
|
|
5
5
|
Author: Elad Noor, Moritz E. Beber
|
|
6
|
-
License: MIT
|
|
6
|
+
License-Expression: MIT
|
|
7
7
|
Project-URL: repository, https://gitlab.com/equilibrator/equilibrator-cache/
|
|
8
8
|
Project-URL: documentation, https://equilibrator.readthedocs.io/en/latest/
|
|
9
9
|
Keywords: component contribution,Gibbs energy,biochemical reaction,eQuilibrator,cache
|
|
@@ -11,23 +11,21 @@ Classifier: Development Status :: 4 - Beta
|
|
|
11
11
|
Classifier: Intended Audience :: Science/Research
|
|
12
12
|
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
|
|
13
13
|
Classifier: Topic :: Scientific/Engineering :: Chemistry
|
|
14
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
15
14
|
Classifier: Natural Language :: English
|
|
16
15
|
Classifier: Operating System :: OS Independent
|
|
17
16
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
18
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
19
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
20
17
|
Classifier: Programming Language :: Python :: 3.11
|
|
21
18
|
Classifier: Programming Language :: Python :: 3.12
|
|
22
19
|
Classifier: Programming Language :: Python :: 3.13
|
|
23
|
-
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
21
|
+
Requires-Python: >=3.11
|
|
24
22
|
Description-Content-Type: text/markdown
|
|
25
23
|
License-File: LICENSE
|
|
26
|
-
Requires-Dist: sqlalchemy~=2.0
|
|
27
24
|
Requires-Dist: numpy>=2.0
|
|
28
25
|
Requires-Dist: scipy>=1.12
|
|
29
|
-
Requires-Dist: pandas>=2.
|
|
30
|
-
Requires-Dist: pyarrow>=
|
|
26
|
+
Requires-Dist: pandas>=2.3
|
|
27
|
+
Requires-Dist: pyarrow>=23.0
|
|
28
|
+
Requires-Dist: sqlalchemy~=2.0
|
|
31
29
|
Requires-Dist: Levenshtein~=0.27
|
|
32
30
|
Requires-Dist: pint~=0.24
|
|
33
31
|
Requires-Dist: tqdm~=4.0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{equilibrator_cache-0.6.2 → equilibrator_cache-0.7.0b2}/src/equilibrator_cache/exceptions.py
RENAMED
|
File without changes
|
{equilibrator_cache-0.6.2 → equilibrator_cache-0.7.0b2}/src/equilibrator_cache/models/compound.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{equilibrator_cache-0.6.2 → equilibrator_cache-0.7.0b2}/src/equilibrator_cache/models/mixins.py
RENAMED
|
File without changes
|
{equilibrator_cache-0.6.2 → equilibrator_cache-0.7.0b2}/src/equilibrator_cache.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|