automol 2023.8.0__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.
- automol-2023.8.0/LICENSE +201 -0
- automol-2023.8.0/PKG-INFO +77 -0
- automol-2023.8.0/README.md +50 -0
- automol-2023.8.0/automol/__init__.py +121 -0
- automol-2023.8.0/automol/amchi/__init__.py +197 -0
- automol-2023.8.0/automol/amchi/_assess.py +22 -0
- automol-2023.8.0/automol/amchi/_conv.py +336 -0
- automol-2023.8.0/automol/amchi/_draw.py +35 -0
- automol-2023.8.0/automol/amchi/base/__init__.py +143 -0
- automol-2023.8.0/automol/amchi/base/_core.py +1446 -0
- automol-2023.8.0/automol/chi/__init__.py +214 -0
- automol-2023.8.0/automol/chi/_conv.py +255 -0
- automol-2023.8.0/automol/chi/base/__init__.py +103 -0
- automol-2023.8.0/automol/chi/base/_core.py +245 -0
- automol-2023.8.0/automol/combine.py +92 -0
- automol-2023.8.0/automol/embed/__init__.py +79 -0
- automol-2023.8.0/automol/embed/_cleanup.py +444 -0
- automol-2023.8.0/automol/embed/_dgeom.py +219 -0
- automol-2023.8.0/automol/embed/_findif.py +37 -0
- automol-2023.8.0/automol/error.py +10 -0
- automol-2023.8.0/automol/etrans/__init__.py +14 -0
- automol-2023.8.0/automol/etrans/_fxn.py +43 -0
- automol-2023.8.0/automol/etrans/_par.py +158 -0
- automol-2023.8.0/automol/etrans/combine.py +30 -0
- automol-2023.8.0/automol/etrans/estimate.py +354 -0
- automol-2023.8.0/automol/extern/__init__.py +2 -0
- automol-2023.8.0/automol/extern/molfile.py +137 -0
- automol-2023.8.0/automol/extern/py3dmol_.py +77 -0
- automol-2023.8.0/automol/extern/rdkit_.py +445 -0
- automol-2023.8.0/automol/formula/__init__.py +37 -0
- automol-2023.8.0/automol/formula/_formula.py +287 -0
- automol-2023.8.0/automol/formula/reac.py +43 -0
- automol-2023.8.0/automol/geom/__init__.py +263 -0
- automol-2023.8.0/automol/geom/_align.py +57 -0
- automol-2023.8.0/automol/geom/_conv.py +873 -0
- automol-2023.8.0/automol/geom/_extra.py +327 -0
- automol-2023.8.0/automol/geom/_pyx2z.py +126 -0
- automol-2023.8.0/automol/geom/_ring.py +77 -0
- automol-2023.8.0/automol/geom/base/__init__.py +167 -0
- automol-2023.8.0/automol/geom/base/_comp.py +220 -0
- automol-2023.8.0/automol/geom/base/_core.py +1200 -0
- automol-2023.8.0/automol/graph/_0embed.py +896 -0
- automol-2023.8.0/automol/graph/_1conv.py +628 -0
- automol-2023.8.0/automol/graph/__init__.py +633 -0
- automol-2023.8.0/automol/graph/base/__init__.py +609 -0
- automol-2023.8.0/automol/graph/base/_algo.py +1010 -0
- automol-2023.8.0/automol/graph/base/_amchi.py +461 -0
- automol-2023.8.0/automol/graph/base/_canon.py +1337 -0
- automol-2023.8.0/automol/graph/base/_core.py +2657 -0
- automol-2023.8.0/automol/graph/base/_func_group.py +862 -0
- automol-2023.8.0/automol/graph/base/_geom.py +595 -0
- automol-2023.8.0/automol/graph/base/_heur.py +246 -0
- automol-2023.8.0/automol/graph/base/_kekule.py +913 -0
- automol-2023.8.0/automol/graph/base/_networkx.py +106 -0
- automol-2023.8.0/automol/graph/base/_smiles.py +557 -0
- automol-2023.8.0/automol/graph/base/_stereo.py +158 -0
- automol-2023.8.0/automol/graph/base/ts.py +547 -0
- automol-2023.8.0/automol/graph/vmat.py +531 -0
- automol-2023.8.0/automol/graph/zmat.py +252 -0
- automol-2023.8.0/automol/inchi/__init__.py +139 -0
- automol-2023.8.0/automol/inchi/_assess.py +22 -0
- automol-2023.8.0/automol/inchi/_conv.py +218 -0
- automol-2023.8.0/automol/inchi/_draw.py +30 -0
- automol-2023.8.0/automol/inchi/base/__init__.py +89 -0
- automol-2023.8.0/automol/inchi/base/_core.py +516 -0
- automol-2023.8.0/automol/inchi_key.py +85 -0
- automol-2023.8.0/automol/mult/__init__.py +11 -0
- automol-2023.8.0/automol/mult/_mult.py +13 -0
- automol-2023.8.0/automol/mult/ts.py +61 -0
- automol-2023.8.0/automol/par.py +269 -0
- automol-2023.8.0/automol/pot/__init__.py +50 -0
- automol-2023.8.0/automol/pot/_fit.py +237 -0
- automol-2023.8.0/automol/pot/_intmol.py +182 -0
- automol-2023.8.0/automol/pot/_lib.py +33 -0
- automol-2023.8.0/automol/pot/_pot.py +223 -0
- automol-2023.8.0/automol/pot/_read.py +189 -0
- automol-2023.8.0/automol/prop/__init__.py +14 -0
- automol-2023.8.0/automol/prop/_wfn.py +38 -0
- automol-2023.8.0/automol/prop/freq.py +142 -0
- automol-2023.8.0/automol/reac/_0core.py +957 -0
- automol-2023.8.0/automol/reac/_1util.py +277 -0
- automol-2023.8.0/automol/reac/_2stereo.py +149 -0
- automol-2023.8.0/automol/reac/_3find.py +869 -0
- automol-2023.8.0/automol/reac/_4geom.py +39 -0
- automol-2023.8.0/automol/reac/_5zmat.py +383 -0
- automol-2023.8.0/automol/reac/_6rot.py +148 -0
- automol-2023.8.0/automol/reac/_7conv.py +340 -0
- automol-2023.8.0/automol/reac/__init__.py +216 -0
- automol-2023.8.0/automol/reac/_comp.py +156 -0
- automol-2023.8.0/automol/reac/_enum.py +677 -0
- automol-2023.8.0/automol/reac/_instab.py +99 -0
- automol-2023.8.0/automol/reac/_pst.py +59 -0
- automol-2023.8.0/automol/reac/_scan.py +601 -0
- automol-2023.8.0/automol/reac/_tunnel.py +98 -0
- automol-2023.8.0/automol/reac/tunnel.py +96 -0
- automol-2023.8.0/automol/rotor/__init__.py +48 -0
- automol-2023.8.0/automol/rotor/_name.py +100 -0
- automol-2023.8.0/automol/rotor/_rotor.py +212 -0
- automol-2023.8.0/automol/rotor/_tors.py +197 -0
- automol-2023.8.0/automol/rotor/_util.py +11 -0
- automol-2023.8.0/automol/smiles/__init__.py +74 -0
- automol-2023.8.0/automol/smiles/_conv.py +313 -0
- automol-2023.8.0/automol/smiles/base/__init__.py +38 -0
- automol-2023.8.0/automol/smiles/base/_core.py +527 -0
- automol-2023.8.0/automol/symm.py +284 -0
- automol-2023.8.0/automol/tests/__tunnel.py +72 -0
- automol-2023.8.0/automol/tests/data/badspecies.csv +296 -0
- automol-2023.8.0/automol/tests/data/c3h7oh.tors +18 -0
- automol-2023.8.0/automol/tests/data/ch4_h.cubic +317 -0
- automol-2023.8.0/automol/tests/data/ch4_h.cubic_submat +12 -0
- automol-2023.8.0/automol/tests/data/ch4_h.quartic +857 -0
- automol-2023.8.0/automol/tests/data/ch4_h.quartic_submat +156 -0
- automol-2023.8.0/automol/tests/data/freqs +12 -0
- automol-2023.8.0/automol/tests/data/heptane_inchis_no_stereo.txt +1270 -0
- automol-2023.8.0/automol/tests/data/heptane_inchis_with_stereo.txt +701 -0
- automol-2023.8.0/automol/tests/data/mat.dat +6 -0
- automol-2023.8.0/automol/tests/data/vec.dat +2 -0
- automol-2023.8.0/automol/tests/old_test_reac1.py +58 -0
- automol-2023.8.0/automol/tests/script.py +8 -0
- automol-2023.8.0/automol/tests/test_act_space.py +12 -0
- automol-2023.8.0/automol/tests/test_amchi.py +302 -0
- automol-2023.8.0/automol/tests/test_cart.py +170 -0
- automol-2023.8.0/automol/tests/test_chi.py +421 -0
- automol-2023.8.0/automol/tests/test_combine.py +110 -0
- automol-2023.8.0/automol/tests/test_comp.py +92 -0
- automol-2023.8.0/automol/tests/test_convert.py +452 -0
- automol-2023.8.0/automol/tests/test_dict.py +228 -0
- automol-2023.8.0/automol/tests/test_etrans.py +206 -0
- automol-2023.8.0/automol/tests/test_formula.py +42 -0
- automol-2023.8.0/automol/tests/test_func_group.py +218 -0
- automol-2023.8.0/automol/tests/test_geom.py +762 -0
- automol-2023.8.0/automol/tests/test_graph.py +1636 -0
- automol-2023.8.0/automol/tests/test_graph_ts.py +653 -0
- automol-2023.8.0/automol/tests/test_inchi.py +292 -0
- automol-2023.8.0/automol/tests/test_inchi_key.py +54 -0
- automol-2023.8.0/automol/tests/test_instab.py +358 -0
- automol-2023.8.0/automol/tests/test_pot.py +264 -0
- automol-2023.8.0/automol/tests/test_prop.py +128 -0
- automol-2023.8.0/automol/tests/test_pst.py +25 -0
- automol-2023.8.0/automol/tests/test_rclass.py +136 -0
- automol-2023.8.0/automol/tests/test_reac.py +339 -0
- automol-2023.8.0/automol/tests/test_reac_old.py +937 -0
- automol-2023.8.0/automol/tests/test_rings.py +328 -0
- automol-2023.8.0/automol/tests/test_rotor.py +634 -0
- automol-2023.8.0/automol/tests/test_symm.py +120 -0
- automol-2023.8.0/automol/tests/test_util.py +67 -0
- automol-2023.8.0/automol/tests/test_vmat.py +183 -0
- automol-2023.8.0/automol/tests/test_zmat.py +498 -0
- automol-2023.8.0/automol/util/__init__.py +51 -0
- automol-2023.8.0/automol/util/_util.py +265 -0
- automol-2023.8.0/automol/util/dict_/__init__.py +45 -0
- automol-2023.8.0/automol/util/dict_/_dict_.py +243 -0
- automol-2023.8.0/automol/util/dict_/multi.py +51 -0
- automol-2023.8.0/automol/util/heuristic.py +62 -0
- automol-2023.8.0/automol/util/highd_mat.py +186 -0
- automol-2023.8.0/automol/util/mat.py +111 -0
- automol-2023.8.0/automol/util/vec.py +460 -0
- automol-2023.8.0/automol/vmat.py +667 -0
- automol-2023.8.0/automol/zmat/__init__.py +197 -0
- automol-2023.8.0/automol/zmat/_conv.py +270 -0
- automol-2023.8.0/automol/zmat/_extra.py +19 -0
- automol-2023.8.0/automol/zmat/_ring.py +185 -0
- automol-2023.8.0/automol/zmat/base/__init__.py +137 -0
- automol-2023.8.0/automol/zmat/base/_core.py +761 -0
- automol-2023.8.0/automol/zmat/base/_extra.py +121 -0
- automol-2023.8.0/phydat/__init__.py +21 -0
- automol-2023.8.0/phydat/act_space.py +18 -0
- automol-2023.8.0/phydat/bnd.py +22 -0
- automol-2023.8.0/phydat/build.sh +2 -0
- automol-2023.8.0/phydat/conda_build_config.yaml +2 -0
- automol-2023.8.0/phydat/eleclvl.py +18 -0
- automol-2023.8.0/phydat/etrans.py +140 -0
- automol-2023.8.0/phydat/instab_fgrps.py +19 -0
- automol-2023.8.0/phydat/phycon.py +70 -0
- automol-2023.8.0/phydat/ptab.py +138 -0
- automol-2023.8.0/phydat/sigmarad.py +7 -0
- automol-2023.8.0/phydat/symm.py +13 -0
- automol-2023.8.0/pyproject.toml +36 -0
- automol-2023.8.0/transformations/README +10 -0
- automol-2023.8.0/transformations/__init__.py +1919 -0
automol-2023.8.0/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: automol
|
|
3
|
+
Version: 2023.8.0
|
|
4
|
+
Summary:
|
|
5
|
+
Author: Andreas Copan
|
|
6
|
+
Author-email: avcopan@gmail.com
|
|
7
|
+
Requires-Python: >=3.10,<3.13
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
10
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
11
|
+
Requires-Dist: Mako (>=1.2.4,<2.0.0)
|
|
12
|
+
Requires-Dist: PyYAML (>=6.0.1,<7.0.0)
|
|
13
|
+
Requires-Dist: ipython (>=8.14.0,<9.0.0)
|
|
14
|
+
Requires-Dist: ipywidgets (>=8.1.0,<9.0.0)
|
|
15
|
+
Requires-Dist: more-itertools (>=10.1.0,<11.0.0)
|
|
16
|
+
Requires-Dist: networkx (>=3.1,<4.0)
|
|
17
|
+
Requires-Dist: numpy (>=1.25.2,<2.0.0)
|
|
18
|
+
Requires-Dist: pandas (>=2.0.3,<3.0.0)
|
|
19
|
+
Requires-Dist: py3Dmol (>=2.0.3,<3.0.0)
|
|
20
|
+
Requires-Dist: pyparsing (>=3.1.1,<4.0.0)
|
|
21
|
+
Requires-Dist: pytest (>=7.4.0,<8.0.0)
|
|
22
|
+
Requires-Dist: qcelemental (>=0.26.0,<0.27.0)
|
|
23
|
+
Requires-Dist: rdkit (>=2023.3.3,<2024.0.0)
|
|
24
|
+
Requires-Dist: scipy (>=1.11.2,<2.0.0)
|
|
25
|
+
Description-Content-Type: text/markdown
|
|
26
|
+
|
|
27
|
+
# Library: AutoChem
|
|
28
|
+
[//]: # (Badges)
|
|
29
|
+
[](https://circleci.com/gh/Auto-Mech/autoio/tree/dev)
|
|
30
|
+
[](https://anaconda.org/auto-mech/autoio)
|
|
31
|
+
[](https://anaconda.org/auto-mech/autoio)
|
|
32
|
+
[](https://conda.anaconda.org/auto-mech/autoio)
|
|
33
|
+
[](https://conda.anaconda.org/auto-mech/autoio)
|
|
34
|
+
|
|
35
|
+
Andreas V. Copan, Kevin B. Moore III, Sarah N. Elliott, and Stephen J. Klippenstein
|
|
36
|
+
|
|
37
|
+
Autochem is a library of molecular toolkit packages, including automol, phydat, and transformations.
|
|
38
|
+
|
|
39
|
+
## Installation
|
|
40
|
+
```python
|
|
41
|
+
>>> conda install automol -c auto-mech
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
<hr size=20>
|
|
45
|
+
|
|
46
|
+
## Package: phydat
|
|
47
|
+
### Description
|
|
48
|
+
physical constants and data
|
|
49
|
+
|
|
50
|
+
### Usage
|
|
51
|
+
Our pytest tests serve as an example for building filesystems
|
|
52
|
+
|
|
53
|
+
<hr>
|
|
54
|
+
|
|
55
|
+
## Package: transformations
|
|
56
|
+
### Description
|
|
57
|
+
The Python package "transformations" is developed externally by Christoph Gohlke.
|
|
58
|
+
A README is provided with this package. Further copyright information is provided in
|
|
59
|
+
_transformations.py
|
|
60
|
+
|
|
61
|
+
### Usage
|
|
62
|
+
|
|
63
|
+
<hr>
|
|
64
|
+
|
|
65
|
+
## Package: automol
|
|
66
|
+
### Description
|
|
67
|
+
- graph
|
|
68
|
+
- geom
|
|
69
|
+
- zmat
|
|
70
|
+
- inchi
|
|
71
|
+
- smiles
|
|
72
|
+
- reac
|
|
73
|
+
- rotor
|
|
74
|
+
External
|
|
75
|
+
- openbabel
|
|
76
|
+
- rdkit
|
|
77
|
+
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# Library: AutoChem
|
|
2
|
+
[//]: # (Badges)
|
|
3
|
+
[](https://circleci.com/gh/Auto-Mech/autoio/tree/dev)
|
|
4
|
+
[](https://anaconda.org/auto-mech/autoio)
|
|
5
|
+
[](https://anaconda.org/auto-mech/autoio)
|
|
6
|
+
[](https://conda.anaconda.org/auto-mech/autoio)
|
|
7
|
+
[](https://conda.anaconda.org/auto-mech/autoio)
|
|
8
|
+
|
|
9
|
+
Andreas V. Copan, Kevin B. Moore III, Sarah N. Elliott, and Stephen J. Klippenstein
|
|
10
|
+
|
|
11
|
+
Autochem is a library of molecular toolkit packages, including automol, phydat, and transformations.
|
|
12
|
+
|
|
13
|
+
## Installation
|
|
14
|
+
```python
|
|
15
|
+
>>> conda install automol -c auto-mech
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
<hr size=20>
|
|
19
|
+
|
|
20
|
+
## Package: phydat
|
|
21
|
+
### Description
|
|
22
|
+
physical constants and data
|
|
23
|
+
|
|
24
|
+
### Usage
|
|
25
|
+
Our pytest tests serve as an example for building filesystems
|
|
26
|
+
|
|
27
|
+
<hr>
|
|
28
|
+
|
|
29
|
+
## Package: transformations
|
|
30
|
+
### Description
|
|
31
|
+
The Python package "transformations" is developed externally by Christoph Gohlke.
|
|
32
|
+
A README is provided with this package. Further copyright information is provided in
|
|
33
|
+
_transformations.py
|
|
34
|
+
|
|
35
|
+
### Usage
|
|
36
|
+
|
|
37
|
+
<hr>
|
|
38
|
+
|
|
39
|
+
## Package: automol
|
|
40
|
+
### Description
|
|
41
|
+
- graph
|
|
42
|
+
- geom
|
|
43
|
+
- zmat
|
|
44
|
+
- inchi
|
|
45
|
+
- smiles
|
|
46
|
+
- reac
|
|
47
|
+
- rotor
|
|
48
|
+
External
|
|
49
|
+
- openbabel
|
|
50
|
+
- rdkit
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
""" molecular descriptor libraries
|
|
2
|
+
|
|
3
|
+
automol module hierarchy
|
|
4
|
+
========================
|
|
5
|
+
|
|
6
|
+
Terminology note: The basic interconvertible molecular types, or "basic types",
|
|
7
|
+
are graph, geom, inchi, smiles, and zmat. Types like formula, inchi_key, and
|
|
8
|
+
vmat are not considered basic types because they cannot be converted
|
|
9
|
+
*back* to the other basic types.
|
|
10
|
+
|
|
11
|
+
Level 1: No dependencies; no interdependencies
|
|
12
|
+
|
|
13
|
+
- par
|
|
14
|
+
- util
|
|
15
|
+
- error
|
|
16
|
+
- mult
|
|
17
|
+
- formula
|
|
18
|
+
- inchi_key
|
|
19
|
+
- vmat
|
|
20
|
+
- prop
|
|
21
|
+
- embed
|
|
22
|
+
|
|
23
|
+
Level 2: L1 dependencies; hierarchical interdependency (descending)
|
|
24
|
+
|
|
25
|
+
*The base modules contain functions that do not require convertion to another
|
|
26
|
+
basic type.*
|
|
27
|
+
|
|
28
|
+
- amchi.base
|
|
29
|
+
- smiles.base
|
|
30
|
+
- geom.base
|
|
31
|
+
- graph.base [L2 dependencies: geom.base, amchi.base]
|
|
32
|
+
- zmat.base [L2 dependencies: geom.base]
|
|
33
|
+
|
|
34
|
+
Level 3: L1-2 dependencies; hierarchical interdependency (descending)
|
|
35
|
+
|
|
36
|
+
- extern [contains RDKit interface needed for working with InChIs]
|
|
37
|
+
- inchi.base [L3 dependencies: extern]
|
|
38
|
+
- chi.base [L3 dependencies: extern, inchi.base]
|
|
39
|
+
|
|
40
|
+
Level 4: L1-3 dependencies; hierarchical interdependency (descending)
|
|
41
|
+
|
|
42
|
+
*The final modules in level 4 contain all contents from their base modules,
|
|
43
|
+
along with additional functions requiring conversion to another basic type.*
|
|
44
|
+
|
|
45
|
+
- geom
|
|
46
|
+
- graph [L4 dependencies: geom]
|
|
47
|
+
- amchi [L4 dependencies: graph, geom]
|
|
48
|
+
- inchi [L4 dependencies: amchi, graph, geom]
|
|
49
|
+
- chi [L4 dependencies: amchi, inchi, graph, geom]
|
|
50
|
+
- smiles [L4 dependencies: graph]
|
|
51
|
+
- zmat [L4 dependencies: graph, geom]
|
|
52
|
+
|
|
53
|
+
Level 5: L1-4 dependencies; hierarchical interdependency (descending)
|
|
54
|
+
|
|
55
|
+
- pot
|
|
56
|
+
- etrans
|
|
57
|
+
- combine
|
|
58
|
+
- reac
|
|
59
|
+
- rotor [L5 dependencies: reac]
|
|
60
|
+
- symm [L5 dependencies: reac, rotor]
|
|
61
|
+
"""
|
|
62
|
+
|
|
63
|
+
# L1
|
|
64
|
+
from automol import par
|
|
65
|
+
from automol import util
|
|
66
|
+
from automol import error
|
|
67
|
+
from automol import mult
|
|
68
|
+
from automol import formula
|
|
69
|
+
from automol import inchi_key
|
|
70
|
+
from automol import vmat
|
|
71
|
+
from automol import prop
|
|
72
|
+
from automol import embed
|
|
73
|
+
# L2
|
|
74
|
+
# L3
|
|
75
|
+
from automol import extern
|
|
76
|
+
# L4
|
|
77
|
+
from automol import graph
|
|
78
|
+
from automol import geom
|
|
79
|
+
from automol import amchi
|
|
80
|
+
from automol import inchi
|
|
81
|
+
from automol import smiles
|
|
82
|
+
from automol import zmat
|
|
83
|
+
# L5
|
|
84
|
+
from automol import pot
|
|
85
|
+
from automol import etrans
|
|
86
|
+
from automol import combine
|
|
87
|
+
from automol import reac
|
|
88
|
+
from automol import rotor
|
|
89
|
+
from automol import symm
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
__all__ = [
|
|
93
|
+
# L1
|
|
94
|
+
'par',
|
|
95
|
+
'util',
|
|
96
|
+
'error',
|
|
97
|
+
'mult',
|
|
98
|
+
'formula',
|
|
99
|
+
'inchi_key',
|
|
100
|
+
'vmat',
|
|
101
|
+
'prop',
|
|
102
|
+
'embed',
|
|
103
|
+
# L2
|
|
104
|
+
# L3
|
|
105
|
+
'extern',
|
|
106
|
+
# L4
|
|
107
|
+
'graph',
|
|
108
|
+
'geom',
|
|
109
|
+
'amchi',
|
|
110
|
+
'inchi',
|
|
111
|
+
'smiles',
|
|
112
|
+
'smiles',
|
|
113
|
+
'zmat',
|
|
114
|
+
# L5
|
|
115
|
+
'pot',
|
|
116
|
+
'etrans',
|
|
117
|
+
'combine',
|
|
118
|
+
'reac',
|
|
119
|
+
'rotor',
|
|
120
|
+
'symm'
|
|
121
|
+
]
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
""" AMChI (AutoMech Chemical Identifier) strings
|
|
2
|
+
|
|
3
|
+
Closely follows the InChI format, although canonicalizations may differ.
|
|
4
|
+
Extends InChI to allow for resonance double-bond stereo.
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
# L2
|
|
8
|
+
# # constructor
|
|
9
|
+
from automol.amchi.base._core import from_data
|
|
10
|
+
# # recalculate/standardize
|
|
11
|
+
from automol.amchi.base._core import standard_form
|
|
12
|
+
# # getters
|
|
13
|
+
from automol.amchi.base._core import prefix
|
|
14
|
+
from automol.amchi.base._core import version
|
|
15
|
+
from automol.amchi.base._core import formula_layer
|
|
16
|
+
from automol.amchi.base._core import main_layers
|
|
17
|
+
from automol.amchi.base._core import charge_layers
|
|
18
|
+
from automol.amchi.base._core import stereo_layers
|
|
19
|
+
from automol.amchi.base._core import isotope_layers
|
|
20
|
+
from automol.amchi.base._core import ts_layers
|
|
21
|
+
# # setters
|
|
22
|
+
from automol.amchi.base._core import with_inchi_prefix
|
|
23
|
+
from automol.amchi.base._core import reflect
|
|
24
|
+
from automol.amchi.base._core import canonical_enantiomer
|
|
25
|
+
from automol.amchi.base._core import reflect_reaction
|
|
26
|
+
from automol.amchi.base._core import canonical_enantiomer_reaction
|
|
27
|
+
# # conversions
|
|
28
|
+
from automol.amchi.base._core import formula
|
|
29
|
+
from automol.amchi.base._core import formula_string
|
|
30
|
+
from automol.amchi.base._core import connectivity
|
|
31
|
+
from automol.amchi.base._core import without_stereo
|
|
32
|
+
from automol.amchi.base._core import racemic
|
|
33
|
+
from automol.amchi.base._core import are_enantiomers
|
|
34
|
+
from automol.amchi.base._core import are_diastereomers
|
|
35
|
+
# # properties
|
|
36
|
+
# # # formula layer
|
|
37
|
+
from automol.amchi.base._core import symbols
|
|
38
|
+
from automol.amchi.base._core import canonical_indices
|
|
39
|
+
# # # main layers
|
|
40
|
+
from automol.amchi.base._core import bonds
|
|
41
|
+
from automol.amchi.base._core import hydrogen_valences
|
|
42
|
+
# # # charge layers
|
|
43
|
+
from automol.amchi.base._core import charge
|
|
44
|
+
# # # stereo layers
|
|
45
|
+
from automol.amchi.base._core import bond_stereo_parities
|
|
46
|
+
from automol.amchi.base._core import atom_stereo_parities
|
|
47
|
+
from automol.amchi.base._core import is_inverted_enantiomer
|
|
48
|
+
from automol.amchi.base._core import is_canonical_enantiomer
|
|
49
|
+
from automol.amchi.base._core import is_canonical_enantiomer_reaction
|
|
50
|
+
from automol.amchi.base._core import is_canonical_reaction_direction
|
|
51
|
+
from automol.amchi.base._core import is_enantiomer_list
|
|
52
|
+
from automol.amchi.base._core import is_enantiomer_reaction
|
|
53
|
+
# # # isotope layers
|
|
54
|
+
from automol.amchi.base._core import bond_isotope_stereo_parities
|
|
55
|
+
from automol.amchi.base._core import atom_isotope_stereo_parities
|
|
56
|
+
from automol.amchi.base._core import is_inverted_isotope_enantiomer
|
|
57
|
+
# # other properties
|
|
58
|
+
from automol.amchi.base._core import has_multiple_components
|
|
59
|
+
from automol.amchi.base._core import has_stereo
|
|
60
|
+
from automol.amchi.base._core import has_mobile_hydrogens
|
|
61
|
+
from automol.amchi.base._core import low_spin_multiplicity
|
|
62
|
+
from automol.amchi.base._core import is_enantiomer
|
|
63
|
+
# # comparisons
|
|
64
|
+
from automol.amchi.base._core import same_connectivity
|
|
65
|
+
from automol.amchi.base._core import equivalent
|
|
66
|
+
# # split/join
|
|
67
|
+
from automol.amchi.base._core import split
|
|
68
|
+
from automol.amchi.base._core import join
|
|
69
|
+
# # sort
|
|
70
|
+
from automol.amchi.base._core import sorted_
|
|
71
|
+
from automol.amchi.base._core import argsort
|
|
72
|
+
# # helpers
|
|
73
|
+
from automol.amchi.base._core import join_layers
|
|
74
|
+
from automol.amchi.base._core import split_layers
|
|
75
|
+
from automol.amchi.base._core import join_layer_strings
|
|
76
|
+
from automol.amchi.base._core import _split_layer_string
|
|
77
|
+
# L4
|
|
78
|
+
# # conversions
|
|
79
|
+
from automol.amchi._conv import amchi_key
|
|
80
|
+
from automol.amchi._conv import smiles
|
|
81
|
+
from automol.amchi._conv import graph
|
|
82
|
+
from automol.amchi._conv import geometry
|
|
83
|
+
from automol.amchi._conv import conformers
|
|
84
|
+
from automol.amchi._conv import zmatrix
|
|
85
|
+
from automol.amchi._conv import rdkit_molecule
|
|
86
|
+
from automol.amchi._conv import rdkit_reaction
|
|
87
|
+
from automol.amchi._conv import display
|
|
88
|
+
from automol.amchi._conv import display_reaction
|
|
89
|
+
# # derived properties
|
|
90
|
+
from automol.amchi._conv import is_complete
|
|
91
|
+
# # derived transformations
|
|
92
|
+
from automol.amchi._conv import add_stereo
|
|
93
|
+
from automol.amchi._conv import expand_stereo
|
|
94
|
+
# drawing tools
|
|
95
|
+
from automol.amchi._draw import draw
|
|
96
|
+
from automol.amchi._draw import draw_grid
|
|
97
|
+
# assessment tools
|
|
98
|
+
from automol.amchi._assess import is_valid_multiplicity
|
|
99
|
+
|
|
100
|
+
# allow this as an alias
|
|
101
|
+
is_chiral = is_enantiomer
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
__all__ = [
|
|
105
|
+
# L2
|
|
106
|
+
# # constructor
|
|
107
|
+
'from_data',
|
|
108
|
+
# # recalculate/standardize
|
|
109
|
+
'standard_form',
|
|
110
|
+
# # getters
|
|
111
|
+
'prefix',
|
|
112
|
+
'version',
|
|
113
|
+
'formula_layer',
|
|
114
|
+
'main_layers',
|
|
115
|
+
'charge_layers',
|
|
116
|
+
'stereo_layers',
|
|
117
|
+
'isotope_layers',
|
|
118
|
+
'ts_layers',
|
|
119
|
+
# # setters
|
|
120
|
+
'with_inchi_prefix',
|
|
121
|
+
'reflect',
|
|
122
|
+
'canonical_enantiomer',
|
|
123
|
+
'reflect_reaction',
|
|
124
|
+
'canonical_enantiomer_reaction',
|
|
125
|
+
# # conversions
|
|
126
|
+
'formula',
|
|
127
|
+
'formula_string',
|
|
128
|
+
'connectivity',
|
|
129
|
+
'without_stereo',
|
|
130
|
+
'racemic',
|
|
131
|
+
'are_enantiomers',
|
|
132
|
+
'are_diastereomers',
|
|
133
|
+
# # properties
|
|
134
|
+
# # # formula layer
|
|
135
|
+
'symbols',
|
|
136
|
+
'canonical_indices',
|
|
137
|
+
# # # main layers
|
|
138
|
+
'bonds',
|
|
139
|
+
'hydrogen_valences',
|
|
140
|
+
# # # charge layers
|
|
141
|
+
'charge',
|
|
142
|
+
# # # stereo layers
|
|
143
|
+
'bond_stereo_parities',
|
|
144
|
+
'atom_stereo_parities',
|
|
145
|
+
'is_inverted_enantiomer',
|
|
146
|
+
'is_canonical_enantiomer',
|
|
147
|
+
'is_canonical_enantiomer_reaction',
|
|
148
|
+
'is_canonical_reaction_direction',
|
|
149
|
+
'is_enantiomer_list',
|
|
150
|
+
'is_enantiomer_reaction',
|
|
151
|
+
# # # isotope layers
|
|
152
|
+
'bond_isotope_stereo_parities',
|
|
153
|
+
'atom_isotope_stereo_parities',
|
|
154
|
+
'is_inverted_isotope_enantiomer',
|
|
155
|
+
# # other properties
|
|
156
|
+
'has_multiple_components',
|
|
157
|
+
'is_enantiomer',
|
|
158
|
+
'is_chiral',
|
|
159
|
+
'has_stereo',
|
|
160
|
+
'has_mobile_hydrogens',
|
|
161
|
+
'low_spin_multiplicity',
|
|
162
|
+
# # comparisons
|
|
163
|
+
'same_connectivity',
|
|
164
|
+
'equivalent',
|
|
165
|
+
# # split/join
|
|
166
|
+
'split',
|
|
167
|
+
'join',
|
|
168
|
+
# # sort
|
|
169
|
+
'sorted_',
|
|
170
|
+
'argsort',
|
|
171
|
+
'join_layers',
|
|
172
|
+
'split_layers',
|
|
173
|
+
'join_layer_strings',
|
|
174
|
+
'_split_layer_string',
|
|
175
|
+
# L4
|
|
176
|
+
# # conversions
|
|
177
|
+
'amchi_key',
|
|
178
|
+
'smiles',
|
|
179
|
+
'graph',
|
|
180
|
+
'geometry',
|
|
181
|
+
'conformers',
|
|
182
|
+
'zmatrix',
|
|
183
|
+
'rdkit_molecule',
|
|
184
|
+
'rdkit_reaction',
|
|
185
|
+
'display',
|
|
186
|
+
'display_reaction',
|
|
187
|
+
# # derived properties
|
|
188
|
+
'is_complete',
|
|
189
|
+
# # derived transformations
|
|
190
|
+
'add_stereo',
|
|
191
|
+
'expand_stereo',
|
|
192
|
+
# drawing tools
|
|
193
|
+
'draw',
|
|
194
|
+
'draw_grid',
|
|
195
|
+
# assessment tools
|
|
196
|
+
'is_valid_multiplicity',
|
|
197
|
+
]
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
""" Checks that have to be done at the high-level of amchi directory
|
|
2
|
+
since they require other automol imports
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
import numbers
|
|
6
|
+
import automol.graph
|
|
7
|
+
from automol.amchi._conv import graph
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
def is_valid_multiplicity(chi, mul):
|
|
11
|
+
""" is this multiplicity compatible with this amchi string?
|
|
12
|
+
|
|
13
|
+
:param chi: ChI string
|
|
14
|
+
:type chi: str
|
|
15
|
+
:param mul: multiplicity
|
|
16
|
+
:type mul: int
|
|
17
|
+
:returns: validity of amchi multiplicity
|
|
18
|
+
:rtype: bool
|
|
19
|
+
"""
|
|
20
|
+
assert isinstance(mul, numbers.Integral)
|
|
21
|
+
return mul in automol.graph.possible_spin_multiplicities(
|
|
22
|
+
graph(chi, stereo=False))
|