aromatools 0.2.1__tar.gz → 0.2.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.

Potentially problematic release.


This version of aromatools might be problematic. Click here for more details.

Files changed (40) hide show
  1. {aromatools-0.2.1 → aromatools-0.2.3}/PKG-INFO +33 -19
  2. aromatools-0.2.3/README.md +48 -0
  3. {aromatools-0.2.1 → aromatools-0.2.3}/aromatools/aromagnetic/aromagnetic.py +20 -13
  4. {aromatools-0.2.1 → aromatools-0.2.3}/aromatools/aromagnetic/make_input.py +0 -6
  5. {aromatools-0.2.1 → aromatools-0.2.3}/aromatools.egg-info/PKG-INFO +33 -19
  6. {aromatools-0.2.1 → aromatools-0.2.3}/setup.py +1 -1
  7. aromatools-0.2.1/README.md +0 -34
  8. {aromatools-0.2.1 → aromatools-0.2.3}/LICENSE +0 -0
  9. {aromatools-0.2.1 → aromatools-0.2.3}/aromatools/__init__.py +0 -0
  10. {aromatools-0.2.1 → aromatools-0.2.3}/aromatools/arogeometric/__init__.py +0 -0
  11. {aromatools-0.2.1 → aromatools-0.2.3}/aromatools/arogeometric/__main__.py +0 -0
  12. {aromatools-0.2.1 → aromatools-0.2.3}/aromatools/arogeometric/arogeometric.py +0 -0
  13. {aromatools-0.2.1 → aromatools-0.2.3}/aromatools/arogeometric/reporter.py +0 -0
  14. {aromatools-0.2.1 → aromatools-0.2.3}/aromatools/aromagnetic/__init__.py +0 -0
  15. {aromatools-0.2.1 → aromatools-0.2.3}/aromatools/aromagnetic/__main__.py +0 -0
  16. {aromatools-0.2.1 → aromatools-0.2.3}/aromatools/aromagnetic/amg_read_input.py +0 -0
  17. {aromatools-0.2.1 → aromatools-0.2.3}/aromatools/aromagnetic/amg_write_inputs.py +0 -0
  18. {aromatools-0.2.1 → aromatools-0.2.3}/aromatools/aromagnetic/check_out.py +0 -0
  19. {aromatools-0.2.1 → aromatools-0.2.3}/aromatools/aromagnetic/cube_to_vtk.py +0 -0
  20. {aromatools-0.2.1 → aromatools-0.2.3}/aromatools/aromagnetic/extrac_values.py +0 -0
  21. {aromatools-0.2.1 → aromatools-0.2.3}/aromatools/aromagnetic/get_cube.py +0 -0
  22. {aromatools-0.2.1 → aromatools-0.2.3}/aromatools/aromagnetic/get_grid.py +0 -0
  23. {aromatools-0.2.1 → aromatools-0.2.3}/aromatools/aromagnetic/get_integral.py +0 -0
  24. {aromatools-0.2.1 → aromatools-0.2.3}/aromatools/aromagnetic/get_mo.py +0 -0
  25. {aromatools-0.2.1 → aromatools-0.2.3}/aromatools/aromagnetic/get_nics_scan.py +0 -0
  26. {aromatools-0.2.1 → aromatools-0.2.3}/aromatools/aromagnetic/get_profile.py +0 -0
  27. {aromatools-0.2.1 → aromatools-0.2.3}/aromatools/aromagnetic/insert_basis.py +0 -0
  28. {aromatools-0.2.1 → aromatools-0.2.3}/aromatools/aromagnetic/nics_scan.py +0 -0
  29. {aromatools-0.2.1 → aromatools-0.2.3}/aromatools/aromagnetic/parser_mo.py +0 -0
  30. {aromatools-0.2.1 → aromatools-0.2.3}/aromatools/aromagnetic/pseudo_pi.py +0 -0
  31. {aromatools-0.2.1 → aromatools-0.2.3}/aromatools/aromagnetic/reset_calc.py +0 -0
  32. {aromatools-0.2.1 → aromatools-0.2.3}/aromatools/aromagnetic/sum_rest.py +0 -0
  33. {aromatools-0.2.1 → aromatools-0.2.3}/aromatools/aromagnetic/tools.py +0 -0
  34. {aromatools-0.2.1 → aromatools-0.2.3}/aromatools.egg-info/SOURCES.txt +0 -0
  35. {aromatools-0.2.1 → aromatools-0.2.3}/aromatools.egg-info/dependency_links.txt +0 -0
  36. {aromatools-0.2.1 → aromatools-0.2.3}/aromatools.egg-info/entry_points.txt +0 -0
  37. {aromatools-0.2.1 → aromatools-0.2.3}/aromatools.egg-info/requires.txt +0 -0
  38. {aromatools-0.2.1 → aromatools-0.2.3}/aromatools.egg-info/top_level.txt +0 -0
  39. {aromatools-0.2.1 → aromatools-0.2.3}/pyproject.toml +0 -0
  40. {aromatools-0.2.1 → aromatools-0.2.3}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aromatools
3
- Version: 0.2.1
3
+ Version: 0.2.3
4
4
  Summary: Python tools for aromaticity analysis using geometric and magnetic criteria
5
5
  Author: Fernando Martinez-Villarino
6
6
  Author-email: fernandomv5897@gmail.com
@@ -31,35 +31,49 @@ Dynamic: summary
31
31
 
32
32
  # AromaTools
33
33
 
34
- AromaTools is a Python package designed for the **analysis of aromaticity** using the three principal approaches:
34
+ AromaTools is a Python package designed for the **analysis of aromaticity** using three main approaches.
35
35
 
36
36
  ---
37
37
 
38
- ## 🔬 Aromaticity Criteria
38
+ ## Aromaticity Criteria
39
39
 
40
- ### 🧲 Magnetic Criteria (AroMagnetic)
41
- - Compute the **induced magnetic field** in x, y, or z directions.
40
+ ### Magnetic Criteria (AroMagnetic)
41
+
42
+ - Compute the **induced magnetic field** in x, y, or z directions
42
43
  - Calculate:
43
- - **NICS** at a single point (NICS-SP)
44
- - **NICS-XY-Scan** (1D and 2D)
45
- - **NICS-3D**
46
- - Compute the **ring current strength** by numerical integration.
47
44
 
48
- ### 📐 Geometric Criteria (AroGeometric)
49
- - Analyze **Bond Length Alternation** (BLA)
50
- - Compute the **HOMA**, **HOMER**, and **HOMAc** indices:
51
- - `HOMA`: 0 = non-aromatic, 1 = aromatic
52
- - `HOMER`: excited-state aromaticity
53
- - `HOMAc`: -1 = antiaromatic, 0 = non-aromatic, 1 = aromatic
45
+ - NICS at a single point (NICS-SP)
46
+ - NICS-XY-Scan (1D and 2D)
47
+ - NICS-3D
48
+
49
+ - Compute the **ring current strength** by numerical integration
50
+
51
+ ---
52
+
53
+ ### Geometric Criteria (AroGeometric)
54
+
55
+ - Bond Length Alternation (BLA)
56
+ - HOMA index
57
+ - HOMER index (excited state aromaticity)
58
+ - HOMAc index
59
+
60
+ Interpretation:
61
+
62
+ - HOMA = 1 → aromatic
63
+ - HOMA = 0 → non-aromatic
64
+ - HOMAc = −1 → antiaromatic
65
+
66
+ ---
67
+
68
+ ### Electronic Criteria (AroElectronics)
54
69
 
55
- ### ⚡ Energetic Criteria (AroEnergetic)
56
- - **Coming soon...**
70
+ Coming soon.
57
71
 
58
72
  ---
59
73
 
60
- ## 📦 Installation
74
+ ## Installation
61
75
 
62
- Install via PyPI:
76
+ Install using pip:
63
77
 
64
78
  ```bash
65
79
  pip install aromatools
@@ -0,0 +1,48 @@
1
+ # AromaTools
2
+
3
+ AromaTools is a Python package designed for the **analysis of aromaticity** using three main approaches.
4
+
5
+ ---
6
+
7
+ ## Aromaticity Criteria
8
+
9
+ ### Magnetic Criteria (AroMagnetic)
10
+
11
+ - Compute the **induced magnetic field** in x, y, or z directions
12
+ - Calculate:
13
+
14
+ - NICS at a single point (NICS-SP)
15
+ - NICS-XY-Scan (1D and 2D)
16
+ - NICS-3D
17
+
18
+ - Compute the **ring current strength** by numerical integration
19
+
20
+ ---
21
+
22
+ ### Geometric Criteria (AroGeometric)
23
+
24
+ - Bond Length Alternation (BLA)
25
+ - HOMA index
26
+ - HOMER index (excited state aromaticity)
27
+ - HOMAc index
28
+
29
+ Interpretation:
30
+
31
+ - HOMA = 1 → aromatic
32
+ - HOMA = 0 → non-aromatic
33
+ - HOMAc = −1 → antiaromatic
34
+
35
+ ---
36
+
37
+ ### Electronic Criteria (AroElectronics)
38
+
39
+ Coming soon.
40
+
41
+ ---
42
+
43
+ ## Installation
44
+
45
+ Install using pip:
46
+
47
+ ```bash
48
+ pip install aromatools
@@ -6,6 +6,11 @@ import sys
6
6
  from pathlib import Path
7
7
 
8
8
  from .amg_read_input import read_input
9
+ from .reset_calc import main as reset_calc_main
10
+ from .check_out import main as check_out_main
11
+ from .sum_rest import main as sum_rest_main
12
+
13
+ '''
9
14
  from .get_cube import main as get_cube_main
10
15
  from .get_grid import main as get_grid_main
11
16
  from .get_integral import main as get_integral_main
@@ -14,10 +19,7 @@ from .get_nics_scan import main as get_nics_scan_main
14
19
  from .get_profile import main as get_profile_main
15
20
  from .extrac_values import main as extract_values_main
16
21
  from .nics_scan import main as nics_scan_main
17
- from .reset_calc import main as reset_calc_main
18
- from .check_out import main as check_out_main
19
- from .sum_rest import main as sum_rest_main
20
-
22
+ '''
21
23
 
22
24
  BANNER = r"""
23
25
  ======================================================================
@@ -127,9 +129,6 @@ def keyword_needs_generic_basis(cfg):
127
129
  if re.search(r"\bGEN(ECP)?\b", kline, flags=re.IGNORECASE):
128
130
  return True
129
131
 
130
- if re.search(r"\bPSEUDO\s*=\s*READ\b", kline, flags=re.IGNORECASE):
131
- return True
132
-
133
132
  return False
134
133
 
135
134
 
@@ -176,10 +175,13 @@ def run_work():
176
175
  ensure_basis_if_needed(cfg)
177
176
 
178
177
  if active == "GRID_MODULE":
178
+ from .get_grid import main as get_grid_main
179
179
  get_grid_main()
180
180
  elif active == "PROFILE_MODULE":
181
+ from .get_profile import main as get_profile_main
181
182
  get_profile_main()
182
183
  elif active == "NICS_SCAN_XY_MODULE":
184
+ from .nics_scan import main as get_profile_main
183
185
  nics_scan_main()
184
186
  else:
185
187
  raise SystemExit("ERROR: unknown module.")
@@ -190,15 +192,19 @@ def run_analysis():
190
192
  active = detect_active_module(cfg)
191
193
 
192
194
  if active == "GRID_MODULE":
195
+ from .get_cube import main as get_cube_main
193
196
  get_cube_main()
194
197
  return
195
198
 
196
199
  if active == "PROFILE_MODULE":
200
+ from .extrac_values import main as extract_values_main
201
+ from .get_integral import main as get_integral_main
197
202
  extract_values_main()
198
203
  get_integral_main()
199
204
  return
200
205
 
201
206
  if active == "NICS_SCAN_XY_MODULE":
207
+ from .get_nics_scan import main as get_nics_scan_main
202
208
  get_nics_scan_main()
203
209
  return
204
210
 
@@ -213,6 +219,7 @@ def run_mo():
213
219
  if program != "GAUSSIAN":
214
220
  raise SystemExit("ERROR: mo_amg is currently implemented only for Gaussian.")
215
221
 
222
+ from .get_mo import main as get_mo_main
216
223
  get_mo_main()
217
224
 
218
225
 
@@ -224,32 +231,32 @@ def dispatch(exe_name, args):
224
231
  return
225
232
 
226
233
  if exe == "work_amg":
227
- print_banner()
234
+ # print_banner()
228
235
  run_work()
229
236
  return
230
237
 
231
238
  if exe == "analyze_amg":
232
- print_banner()
239
+ # print_banner()
233
240
  run_analysis()
234
241
  return
235
242
 
236
243
  if exe == "mo_amg":
237
- print_banner()
244
+ # print_banner()
238
245
  run_mo()
239
246
  return
240
247
 
241
248
  if exe == "reset":
242
- print_banner()
249
+ # print_banner()
243
250
  reset_calc_main()
244
251
  return
245
252
 
246
253
  if exe == "check_outs":
247
- print_banner()
254
+ # print_banner()
248
255
  _run_check_out_main(args)
249
256
  return
250
257
 
251
258
  if exe in {"add", "sub"}:
252
- print_banner()
259
+ # print_banner()
253
260
  if len(args) != 2:
254
261
  raise SystemExit(
255
262
  f"ERROR: '{exe}' requires exactly 2 files.\n"
@@ -7,12 +7,6 @@ GEN_INPUT = """
7
7
  # ================================
8
8
  # AroMagnetic INPUT
9
9
  # ================================
10
- # Usage:
11
- # python work_amg.py prepare
12
- # python work_amg.py analyze
13
- #
14
- # The workflow (prepare/analyze) is chosen via CLI.
15
-
16
10
 
17
11
  # --------------------------------
18
12
  # 1. General Information
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aromatools
3
- Version: 0.2.1
3
+ Version: 0.2.3
4
4
  Summary: Python tools for aromaticity analysis using geometric and magnetic criteria
5
5
  Author: Fernando Martinez-Villarino
6
6
  Author-email: fernandomv5897@gmail.com
@@ -31,35 +31,49 @@ Dynamic: summary
31
31
 
32
32
  # AromaTools
33
33
 
34
- AromaTools is a Python package designed for the **analysis of aromaticity** using the three principal approaches:
34
+ AromaTools is a Python package designed for the **analysis of aromaticity** using three main approaches.
35
35
 
36
36
  ---
37
37
 
38
- ## 🔬 Aromaticity Criteria
38
+ ## Aromaticity Criteria
39
39
 
40
- ### 🧲 Magnetic Criteria (AroMagnetic)
41
- - Compute the **induced magnetic field** in x, y, or z directions.
40
+ ### Magnetic Criteria (AroMagnetic)
41
+
42
+ - Compute the **induced magnetic field** in x, y, or z directions
42
43
  - Calculate:
43
- - **NICS** at a single point (NICS-SP)
44
- - **NICS-XY-Scan** (1D and 2D)
45
- - **NICS-3D**
46
- - Compute the **ring current strength** by numerical integration.
47
44
 
48
- ### 📐 Geometric Criteria (AroGeometric)
49
- - Analyze **Bond Length Alternation** (BLA)
50
- - Compute the **HOMA**, **HOMER**, and **HOMAc** indices:
51
- - `HOMA`: 0 = non-aromatic, 1 = aromatic
52
- - `HOMER`: excited-state aromaticity
53
- - `HOMAc`: -1 = antiaromatic, 0 = non-aromatic, 1 = aromatic
45
+ - NICS at a single point (NICS-SP)
46
+ - NICS-XY-Scan (1D and 2D)
47
+ - NICS-3D
48
+
49
+ - Compute the **ring current strength** by numerical integration
50
+
51
+ ---
52
+
53
+ ### Geometric Criteria (AroGeometric)
54
+
55
+ - Bond Length Alternation (BLA)
56
+ - HOMA index
57
+ - HOMER index (excited state aromaticity)
58
+ - HOMAc index
59
+
60
+ Interpretation:
61
+
62
+ - HOMA = 1 → aromatic
63
+ - HOMA = 0 → non-aromatic
64
+ - HOMAc = −1 → antiaromatic
65
+
66
+ ---
67
+
68
+ ### Electronic Criteria (AroElectronics)
54
69
 
55
- ### ⚡ Energetic Criteria (AroEnergetic)
56
- - **Coming soon...**
70
+ Coming soon.
57
71
 
58
72
  ---
59
73
 
60
- ## 📦 Installation
74
+ ## Installation
61
75
 
62
- Install via PyPI:
76
+ Install using pip:
63
77
 
64
78
  ```bash
65
79
  pip install aromatools
@@ -6,7 +6,7 @@ long_description = (this_directory / "README.md").read_text(encoding="utf-8")
6
6
 
7
7
  setup(
8
8
  name="aromatools",
9
- version="0.2.1",
9
+ version="0.2.3",
10
10
  packages=find_packages(),
11
11
  description="Python tools for aromaticity analysis using geometric and magnetic criteria",
12
12
  long_description=long_description,
@@ -1,34 +0,0 @@
1
- # AromaTools
2
-
3
- AromaTools is a Python package designed for the **analysis of aromaticity** using the three principal approaches:
4
-
5
- ---
6
-
7
- ## 🔬 Aromaticity Criteria
8
-
9
- ### 🧲 Magnetic Criteria (AroMagnetic)
10
- - Compute the **induced magnetic field** in x, y, or z directions.
11
- - Calculate:
12
- - **NICS** at a single point (NICS-SP)
13
- - **NICS-XY-Scan** (1D and 2D)
14
- - **NICS-3D**
15
- - Compute the **ring current strength** by numerical integration.
16
-
17
- ### 📐 Geometric Criteria (AroGeometric)
18
- - Analyze **Bond Length Alternation** (BLA)
19
- - Compute the **HOMA**, **HOMER**, and **HOMAc** indices:
20
- - `HOMA`: 0 = non-aromatic, 1 = aromatic
21
- - `HOMER`: excited-state aromaticity
22
- - `HOMAc`: -1 = antiaromatic, 0 = non-aromatic, 1 = aromatic
23
-
24
- ### ⚡ Energetic Criteria (AroEnergetic)
25
- - **Coming soon...**
26
-
27
- ---
28
-
29
- ## 📦 Installation
30
-
31
- Install via PyPI:
32
-
33
- ```bash
34
- pip install aromatools
File without changes
File without changes
File without changes