rxnmapper 0.4.2__tar.gz → 0.4.3__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.
- {rxnmapper-0.4.2/rxnmapper.egg-info → rxnmapper-0.4.3}/PKG-INFO +20 -28
- {rxnmapper-0.4.2 → rxnmapper-0.4.3}/README.md +18 -26
- {rxnmapper-0.4.2 → rxnmapper-0.4.3}/rxnmapper/__init__.py +1 -1
- {rxnmapper-0.4.2 → rxnmapper-0.4.3/rxnmapper.egg-info}/PKG-INFO +20 -28
- {rxnmapper-0.4.2 → rxnmapper-0.4.3}/rxnmapper.egg-info/requires.txt +1 -1
- {rxnmapper-0.4.2 → rxnmapper-0.4.3}/setup.cfg +1 -1
- {rxnmapper-0.4.2 → rxnmapper-0.4.3}/LICENSE +0 -0
- {rxnmapper-0.4.2 → rxnmapper-0.4.3}/MANIFEST.in +0 -0
- {rxnmapper-0.4.2 → rxnmapper-0.4.3}/pyproject.toml +0 -0
- {rxnmapper-0.4.2 → rxnmapper-0.4.3}/rxnmapper/attention.py +0 -0
- {rxnmapper-0.4.2 → rxnmapper-0.4.3}/rxnmapper/batched_mapper.py +0 -0
- {rxnmapper-0.4.2 → rxnmapper-0.4.3}/rxnmapper/core.py +0 -0
- {rxnmapper-0.4.2 → rxnmapper-0.4.3}/rxnmapper/models/transformers/albert_heads_8_uspto_all_1310k/config.json +0 -0
- {rxnmapper-0.4.2 → rxnmapper-0.4.3}/rxnmapper/models/transformers/albert_heads_8_uspto_all_1310k/pytorch_model.bin +0 -0
- {rxnmapper-0.4.2 → rxnmapper-0.4.3}/rxnmapper/models/transformers/albert_heads_8_uspto_all_1310k/special_tokens_map.json +0 -0
- {rxnmapper-0.4.2 → rxnmapper-0.4.3}/rxnmapper/models/transformers/albert_heads_8_uspto_all_1310k/tokenizer_config.json +0 -0
- {rxnmapper-0.4.2 → rxnmapper-0.4.3}/rxnmapper/models/transformers/albert_heads_8_uspto_all_1310k/training_args.bin +0 -0
- {rxnmapper-0.4.2 → rxnmapper-0.4.3}/rxnmapper/models/transformers/albert_heads_8_uspto_all_1310k/vocab.txt +0 -0
- {rxnmapper-0.4.2 → rxnmapper-0.4.3}/rxnmapper/py.typed +0 -0
- {rxnmapper-0.4.2 → rxnmapper-0.4.3}/rxnmapper/smiles_utils.py +0 -0
- {rxnmapper-0.4.2 → rxnmapper-0.4.3}/rxnmapper/tokenization_smiles.py +0 -0
- {rxnmapper-0.4.2 → rxnmapper-0.4.3}/rxnmapper.egg-info/SOURCES.txt +0 -0
- {rxnmapper-0.4.2 → rxnmapper-0.4.3}/rxnmapper.egg-info/dependency_links.txt +0 -0
- {rxnmapper-0.4.2 → rxnmapper-0.4.3}/rxnmapper.egg-info/not-zip-safe +0 -0
- {rxnmapper-0.4.2 → rxnmapper-0.4.3}/rxnmapper.egg-info/top_level.txt +0 -0
- {rxnmapper-0.4.2 → rxnmapper-0.4.3}/setup.py +0 -0
- {rxnmapper-0.4.2 → rxnmapper-0.4.3}/tests/__init__.py +0 -0
- {rxnmapper-0.4.2 → rxnmapper-0.4.3}/tests/test_batched_mapper.py +0 -0
- {rxnmapper-0.4.2 → rxnmapper-0.4.3}/tests/test_mapper.py +0 -0
- {rxnmapper-0.4.2 → rxnmapper-0.4.3}/tests/test_smiles_utils.py +0 -0
- {rxnmapper-0.4.2 → rxnmapper-0.4.3}/tests/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rxnmapper
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.3
|
|
4
4
|
Summary: Reaction atom-mapping from transformers
|
|
5
5
|
Home-page: https://github.com/rxn4chemistry/rxnmapper
|
|
6
6
|
Author: IBM RXN team
|
|
@@ -25,7 +25,7 @@ Requires-Dist: pandas>=1.0.3
|
|
|
25
25
|
Requires-Dist: rxn-chem-utils>=1.0.3
|
|
26
26
|
Requires-Dist: scipy>=1.4.1
|
|
27
27
|
Requires-Dist: torch>=1.5.0
|
|
28
|
-
Requires-Dist: transformers
|
|
28
|
+
Requires-Dist: transformers<5.0.0,>=4.0.0
|
|
29
29
|
Provides-Extra: dev
|
|
30
30
|
Requires-Dist: black>=22.1.0; extra == "dev"
|
|
31
31
|
Requires-Dist: bump2version>=1.0.1; extra == "dev"
|
|
@@ -51,37 +51,27 @@ Enable robust atom mapping on valid reaction SMILES. The atom-mapping informatio
|
|
|
51
51
|
|
|
52
52
|
## Installation
|
|
53
53
|
|
|
54
|
-
###
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
54
|
+
### Create virtual environment (optional)
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
python3 -m venv .venv
|
|
58
|
+
source .venv/bin/activate
|
|
59
59
|
```
|
|
60
60
|
|
|
61
|
-
###
|
|
62
|
-
You can install the package and setup the environment directly from github using:
|
|
61
|
+
### Install from pip
|
|
63
62
|
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
cd rxnmapper
|
|
67
|
-
conda create -n rxnmapper python=3.6 -y
|
|
68
|
-
conda activate rxnmapper
|
|
69
|
-
pip install -e .
|
|
63
|
+
```bash
|
|
64
|
+
pip install "rxnmapper[rdkit]"
|
|
70
65
|
```
|
|
71
66
|
|
|
72
|
-
|
|
67
|
+
You can leave out `[rdkit]` if RDKit is already available in your Python environment.
|
|
73
68
|
|
|
74
|
-
|
|
75
|
-
It can also be installed via Conda or Pypi:
|
|
69
|
+
### From source
|
|
76
70
|
|
|
77
71
|
```bash
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
# Install RDKit from Pypi
|
|
82
|
-
pip install rdkit
|
|
83
|
-
# for Python<3.7
|
|
84
|
-
# pip install rdkit-pypi
|
|
72
|
+
git clone https://github.com/rxn4chemistry/rxnmapper.git
|
|
73
|
+
cd rxnmapper
|
|
74
|
+
pip install -e ".[rdkit]"
|
|
85
75
|
```
|
|
86
76
|
|
|
87
77
|
## Usage
|
|
@@ -118,10 +108,12 @@ results = list(rxn_mapper.map_reactions_with_info(rxns)) # results as dictionar
|
|
|
118
108
|
|
|
119
109
|
### Testing
|
|
120
110
|
|
|
121
|
-
You can run the
|
|
111
|
+
You can run the test suite with:
|
|
122
112
|
|
|
123
|
-
|
|
124
|
-
|
|
113
|
+
```bash
|
|
114
|
+
pip install -e .[dev,rdkit]
|
|
115
|
+
pytest tests
|
|
116
|
+
```
|
|
125
117
|
|
|
126
118
|
## Examples
|
|
127
119
|
|
|
@@ -7,37 +7,27 @@ Enable robust atom mapping on valid reaction SMILES. The atom-mapping informatio
|
|
|
7
7
|
|
|
8
8
|
## Installation
|
|
9
9
|
|
|
10
|
-
###
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
### Create virtual environment (optional)
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
python3 -m venv .venv
|
|
14
|
+
source .venv/bin/activate
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
-
###
|
|
18
|
-
You can install the package and setup the environment directly from github using:
|
|
17
|
+
### Install from pip
|
|
19
18
|
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
cd rxnmapper
|
|
23
|
-
conda create -n rxnmapper python=3.6 -y
|
|
24
|
-
conda activate rxnmapper
|
|
25
|
-
pip install -e .
|
|
19
|
+
```bash
|
|
20
|
+
pip install "rxnmapper[rdkit]"
|
|
26
21
|
```
|
|
27
22
|
|
|
28
|
-
|
|
23
|
+
You can leave out `[rdkit]` if RDKit is already available in your Python environment.
|
|
29
24
|
|
|
30
|
-
|
|
31
|
-
It can also be installed via Conda or Pypi:
|
|
25
|
+
### From source
|
|
32
26
|
|
|
33
27
|
```bash
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
# Install RDKit from Pypi
|
|
38
|
-
pip install rdkit
|
|
39
|
-
# for Python<3.7
|
|
40
|
-
# pip install rdkit-pypi
|
|
28
|
+
git clone https://github.com/rxn4chemistry/rxnmapper.git
|
|
29
|
+
cd rxnmapper
|
|
30
|
+
pip install -e ".[rdkit]"
|
|
41
31
|
```
|
|
42
32
|
|
|
43
33
|
## Usage
|
|
@@ -74,10 +64,12 @@ results = list(rxn_mapper.map_reactions_with_info(rxns)) # results as dictionar
|
|
|
74
64
|
|
|
75
65
|
### Testing
|
|
76
66
|
|
|
77
|
-
You can run the
|
|
67
|
+
You can run the test suite with:
|
|
78
68
|
|
|
79
|
-
|
|
80
|
-
|
|
69
|
+
```bash
|
|
70
|
+
pip install -e .[dev,rdkit]
|
|
71
|
+
pytest tests
|
|
72
|
+
```
|
|
81
73
|
|
|
82
74
|
## Examples
|
|
83
75
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rxnmapper
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.3
|
|
4
4
|
Summary: Reaction atom-mapping from transformers
|
|
5
5
|
Home-page: https://github.com/rxn4chemistry/rxnmapper
|
|
6
6
|
Author: IBM RXN team
|
|
@@ -25,7 +25,7 @@ Requires-Dist: pandas>=1.0.3
|
|
|
25
25
|
Requires-Dist: rxn-chem-utils>=1.0.3
|
|
26
26
|
Requires-Dist: scipy>=1.4.1
|
|
27
27
|
Requires-Dist: torch>=1.5.0
|
|
28
|
-
Requires-Dist: transformers
|
|
28
|
+
Requires-Dist: transformers<5.0.0,>=4.0.0
|
|
29
29
|
Provides-Extra: dev
|
|
30
30
|
Requires-Dist: black>=22.1.0; extra == "dev"
|
|
31
31
|
Requires-Dist: bump2version>=1.0.1; extra == "dev"
|
|
@@ -51,37 +51,27 @@ Enable robust atom mapping on valid reaction SMILES. The atom-mapping informatio
|
|
|
51
51
|
|
|
52
52
|
## Installation
|
|
53
53
|
|
|
54
|
-
###
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
54
|
+
### Create virtual environment (optional)
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
python3 -m venv .venv
|
|
58
|
+
source .venv/bin/activate
|
|
59
59
|
```
|
|
60
60
|
|
|
61
|
-
###
|
|
62
|
-
You can install the package and setup the environment directly from github using:
|
|
61
|
+
### Install from pip
|
|
63
62
|
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
cd rxnmapper
|
|
67
|
-
conda create -n rxnmapper python=3.6 -y
|
|
68
|
-
conda activate rxnmapper
|
|
69
|
-
pip install -e .
|
|
63
|
+
```bash
|
|
64
|
+
pip install "rxnmapper[rdkit]"
|
|
70
65
|
```
|
|
71
66
|
|
|
72
|
-
|
|
67
|
+
You can leave out `[rdkit]` if RDKit is already available in your Python environment.
|
|
73
68
|
|
|
74
|
-
|
|
75
|
-
It can also be installed via Conda or Pypi:
|
|
69
|
+
### From source
|
|
76
70
|
|
|
77
71
|
```bash
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
# Install RDKit from Pypi
|
|
82
|
-
pip install rdkit
|
|
83
|
-
# for Python<3.7
|
|
84
|
-
# pip install rdkit-pypi
|
|
72
|
+
git clone https://github.com/rxn4chemistry/rxnmapper.git
|
|
73
|
+
cd rxnmapper
|
|
74
|
+
pip install -e ".[rdkit]"
|
|
85
75
|
```
|
|
86
76
|
|
|
87
77
|
## Usage
|
|
@@ -118,10 +108,12 @@ results = list(rxn_mapper.map_reactions_with_info(rxns)) # results as dictionar
|
|
|
118
108
|
|
|
119
109
|
### Testing
|
|
120
110
|
|
|
121
|
-
You can run the
|
|
111
|
+
You can run the test suite with:
|
|
122
112
|
|
|
123
|
-
|
|
124
|
-
|
|
113
|
+
```bash
|
|
114
|
+
pip install -e .[dev,rdkit]
|
|
115
|
+
pytest tests
|
|
116
|
+
```
|
|
125
117
|
|
|
126
118
|
## Examples
|
|
127
119
|
|
|
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
|