nerdd-module 0.3.25__tar.gz → 0.3.27__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.
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/PKG-INFO +2 -3
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/converters/converter.py +7 -7
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/converters/converter_config.py +5 -4
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/output/__init__.py +1 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/output/csv_writer.py +4 -1
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/output/file_writer.py +4 -1
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/output/iterator_writer.py +4 -1
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/output/pandas_writer.py +4 -1
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/output/record_list_writer.py +4 -1
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/output/sdf_writer.py +4 -1
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/output/writer.py +8 -3
- nerdd_module-0.3.27/nerdd_module/output/writer_config.py +8 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module.egg-info/PKG-INFO +2 -3
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module.egg-info/SOURCES.txt +1 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module.egg-info/requires.txt +1 -3
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/pyproject.toml +2 -7
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/LICENSE +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/README.md +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/__init__.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/cli.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/config/__init__.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/config/configuration.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/config/default_configuration.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/config/dict_configuration.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/config/merged_configuration.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/config/models.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/config/package_configuration.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/config/search_yaml_configuration.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/config/yaml_configuration.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/converters/__init__.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/converters/basic_type_converter.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/converters/mol_converter.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/converters/problem_list_converter.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/converters/representation_converter.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/converters/source_list_converter.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/converters/void_converter.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/input/__init__.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/input/depth_first_explorer.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/input/explorer.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/input/file_reader.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/input/gzip_reader.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/input/inchi_reader.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/input/list_reader.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/input/mol_reader.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/input/reader.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/input/reader_config.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/input/sdf_reader.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/input/smiles_reader.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/input/string_reader.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/input/tar_reader.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/input/zip_reader.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/model/__init__.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/model/assign_name_step.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/model/convert_representations_step.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/model/enforce_schema_step.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/model/model.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/model/read_input_step.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/model/simple_model.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/model/write_output_step.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/polyfills/__init__.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/polyfills/block_logs.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/polyfills/files.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/polyfills/get_entry_points.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/polyfills/literal.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/polyfills/typed_dict.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/polyfills/types.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/polyfills/version.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/preprocessing/__init__.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/preprocessing/check_valid_smiles.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/preprocessing/chembl_structure_pipeline.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/preprocessing/filter_by_element.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/preprocessing/filter_by_weight.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/preprocessing/preprocessing_step.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/preprocessing/remove_stereochemistry.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/preprocessing/sanitize.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/problem.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/py.typed +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/steps/__init__.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/steps/map_step.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/steps/output_step.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/steps/step.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/tests/__init__.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/tests/checks.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/tests/files.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/tests/models/AtomicMassModel.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/tests/models/MolWeightModel.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/tests/models/__init__.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/tests/predictions.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/tests/preprocessing/DummyPreprocessingStep.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/tests/preprocessing/__init__.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/tests/representations.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/util/__init__.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/util/call_with_mappings.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/util/package.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/version.py +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module.egg-info/dependency_links.txt +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module.egg-info/top_level.txt +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/setup.cfg +0 -0
- {nerdd_module-0.3.25 → nerdd_module-0.3.27}/tests/test_features.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: nerdd-module
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.27
|
|
4
4
|
Summary: Base package to create NERDD modules
|
|
5
5
|
Author-email: Steffen Hirte <steffen.hirte@univie.ac.at>
|
|
6
6
|
Maintainer-email: Steffen Hirte <steffen.hirte@univie.ac.at>
|
|
@@ -51,6 +51,7 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
51
51
|
Classifier: Programming Language :: Python :: 3.12
|
|
52
52
|
Description-Content-Type: text/markdown
|
|
53
53
|
License-File: LICENSE
|
|
54
|
+
Requires-Dist: rdkit>=2020.09.1
|
|
54
55
|
Requires-Dist: pandas>=1.2.1
|
|
55
56
|
Requires-Dist: pyyaml>=6.0
|
|
56
57
|
Requires-Dist: filetype~=1.2.0
|
|
@@ -70,8 +71,6 @@ Requires-Dist: types-PyYAML; extra == "dev"
|
|
|
70
71
|
Requires-Dist: types-decorator; extra == "dev"
|
|
71
72
|
Requires-Dist: types-setuptools; extra == "dev"
|
|
72
73
|
Requires-Dist: pre-commit>=2; extra == "dev"
|
|
73
|
-
Provides-Extra: rdkit
|
|
74
|
-
Requires-Dist: rdkit>=2022.3.3; extra == "rdkit"
|
|
75
74
|
Provides-Extra: csp
|
|
76
75
|
Requires-Dist: chembl_structure_pipeline>=1.0.0; extra == "csp"
|
|
77
76
|
Provides-Extra: test
|
|
@@ -38,17 +38,17 @@ class Converter(ABC):
|
|
|
38
38
|
@classmethod
|
|
39
39
|
def __init_subclass__(
|
|
40
40
|
cls,
|
|
41
|
-
is_abstract: bool = False,
|
|
42
41
|
**kwargs: Any,
|
|
43
42
|
) -> None:
|
|
44
43
|
super().__init_subclass__(**kwargs)
|
|
45
44
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
45
|
+
assert hasattr(
|
|
46
|
+
cls, "config"
|
|
47
|
+
), "All subclasses of Converter need to have a config attribute of type ConverterConfig"
|
|
48
|
+
|
|
49
|
+
data_types = cls.config["data_types"]
|
|
50
|
+
output_formats = cls.config["output_formats"]
|
|
51
|
+
is_abstract = cls.config.get("is_abstract", False)
|
|
52
52
|
|
|
53
53
|
if not is_abstract:
|
|
54
54
|
if isinstance(data_types, str) or data_types is ALL:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from typing import List,
|
|
1
|
+
from typing import List, Union
|
|
2
2
|
|
|
3
3
|
from ..polyfills import Literal, TypedDict
|
|
4
4
|
|
|
@@ -10,6 +10,7 @@ ALL_TYPE = Literal["ALL"]
|
|
|
10
10
|
ALL: ALL_TYPE = "ALL"
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
class ConverterConfig(TypedDict):
|
|
14
|
-
data_types:
|
|
15
|
-
output_formats:
|
|
13
|
+
class ConverterConfig(TypedDict, total=False):
|
|
14
|
+
data_types: Union[str, List[str], ALL_TYPE]
|
|
15
|
+
output_formats: Union[str, List[str], ALL_TYPE]
|
|
16
|
+
is_abstract: bool
|
|
@@ -3,11 +3,12 @@ from itertools import chain
|
|
|
3
3
|
from typing import IO, Any, Dict, Iterable
|
|
4
4
|
|
|
5
5
|
from .file_writer import FileLike, FileWriter
|
|
6
|
+
from .writer_config import WriterConfig
|
|
6
7
|
|
|
7
8
|
__all__ = ["CsvWriter"]
|
|
8
9
|
|
|
9
10
|
|
|
10
|
-
class CsvWriter(FileWriter
|
|
11
|
+
class CsvWriter(FileWriter):
|
|
11
12
|
def __init__(self, output_file: FileLike) -> None:
|
|
12
13
|
super().__init__(output_file, writes_bytes=False)
|
|
13
14
|
|
|
@@ -22,3 +23,5 @@ class CsvWriter(FileWriter, output_format="csv"):
|
|
|
22
23
|
writer.writeheader()
|
|
23
24
|
for entry in chain([first_entry], entry_iter):
|
|
24
25
|
writer.writerow(entry)
|
|
26
|
+
|
|
27
|
+
config = WriterConfig(output_format="csv")
|
|
@@ -4,6 +4,7 @@ from pathlib import Path
|
|
|
4
4
|
from typing import IO, Any, BinaryIO, Iterable, TextIO, Union
|
|
5
5
|
|
|
6
6
|
from .writer import Writer
|
|
7
|
+
from .writer_config import WriterConfig
|
|
7
8
|
|
|
8
9
|
StreamWriter = codecs.getwriter("utf-8")
|
|
9
10
|
|
|
@@ -13,7 +14,7 @@ __all__ = ["FileWriter", "FileLike"]
|
|
|
13
14
|
FileLike = Union[str, Path, TextIO, BinaryIO]
|
|
14
15
|
|
|
15
16
|
|
|
16
|
-
class FileWriter(Writer
|
|
17
|
+
class FileWriter(Writer):
|
|
17
18
|
"""Abstract class for writers."""
|
|
18
19
|
|
|
19
20
|
def __init__(self, output_file: FileLike, writes_bytes: bool = False) -> None:
|
|
@@ -39,3 +40,5 @@ class FileWriter(Writer, is_abstract=True):
|
|
|
39
40
|
def writes_bytes(self) -> bool:
|
|
40
41
|
"""Whether the writer writes bytes."""
|
|
41
42
|
return self._writes_bytes
|
|
43
|
+
|
|
44
|
+
config = WriterConfig(is_abstract=True, output_format="file")
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
from typing import Iterable
|
|
2
2
|
|
|
3
3
|
from .writer import Writer
|
|
4
|
+
from .writer_config import WriterConfig
|
|
4
5
|
|
|
5
6
|
__all__ = ["IteratorWriter"]
|
|
6
7
|
|
|
7
8
|
|
|
8
|
-
class IteratorWriter(Writer
|
|
9
|
+
class IteratorWriter(Writer):
|
|
9
10
|
def __init__(self) -> None:
|
|
10
11
|
pass
|
|
11
12
|
|
|
12
13
|
def write(self, records: Iterable[dict]) -> Iterable[dict]:
|
|
13
14
|
return records
|
|
15
|
+
|
|
16
|
+
config = WriterConfig(output_format="iterator")
|
|
@@ -3,14 +3,17 @@ from typing import Iterable
|
|
|
3
3
|
import pandas as pd
|
|
4
4
|
|
|
5
5
|
from .writer import Writer
|
|
6
|
+
from .writer_config import WriterConfig
|
|
6
7
|
|
|
7
8
|
__all__ = ["PandasWriter"]
|
|
8
9
|
|
|
9
10
|
|
|
10
|
-
class PandasWriter(Writer
|
|
11
|
+
class PandasWriter(Writer):
|
|
11
12
|
def __init__(self) -> None:
|
|
12
13
|
pass
|
|
13
14
|
|
|
14
15
|
def write(self, records: Iterable[dict]) -> pd.DataFrame:
|
|
15
16
|
df = pd.DataFrame(records)
|
|
16
17
|
return df
|
|
18
|
+
|
|
19
|
+
config = WriterConfig(output_format="pandas")
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
from typing import Iterable, List
|
|
2
2
|
|
|
3
3
|
from .writer import Writer
|
|
4
|
+
from .writer_config import WriterConfig
|
|
4
5
|
|
|
5
6
|
__all__ = ["RecordListWriter"]
|
|
6
7
|
|
|
7
8
|
|
|
8
|
-
class RecordListWriter(Writer
|
|
9
|
+
class RecordListWriter(Writer):
|
|
9
10
|
def __init__(self) -> None:
|
|
10
11
|
pass
|
|
11
12
|
|
|
12
13
|
def write(self, records: Iterable[dict]) -> List[dict]:
|
|
13
14
|
return list(records)
|
|
15
|
+
|
|
16
|
+
config = WriterConfig(output_format="record_list")
|
|
@@ -3,11 +3,12 @@ from typing import IO, Any, Dict, Iterable
|
|
|
3
3
|
from rdkit.Chem import Mol, SDWriter
|
|
4
4
|
|
|
5
5
|
from .file_writer import FileLike, FileWriter
|
|
6
|
+
from .writer_config import WriterConfig
|
|
6
7
|
|
|
7
8
|
__all__ = ["SdfWriter"]
|
|
8
9
|
|
|
9
10
|
|
|
10
|
-
class SdfWriter(FileWriter
|
|
11
|
+
class SdfWriter(FileWriter):
|
|
11
12
|
def __init__(self, output_file: FileLike) -> None:
|
|
12
13
|
super().__init__(output_file, writes_bytes=False)
|
|
13
14
|
|
|
@@ -40,3 +41,5 @@ class SdfWriter(FileWriter, output_format="sdf"):
|
|
|
40
41
|
writer.write(mol)
|
|
41
42
|
finally:
|
|
42
43
|
writer.close()
|
|
44
|
+
|
|
45
|
+
config = WriterConfig(output_format="sdf")
|
|
@@ -3,7 +3,7 @@ from __future__ import annotations
|
|
|
3
3
|
import codecs
|
|
4
4
|
from abc import ABC, abstractmethod
|
|
5
5
|
from functools import partial
|
|
6
|
-
from typing import Any, Dict, Iterable, List
|
|
6
|
+
from typing import Any, Dict, Iterable, List
|
|
7
7
|
|
|
8
8
|
from typing_extensions import Protocol
|
|
9
9
|
|
|
@@ -27,11 +27,16 @@ class Writer(ABC):
|
|
|
27
27
|
@classmethod
|
|
28
28
|
def __init_subclass__(
|
|
29
29
|
cls,
|
|
30
|
-
output_format: Optional[str] = None,
|
|
31
|
-
is_abstract: bool = False,
|
|
32
30
|
**kwargs: Any,
|
|
33
31
|
) -> None:
|
|
34
32
|
super().__init_subclass__(**kwargs)
|
|
33
|
+
|
|
34
|
+
assert hasattr(
|
|
35
|
+
cls, "config"
|
|
36
|
+
), "All subclasses of Writer need to have a config attribute of type WriterConfig"
|
|
37
|
+
output_format = cls.config["output_format"]
|
|
38
|
+
is_abstract = cls.config.get("is_abstract", False)
|
|
39
|
+
|
|
35
40
|
if not is_abstract:
|
|
36
41
|
assert output_format is not None, "output_format must not be None"
|
|
37
42
|
_factories[output_format] = partial(call_with_mappings, cls)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: nerdd-module
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.27
|
|
4
4
|
Summary: Base package to create NERDD modules
|
|
5
5
|
Author-email: Steffen Hirte <steffen.hirte@univie.ac.at>
|
|
6
6
|
Maintainer-email: Steffen Hirte <steffen.hirte@univie.ac.at>
|
|
@@ -51,6 +51,7 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
51
51
|
Classifier: Programming Language :: Python :: 3.12
|
|
52
52
|
Description-Content-Type: text/markdown
|
|
53
53
|
License-File: LICENSE
|
|
54
|
+
Requires-Dist: rdkit>=2020.09.1
|
|
54
55
|
Requires-Dist: pandas>=1.2.1
|
|
55
56
|
Requires-Dist: pyyaml>=6.0
|
|
56
57
|
Requires-Dist: filetype~=1.2.0
|
|
@@ -70,8 +71,6 @@ Requires-Dist: types-PyYAML; extra == "dev"
|
|
|
70
71
|
Requires-Dist: types-decorator; extra == "dev"
|
|
71
72
|
Requires-Dist: types-setuptools; extra == "dev"
|
|
72
73
|
Requires-Dist: pre-commit>=2; extra == "dev"
|
|
73
|
-
Provides-Extra: rdkit
|
|
74
|
-
Requires-Dist: rdkit>=2022.3.3; extra == "rdkit"
|
|
75
74
|
Provides-Extra: csp
|
|
76
75
|
Requires-Dist: chembl_structure_pipeline>=1.0.0; extra == "csp"
|
|
77
76
|
Provides-Extra: test
|
|
@@ -60,6 +60,7 @@ nerdd_module/output/pandas_writer.py
|
|
|
60
60
|
nerdd_module/output/record_list_writer.py
|
|
61
61
|
nerdd_module/output/sdf_writer.py
|
|
62
62
|
nerdd_module/output/writer.py
|
|
63
|
+
nerdd_module/output/writer_config.py
|
|
63
64
|
nerdd_module/polyfills/__init__.py
|
|
64
65
|
nerdd_module/polyfills/block_logs.py
|
|
65
66
|
nerdd_module/polyfills/files.py
|
|
@@ -4,13 +4,14 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "nerdd-module"
|
|
7
|
-
version = "0.3.
|
|
7
|
+
version = "0.3.27"
|
|
8
8
|
description = "Base package to create NERDD modules"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = { file = "LICENSE" }
|
|
11
11
|
authors = [{ name = "Steffen Hirte", email = "steffen.hirte@univie.ac.at" }]
|
|
12
12
|
maintainers = [{ name = "Steffen Hirte", email = "steffen.hirte@univie.ac.at" }]
|
|
13
13
|
dependencies = [
|
|
14
|
+
"rdkit>=2020.09.1",
|
|
14
15
|
"pandas>=1.2.1",
|
|
15
16
|
"pyyaml>=6.0",
|
|
16
17
|
"filetype~=1.2.0",
|
|
@@ -59,12 +60,6 @@ dev = [
|
|
|
59
60
|
"types-setuptools",
|
|
60
61
|
"pre-commit>=2",
|
|
61
62
|
]
|
|
62
|
-
rdkit = [
|
|
63
|
-
# Some old RDKit versions are not recognized by setuptools. For that reason,
|
|
64
|
-
# let the user install rdkit explicitly using an extra dependency.
|
|
65
|
-
# Note: rdkit 2022.3.3 is the oldest (working) version of rdkit on pypi.
|
|
66
|
-
"rdkit>=2022.3.3",
|
|
67
|
-
]
|
|
68
63
|
csp = [
|
|
69
64
|
# Note 1: Version 1.0.0 of chembl_structure_pipeline is not available on
|
|
70
65
|
# pypi, but maybe it was already installed in the current environment
|
|
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
|
{nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/config/search_yaml_configuration.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/converters/problem_list_converter.py
RENAMED
|
File without changes
|
{nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/converters/representation_converter.py
RENAMED
|
File without changes
|
{nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/converters/source_list_converter.py
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
|
{nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/model/convert_representations_step.py
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
|
{nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/preprocessing/check_valid_smiles.py
RENAMED
|
File without changes
|
{nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/preprocessing/chembl_structure_pipeline.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/preprocessing/preprocessing_step.py
RENAMED
|
File without changes
|
{nerdd_module-0.3.25 → nerdd_module-0.3.27}/nerdd_module/preprocessing/remove_stereochemistry.py
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|