scope-qc 0.9.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.
Files changed (58) hide show
  1. scope_qc-0.9.3/PKG-INFO +112 -0
  2. scope_qc-0.9.3/README.md +94 -0
  3. scope_qc-0.9.3/pyproject.toml +33 -0
  4. scope_qc-0.9.3/setup.cfg +4 -0
  5. scope_qc-0.9.3/src/scope/__init__.py +4 -0
  6. scope_qc-0.9.3/src/scope/classes_atom.py +684 -0
  7. scope_qc-0.9.3/src/scope/classes_cell.py +747 -0
  8. scope_qc-0.9.3/src/scope/classes_cif.py +182 -0
  9. scope_qc-0.9.3/src/scope/classes_data.py +336 -0
  10. scope_qc-0.9.3/src/scope/classes_environment.py +928 -0
  11. scope_qc-0.9.3/src/scope/classes_input.py +346 -0
  12. scope_qc-0.9.3/src/scope/classes_qc.py +202 -0
  13. scope_qc-0.9.3/src/scope/classes_queue.py +320 -0
  14. scope_qc-0.9.3/src/scope/classes_specie.py +2075 -0
  15. scope_qc-0.9.3/src/scope/classes_state.py +882 -0
  16. scope_qc-0.9.3/src/scope/classes_system.py +390 -0
  17. scope_qc-0.9.3/src/scope/classes_workflow.py +1318 -0
  18. scope_qc-0.9.3/src/scope/cli/__init__.py +0 -0
  19. scope_qc-0.9.3/src/scope/cli/config.py +52 -0
  20. scope_qc-0.9.3/src/scope/cli/create_many.py +72 -0
  21. scope_qc-0.9.3/src/scope/cli/create_single.py +72 -0
  22. scope_qc-0.9.3/src/scope/cli/main.py +19 -0
  23. scope_qc-0.9.3/src/scope/cli/run.py +64 -0
  24. scope_qc-0.9.3/src/scope/cli/set_path.py +56 -0
  25. scope_qc-0.9.3/src/scope/connectivity.py +378 -0
  26. scope_qc-0.9.3/src/scope/constants.py +58 -0
  27. scope_qc-0.9.3/src/scope/cshm.py +17 -0
  28. scope_qc-0.9.3/src/scope/elementdata.py +2353 -0
  29. scope_qc-0.9.3/src/scope/findiff.py +196 -0
  30. scope_qc-0.9.3/src/scope/geometry.py +681 -0
  31. scope_qc-0.9.3/src/scope/operations/dicts_and_lists.py +52 -0
  32. scope_qc-0.9.3/src/scope/operations/graphs.py +214 -0
  33. scope_qc-0.9.3/src/scope/operations/vecs_and_mats.py +187 -0
  34. scope_qc-0.9.3/src/scope/other.py +516 -0
  35. scope_qc-0.9.3/src/scope/parse_general.py +70 -0
  36. scope_qc-0.9.3/src/scope/read_write.py +436 -0
  37. scope_qc-0.9.3/src/scope/reconstruct.py +648 -0
  38. scope_qc-0.9.3/src/scope/register_data.py +156 -0
  39. scope_qc-0.9.3/src/scope/software/gaussian/__init__.py +3 -0
  40. scope_qc-0.9.3/src/scope/software/gaussian/g16_input.py +258 -0
  41. scope_qc-0.9.3/src/scope/software/gaussian/g16_output.py +425 -0
  42. scope_qc-0.9.3/src/scope/software/gaussian/g16_parse.py +398 -0
  43. scope_qc-0.9.3/src/scope/software/quantum_espresso/__init__.py +4 -0
  44. scope_qc-0.9.3/src/scope/software/quantum_espresso/qe_functions.py +28 -0
  45. scope_qc-0.9.3/src/scope/software/quantum_espresso/qe_input.py +267 -0
  46. scope_qc-0.9.3/src/scope/software/quantum_espresso/qe_output.py +600 -0
  47. scope_qc-0.9.3/src/scope/software/quantum_espresso/qe_parse.py +444 -0
  48. scope_qc-0.9.3/src/scope/thermodynamics.py +153 -0
  49. scope_qc-0.9.3/src/scope/utils/__init__.py +3 -0
  50. scope_qc-0.9.3/src/scope/utils/core_tools.py +45 -0
  51. scope_qc-0.9.3/src/scope/utils/run_task.py +350 -0
  52. scope_qc-0.9.3/src/scope/vnm_tools.py +364 -0
  53. scope_qc-0.9.3/src/scope_qc.egg-info/PKG-INFO +112 -0
  54. scope_qc-0.9.3/src/scope_qc.egg-info/SOURCES.txt +56 -0
  55. scope_qc-0.9.3/src/scope_qc.egg-info/dependency_links.txt +1 -0
  56. scope_qc-0.9.3/src/scope_qc.egg-info/entry_points.txt +2 -0
  57. scope_qc-0.9.3/src/scope_qc.egg-info/requires.txt +10 -0
  58. scope_qc-0.9.3/src/scope_qc.egg-info/top_level.txt +1 -0
@@ -0,0 +1,112 @@
1
+ Metadata-Version: 2.4
2
+ Name: scope-qc
3
+ Version: 0.9.3
4
+ Summary: SCOPE: Chemically-aware workflow automation for molecules and molecular crystals. Core package
5
+ Author-email: Sergi Vela <sergi.vela@iqac.csic.es>
6
+ Requires-Python: <3.13,>=3.12
7
+ Description-Content-Type: text/markdown
8
+ Requires-Dist: numpy
9
+ Requires-Dist: networkx<3.3
10
+ Requires-Dist: scipy
11
+ Requires-Dist: rdkit
12
+ Requires-Dist: ipykernel
13
+ Requires-Dist: plotly
14
+ Requires-Dist: nbformat
15
+ Requires-Dist: jupyter
16
+ Requires-Dist: matplotlib
17
+ Requires-Dist: platformdirs
18
+
19
+ # scope
20
+
21
+ `scope` is the core SCOPE package: a chemically aware workflow-automation toolkit for molecules and molecular crystals.
22
+
23
+ It provides the main object model and workflow engine used across the SCOPE project:
24
+
25
+ - chemistry-aware classes for molecules, ligands, atoms, bonds, and cells
26
+ - workflow orchestration for preparing, submitting, and tracking computations
27
+ - parsing and registration of Gaussian and Quantum Espresso results
28
+ - environment, path, and queue management for HPC execution
29
+ - a CLI for configuring projects, creating systems, and running tasks
30
+
31
+ Optional add-ons such as `scope-azo` and `scope-sco` build on top of this core package.
32
+
33
+ ## Documentation
34
+
35
+ - Repository and source code: <https://github.com/QTC-IQAC/Scope>
36
+ - Preprint: <https://doi.org/10.26434/chemrxiv.15001415/v1>
37
+ - Tutorials: <https://github.com/QTC-IQAC/Scope_Tutorials>
38
+
39
+ ## Installation
40
+
41
+ create and activate conda environment and install pip:
42
+ ```bash
43
+ conda create --name scope python=3.12
44
+ conda activate scope
45
+ conda install pip
46
+
47
+ # `cell2mol` is an external dependency and must currently be installed separately from its source repository.
48
+ pip install git+https://github.com/lcmd-epfl/cell2mol.git
49
+ ```
50
+
51
+ ### Option 1: from PyPI
52
+ ```bash
53
+ pip install scope-qc # Core Modules
54
+ ```
55
+
56
+ ### Option 2: from repository
57
+ ```bash
58
+ git clone https://github.com/QTC-IQAC/Scope.git
59
+ cd Scope
60
+ pip install -e core
61
+ ```
62
+
63
+ ### Option 3: from TestPyPi:
64
+ ```bash
65
+ pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ scope-qc
66
+ ```
67
+
68
+ ## Dependencies
69
+
70
+ The core package depends on:
71
+
72
+ - `numpy`
73
+ - `networkx < 3.3`
74
+ - `scipy`
75
+ - `rdkit`
76
+ - `ipykernel`
77
+ - `plotly`
78
+ - `nbformat`
79
+ - `jupyter`
80
+ - `matplotlib`
81
+ - `platformdirs`
82
+
83
+ External prerequisite:
84
+
85
+ - `cell2mol`, installed separately from <https://github.com/lcmd-epfl/cell2mol.git>
86
+
87
+ Python requirement:
88
+
89
+ - Python 3.12
90
+
91
+ ## Command Line Interface
92
+
93
+ The core package provides the `scope` command with subcommands for configuring SCOPE environments, creating systems, and running tasks.
94
+
95
+ For help:
96
+
97
+ ```bash
98
+ scope -h
99
+ ```
100
+
101
+ ## Usage
102
+
103
+ SCOPE is typically used through the command line to:
104
+ - configure environments: `scope config`
105
+ - create systems: `scope create_single` and `scope create_many`
106
+ - execute workflows: `scope run`
107
+
108
+ `System` objects are saved in binary files that can then be inspected later in notebooks or other interactive sessions.
109
+
110
+ ## License
111
+
112
+ See the repository-level [LICENSE](../LICENSE) file for licensing information.
@@ -0,0 +1,94 @@
1
+ # scope
2
+
3
+ `scope` is the core SCOPE package: a chemically aware workflow-automation toolkit for molecules and molecular crystals.
4
+
5
+ It provides the main object model and workflow engine used across the SCOPE project:
6
+
7
+ - chemistry-aware classes for molecules, ligands, atoms, bonds, and cells
8
+ - workflow orchestration for preparing, submitting, and tracking computations
9
+ - parsing and registration of Gaussian and Quantum Espresso results
10
+ - environment, path, and queue management for HPC execution
11
+ - a CLI for configuring projects, creating systems, and running tasks
12
+
13
+ Optional add-ons such as `scope-azo` and `scope-sco` build on top of this core package.
14
+
15
+ ## Documentation
16
+
17
+ - Repository and source code: <https://github.com/QTC-IQAC/Scope>
18
+ - Preprint: <https://doi.org/10.26434/chemrxiv.15001415/v1>
19
+ - Tutorials: <https://github.com/QTC-IQAC/Scope_Tutorials>
20
+
21
+ ## Installation
22
+
23
+ create and activate conda environment and install pip:
24
+ ```bash
25
+ conda create --name scope python=3.12
26
+ conda activate scope
27
+ conda install pip
28
+
29
+ # `cell2mol` is an external dependency and must currently be installed separately from its source repository.
30
+ pip install git+https://github.com/lcmd-epfl/cell2mol.git
31
+ ```
32
+
33
+ ### Option 1: from PyPI
34
+ ```bash
35
+ pip install scope-qc # Core Modules
36
+ ```
37
+
38
+ ### Option 2: from repository
39
+ ```bash
40
+ git clone https://github.com/QTC-IQAC/Scope.git
41
+ cd Scope
42
+ pip install -e core
43
+ ```
44
+
45
+ ### Option 3: from TestPyPi:
46
+ ```bash
47
+ pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ scope-qc
48
+ ```
49
+
50
+ ## Dependencies
51
+
52
+ The core package depends on:
53
+
54
+ - `numpy`
55
+ - `networkx < 3.3`
56
+ - `scipy`
57
+ - `rdkit`
58
+ - `ipykernel`
59
+ - `plotly`
60
+ - `nbformat`
61
+ - `jupyter`
62
+ - `matplotlib`
63
+ - `platformdirs`
64
+
65
+ External prerequisite:
66
+
67
+ - `cell2mol`, installed separately from <https://github.com/lcmd-epfl/cell2mol.git>
68
+
69
+ Python requirement:
70
+
71
+ - Python 3.12
72
+
73
+ ## Command Line Interface
74
+
75
+ The core package provides the `scope` command with subcommands for configuring SCOPE environments, creating systems, and running tasks.
76
+
77
+ For help:
78
+
79
+ ```bash
80
+ scope -h
81
+ ```
82
+
83
+ ## Usage
84
+
85
+ SCOPE is typically used through the command line to:
86
+ - configure environments: `scope config`
87
+ - create systems: `scope create_single` and `scope create_many`
88
+ - execute workflows: `scope run`
89
+
90
+ `System` objects are saved in binary files that can then be inspected later in notebooks or other interactive sessions.
91
+
92
+ ## License
93
+
94
+ See the repository-level [LICENSE](../LICENSE) file for licensing information.
@@ -0,0 +1,33 @@
1
+ [project]
2
+ name = "scope-qc"
3
+ version = "0.9.3"
4
+ description = "SCOPE: Chemically-aware workflow automation for molecules and molecular crystals. Core package"
5
+ readme = "README.md"
6
+ authors = [{ name = "Sergi Vela", email = "sergi.vela@iqac.csic.es" }]
7
+ requires-python = ">=3.12,<3.13"
8
+ dependencies = [
9
+ "numpy",
10
+ "networkx<3.3",
11
+ "scipy",
12
+ "rdkit",
13
+ "ipykernel",
14
+ "plotly",
15
+ "nbformat",
16
+ "jupyter",
17
+ "matplotlib",
18
+ "platformdirs",
19
+ ]
20
+
21
+ # Where your CLI entry point lives
22
+ [project.scripts]
23
+ # General
24
+ scope = "scope.cli.main:main"
25
+
26
+ [tool.setuptools.packages.find]
27
+ where = ["src"]
28
+ [tool.setuptools]
29
+ include-package-data = false
30
+
31
+ [build-system]
32
+ requires = ["setuptools", "wheel", "numpy"]
33
+ build-backend = "setuptools.build_meta"
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,4 @@
1
+ import os
2
+ from scope.read_write import *
3
+ from scope.classes_environment import Environment
4
+ from scope.classes_system import System