nerdd-module 0.3.10__tar.gz → 0.3.12__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.10 → nerdd_module-0.3.12}/PKG-INFO +2 -1
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/config/models.py +4 -2
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/input/reader_config.py +3 -1
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/polyfills/__init__.py +2 -0
- nerdd_module-0.3.12/nerdd_module/polyfills/literal.py +8 -0
- nerdd_module-0.3.12/nerdd_module/polyfills/typed_dict.py +8 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module.egg-info/PKG-INFO +2 -1
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module.egg-info/SOURCES.txt +2 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module.egg-info/requires.txt +3 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/pyproject.toml +10 -9
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/LICENSE +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/README.md +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/__init__.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/cli.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/config/__init__.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/config/configuration.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/config/default_configuration.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/config/dict_configuration.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/config/merged_configuration.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/config/package_configuration.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/config/search_yaml_configuration.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/config/yaml_configuration.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/converters/__init__.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/converters/converter.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/converters/identity_converter.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/input/__init__.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/input/depth_first_explorer.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/input/explorer.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/input/file_reader.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/input/gzip_reader.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/input/inchi_reader.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/input/list_reader.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/input/mol_reader.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/input/reader.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/input/sdf_reader.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/input/smiles_reader.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/input/string_reader.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/input/tar_reader.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/input/zip_reader.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/model/__init__.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/model/assign_mol_id_step.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/model/assign_name_step.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/model/convert_representations_step.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/model/enforce_schema_step.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/model/model.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/model/read_input_step.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/model/simple_model.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/model/write_output_step.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/output/__init__.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/output/csv_writer.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/output/file_writer.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/output/iterator_writer.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/output/pandas_writer.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/output/record_list_writer.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/output/sdf_writer.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/output/writer.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/polyfills/files.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/polyfills/get_entry_points.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/polyfills/types.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/polyfills/version.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/preprocessing/__init__.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/preprocessing/check_valid_smiles.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/preprocessing/chembl_structure_pipeline.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/preprocessing/filter_by_element.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/preprocessing/filter_by_weight.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/preprocessing/preprocessing_step.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/preprocessing/remove_stereochemistry.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/preprocessing/sanitize.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/problem.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/py.typed +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/steps/__init__.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/steps/map_step.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/steps/output_step.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/steps/step.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/tests/__init__.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/tests/checks.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/tests/models/AtomicMassModel.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/tests/models/MolWeightModel.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/tests/models/__init__.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/tests/predictions.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/tests/preprocessing/DummyPreprocessingStep.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/tests/preprocessing/__init__.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/tests/representations.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/util/__init__.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/util/call_with_mappings.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/util/package.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/version.py +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module.egg-info/dependency_links.txt +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module.egg-info/top_level.txt +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/setup.cfg +0 -0
- {nerdd_module-0.3.10 → nerdd_module-0.3.12}/tests/test_features.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: nerdd-module
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.12
|
|
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>
|
|
@@ -60,6 +60,7 @@ Requires-Dist: decorator>=5.1.1
|
|
|
60
60
|
Requires-Dist: pydantic>=2
|
|
61
61
|
Requires-Dist: importlib-resources>=5; python_version < "3.9"
|
|
62
62
|
Requires-Dist: importlib-metadata>=4.6; python_version < "3.10"
|
|
63
|
+
Requires-Dist: typing_extensions>=4.0.1; python_version < "3.8"
|
|
63
64
|
Provides-Extra: dev
|
|
64
65
|
Requires-Dist: mypy==1.13.0; extra == "dev"
|
|
65
66
|
Requires-Dist: ruff==0.7.1; extra == "dev"
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
from typing import Any, List,
|
|
1
|
+
from typing import Any, List, Optional, Union
|
|
2
2
|
|
|
3
3
|
from pydantic import BaseModel, model_validator
|
|
4
4
|
|
|
5
|
+
from ..polyfills import Literal
|
|
6
|
+
|
|
5
7
|
|
|
6
8
|
class Partner(BaseModel):
|
|
7
9
|
name: str
|
|
@@ -45,7 +47,7 @@ class JobParameter(BaseModel):
|
|
|
45
47
|
type: str
|
|
46
48
|
visible_name: Optional[str] = None
|
|
47
49
|
help_text: Optional[str] = None
|
|
48
|
-
default:
|
|
50
|
+
default: Any = None
|
|
49
51
|
required: bool = False
|
|
50
52
|
choices: Optional[List[JobParameterChoice]] = None
|
|
51
53
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: nerdd-module
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.12
|
|
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>
|
|
@@ -60,6 +60,7 @@ Requires-Dist: decorator>=5.1.1
|
|
|
60
60
|
Requires-Dist: pydantic>=2
|
|
61
61
|
Requires-Dist: importlib-resources>=5; python_version < "3.9"
|
|
62
62
|
Requires-Dist: importlib-metadata>=4.6; python_version < "3.10"
|
|
63
|
+
Requires-Dist: typing_extensions>=4.0.1; python_version < "3.8"
|
|
63
64
|
Provides-Extra: dev
|
|
64
65
|
Requires-Dist: mypy==1.13.0; extra == "dev"
|
|
65
66
|
Requires-Dist: ruff==0.7.1; extra == "dev"
|
|
@@ -58,6 +58,8 @@ nerdd_module/output/writer.py
|
|
|
58
58
|
nerdd_module/polyfills/__init__.py
|
|
59
59
|
nerdd_module/polyfills/files.py
|
|
60
60
|
nerdd_module/polyfills/get_entry_points.py
|
|
61
|
+
nerdd_module/polyfills/literal.py
|
|
62
|
+
nerdd_module/polyfills/typed_dict.py
|
|
61
63
|
nerdd_module/polyfills/types.py
|
|
62
64
|
nerdd_module/polyfills/version.py
|
|
63
65
|
nerdd_module/preprocessing/__init__.py
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "nerdd-module"
|
|
7
|
-
version = "0.3.
|
|
7
|
+
version = "0.3.12"
|
|
8
8
|
description = "Base package to create NERDD modules"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = { file = "LICENSE" }
|
|
@@ -21,6 +21,7 @@ dependencies = [
|
|
|
21
21
|
# install importlib-resources and importlib-metadata for old Python versions
|
|
22
22
|
"importlib-resources>=5; python_version<'3.9'",
|
|
23
23
|
"importlib-metadata>=4.6; python_version<'3.10'",
|
|
24
|
+
"typing_extensions>=4.0.1; python_version<'3.8'",
|
|
24
25
|
]
|
|
25
26
|
keywords = ["science", "research", "development", "nerdd"]
|
|
26
27
|
classifiers = [
|
|
@@ -112,22 +113,22 @@ extend-exclude = ["tests", "nerdd_module/tests"]
|
|
|
112
113
|
|
|
113
114
|
[tool.ruff.lint]
|
|
114
115
|
select = [
|
|
115
|
-
"E",
|
|
116
|
-
"W",
|
|
117
|
-
"F",
|
|
118
|
-
"I",
|
|
119
|
-
"B",
|
|
116
|
+
"E", # pycodestyle errors
|
|
117
|
+
"W", # pycodestyle warnings
|
|
118
|
+
"F", # pyflakes
|
|
119
|
+
"I", # isort
|
|
120
|
+
"B", # flake8-bugbear
|
|
120
121
|
"C4", # flake8-comprehensions
|
|
121
|
-
"T20"
|
|
122
|
+
"T20", # no print statements
|
|
122
123
|
]
|
|
123
124
|
ignore = [
|
|
124
125
|
"F403", # I often use 'from .submodule import *' in __init__.py files
|
|
125
|
-
"C408"
|
|
126
|
+
"C408", # I prefer dict(a=5) over {'a': 5}
|
|
126
127
|
]
|
|
127
128
|
|
|
128
129
|
[tool.mypy]
|
|
129
130
|
# type stubs of packages lacking types are in the "typings" directory
|
|
130
|
-
mypy_path="typings"
|
|
131
|
+
mypy_path = "typings"
|
|
131
132
|
# strict=true
|
|
132
133
|
disallow_untyped_defs = true
|
|
133
134
|
# disallow_any_unimported = true
|
|
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.10 → nerdd_module-0.3.12}/nerdd_module/config/search_yaml_configuration.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
|
{nerdd_module-0.3.10 → nerdd_module-0.3.12}/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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/preprocessing/check_valid_smiles.py
RENAMED
|
File without changes
|
{nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/preprocessing/chembl_structure_pipeline.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nerdd_module-0.3.10 → nerdd_module-0.3.12}/nerdd_module/preprocessing/preprocessing_step.py
RENAMED
|
File without changes
|
{nerdd_module-0.3.10 → nerdd_module-0.3.12}/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
|