occpy 0.6.2__cp310-cp310-macosx_11_0_arm64.whl

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 (53) hide show
  1. bin/occ +0 -0
  2. occpy/__init__.py +3 -0
  3. occpy/_occpy.cpython-310-darwin.so +0 -0
  4. occpy-0.6.2.dist-info/METADATA +170 -0
  5. occpy-0.6.2.dist-info/RECORD +53 -0
  6. occpy-0.6.2.dist-info/WHEEL +5 -0
  7. occpy-0.6.2.dist-info/licenses/LICENSE.txt +17 -0
  8. share/occ/basis/3-21g.json +7891 -0
  9. share/occ/basis/6-311g(d,p).json +5836 -0
  10. share/occ/basis/6-31g(d,p).json +5786 -0
  11. share/occ/basis/6-31g.json +5026 -0
  12. share/occ/basis/ano-rcc.json +73717 -0
  13. share/occ/basis/aug-pcseg-0.json +6408 -0
  14. share/occ/basis/aug-pcseg-1.json +7818 -0
  15. share/occ/basis/aug-pcseg-2.json +10872 -0
  16. share/occ/basis/aug-pcseg-3.json +14988 -0
  17. share/occ/basis/cc-pv5z-jkfit.json +10376 -0
  18. share/occ/basis/cc-pv5z.json +17739 -0
  19. share/occ/basis/cc-pv6z.json +6551 -0
  20. share/occ/basis/cc-pvdz-f12.json +3896 -0
  21. share/occ/basis/cc-pvdz.json +7433 -0
  22. share/occ/basis/cc-pvqz-f12.json +6919 -0
  23. share/occ/basis/cc-pvqz-jkfit.json +9491 -0
  24. share/occ/basis/cc-pvqz.json +13257 -0
  25. share/occ/basis/cc-pvtz-f12.json +5176 -0
  26. share/occ/basis/cc-pvtz-jkfit.json +8921 -0
  27. share/occ/basis/cc-pvtz.json +9949 -0
  28. share/occ/basis/def2-mtzvpp-rij.json +4263 -0
  29. share/occ/basis/def2-mtzvpp.json +28241 -0
  30. share/occ/basis/def2-qzvp.json +39513 -0
  31. share/occ/basis/def2-qzvpd.json +31643 -0
  32. share/occ/basis/def2-qzvpp.json +41135 -0
  33. share/occ/basis/def2-qzvppd.json +32791 -0
  34. share/occ/basis/def2-sv(p).json +23943 -0
  35. share/occ/basis/def2-svp.json +24888 -0
  36. share/occ/basis/def2-svpd.json +19623 -0
  37. share/occ/basis/def2-tzvp.json +29879 -0
  38. share/occ/basis/def2-tzvpd.json +23680 -0
  39. share/occ/basis/def2-tzvpp.json +31380 -0
  40. share/occ/basis/def2-tzvppd.json +24937 -0
  41. share/occ/basis/def2-universal-jfit.json +32154 -0
  42. share/occ/basis/def2-universal-jkfit.json +66233 -0
  43. share/occ/basis/mini.json +15814 -0
  44. share/occ/basis/pcseg-0.json +5178 -0
  45. share/occ/basis/pcseg-1.json +6138 -0
  46. share/occ/basis/pcseg-2.json +8682 -0
  47. share/occ/basis/pcseg-3.json +12258 -0
  48. share/occ/basis/sto-3g.json +6013 -0
  49. share/occ/basis/thakkar.json +44708 -0
  50. share/occ/solvent/dielectric_constants.json +1971 -0
  51. share/occ/solvent/dielectrics.json +181 -0
  52. share/occ/solvent/draco.json +210 -0
  53. share/occ/solvent/smd.json +1971 -0
bin/occ ADDED
Binary file
occpy/__init__.py ADDED
@@ -0,0 +1,3 @@
1
+ from ._occpy import setup_logging
2
+ setup_logging(0)
3
+ from ._occpy import *
Binary file
@@ -0,0 +1,170 @@
1
+ Metadata-Version: 2.1
2
+ Name: occpy
3
+ Version: 0.6.2
4
+ Summary: A library for quantum chemistry
5
+ Author-Email: Peter Spackman <peterspackman@fastmail.com>
6
+ Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
7
+ Project-URL: Homepage, https://github.com/peterspackman/occ
8
+ Requires-Python: >=3.8
9
+ Requires-Dist: numpy
10
+ Description-Content-Type: text/markdown
11
+
12
+ # Open Computational Chemistry (OCC)
13
+ <img src="https://github.com/peterspackman/occ/raw/main/docs/static/occ.png" width=640/>
14
+
15
+ [![Build & Test](https://github.com/peterspackman/occ/actions/workflows/build_test.yml/badge.svg)](https://github.com/peterspackman/occ/actions/workflows/build_test.yml)
16
+ [![DOI](https://zenodo.org/badge/292276139.svg)](https://zenodo.org/doi/10.5281/zenodo.10703204)
17
+
18
+
19
+
20
+ A next generation quantum chemistry and crystallography program and library.
21
+
22
+ **Note**: occ is in early development, and is undergoing substantial changes regularly - it is not stable, and features are being added & developed rapidly.
23
+
24
+ ## Features
25
+
26
+ ### Quantum chemistry
27
+
28
+ Occ is already a fairly fully featured program for ground-state single point calculations in quantum chemistry, including:
29
+ - Hartree-Fock (Restricted, Unrestricted and General Spinorbitals)
30
+ - Density-Functional Theory (Restricted & Unrestricted Spinorbitals)
31
+ - The LDA, GGA and meta-GGA approximations are supported
32
+ - Global hybrid functionals (range-separated will be added in the future)
33
+ - Density fitting (RI-JK) using an auxiliary basis for all above methods
34
+ - Implicit solvation via SMD
35
+
36
+ Seminumerical exchange (i.e. chain of spheres/COSX) has been implemented, but the performance is not yet good enough to be useful.
37
+
38
+ Property calculations that are currently available
39
+ - Molecular and atomic multipole moments up to hexadecapole (only Mulliken partitioning is implemented)
40
+ - Electrostatic potential calculations
41
+ - Electron density (of course)
42
+ - CHELPG charges
43
+
44
+ I've recently added an implementation of the XDM dispersion model, which will be properly interfaced and made convenient to use
45
+ in the future.
46
+
47
+ Not yet implemented:
48
+ - Gradients (and optimization of geometries)
49
+ - Perturbation theory (e.g. MP2)
50
+ - Coupled-cluster methods
51
+
52
+ ### Crystal structures
53
+
54
+ - Reading CIF files (via gemmi)
55
+ - Fast periodic bond detection, generation of symmetry unique molecules, dimers and more...
56
+ - CrystalExplorer model energies
57
+ - Automatic direct space summation of lattice energies for neutral molecular crystals including Wolf summation.
58
+ - Hirshfeld surfaces, and promolecule surfaces
59
+
60
+ ### Misc
61
+ - Spherical harmonic transforms using FFTs
62
+ - Molecular point group detection/determination
63
+ - Reading/writing Gaussian fchk files (including MO normalization and reordering of basis functions)
64
+ - Reading molden files (including MO normalization and reordering of basis functions)
65
+ - Writing numpy `.npy` arrays
66
+ - Reading QCSchema formatted JSON files.
67
+ - Reading basic Gaussian input files
68
+ - Marching cubes
69
+ - Morton codes for linear-hashed octrees
70
+ - Electronegativity equilibration method for charges
71
+
72
+ First steps have been taken, with a proof of concept python interface for convenience & scripting using pybind11.
73
+
74
+ ## Compilation
75
+
76
+ occ requires a compliant C++17 compiler e.g. GCC-10 or newer.
77
+
78
+ ### Dependencies
79
+
80
+ occ makes use of the the following open source libraries:
81
+
82
+ - [cxxopts](https://github.com/jarro2783/cxxopts)
83
+ - [Eigen3](https://eigen.tuxfamily.org/)(`eigen3-dev`)
84
+ - [fmt](https://github.com/fmtlib/fmt)
85
+ - [gau2grid](https://github.com/dgasmith/gau2grid)
86
+ - [gemmi](https://gemmi.readthedocs.io/)
87
+ - [LBFGS++](https://lbfgspp.statr.me/)
88
+ - [libcint](https://github.com/sunqm/libcint)
89
+ - [libxc](http://www.tddft.org/programs/libxc/)
90
+ - [nanoflann](https://github.com/jlblancoc/nanoflann)
91
+ - [nlohmann/json](https://github.com/nlohmann/json)
92
+ - [pocketFFT](https://github.com/hayguen/pocketfft)
93
+ - [scnlib](https://github.com/eliaskosunen/scnlib)
94
+ - [spdlog](https://github.com/gabime/spdlog)
95
+
96
+ And for the library tests/benchmarks:
97
+
98
+ - [catch2](https://github.com/catchorg/Catch2)
99
+
100
+
101
+ ### Getting the source code
102
+
103
+ First clone the repository:
104
+ ```
105
+ git clone https://github.com/peterspackman/occ.git
106
+ ```
107
+
108
+ ### Getting dependencies
109
+
110
+ Most of the dependencies can be downloaded and compiled via [CPM](https://github.com/cpm-cmake/CPM.cmake),
111
+ but you may wish to use system installed dependencies for `libxc` and `eigen3` which will be searched for by default.
112
+ Note `occ` requires eigen version 3.4 or newer, which most operating systems do not package by default.
113
+
114
+ ### Caching dependency downloads
115
+
116
+ If you wish to download and compile all dependencies, but you're a developer or want to avoid downloading
117
+ the dependencies every new build, I'd recommend setting up a source cache for CPM
118
+ via the environment variable `CPM_SOURCE_CACHE` e.g. adding the following to your environment.
119
+
120
+ ```
121
+ export CPM_SOURCE_CACHE="$HOME/.cache/cpm"
122
+ ```
123
+
124
+ ####
125
+
126
+ For building the repository I highly recommend using [ninja](https://ninja-build.org/) rather
127
+ than make.
128
+
129
+ Once the dependencies are installed, start an out-of-source build e.g.
130
+ ```
131
+ mkdir build && cd build
132
+ cmake .. -GNinja
133
+ ```
134
+
135
+ **OR**, if you'd rather download all dependencies you could call cmake with:
136
+
137
+ ```
138
+ cmake .. -GNinja \
139
+ -DUSE_SYSTEM_LIBXC=OFF \
140
+ -DUSE_SYSTEM_EIGEN=OFF
141
+ ```
142
+
143
+ Generally, speedups can be achieved by allowing the compiler to optimize for your platform using `-march=native` or similar flags.
144
+
145
+ Finally, to build the binary `occ`, running
146
+
147
+ ```
148
+ ninja occ
149
+ ```
150
+
151
+ will result in the binary being built under the `bin` directory wherever
152
+ your build directory is located
153
+
154
+ ## Usage
155
+
156
+ All following usage is a work in progress, expect significant changes
157
+ constantly for the time-being while the exact input format is decided.
158
+
159
+ ### occ
160
+
161
+ By default `occ -h` will print out its usage options, but basic usage
162
+ given a geometry e.g. `h2o.xyz` format would be:
163
+
164
+ ```
165
+ occ scf h2o.xyz b3lyp 6-31g
166
+ ```
167
+
168
+ ### Basis set locations
169
+ *note* The path the `occ` will use to search for basis sets can be configured with the `OCC_DATA_PATH` environment variable,
170
+ or you can simply make the basis set available in your working directory.
@@ -0,0 +1,53 @@
1
+ occpy/__init__.py,sha256=qVOm_6UPBFJdCGomi-NBwFn-_n8EGy3-aq790dlhB_4,73
2
+ occpy/_occpy.cpython-310-darwin.so,sha256=04UnSRh4xCZzpXqXX1emZF4X1h-CS82a5HxgKpMhijU,20883392
3
+ bin/occ,sha256=r_724r1WCZCLIb0hsuVNa8d2pSSWmXJo69ZAPHdLnYY,24279232
4
+ occpy-0.6.2.dist-info/RECORD,,
5
+ occpy-0.6.2.dist-info/WHEEL,sha256=6MtnuhwC6x-50-JwXkItuN5DjamPJbHyk3tVN_27aCU,114
6
+ occpy-0.6.2.dist-info/METADATA,sha256=fdDdtwo6MmMwVUW81S1cyu-DEeSRnvEkWm1tjQS6FKo,6110
7
+ occpy-0.6.2.dist-info/licenses/LICENSE.txt,sha256=5fvmauGmRic38fyZZuc3YBBPEmgbYKVcRuCb1YLN7UU,781
8
+ share/occ/solvent/dielectric_constants.json,sha256=GMRldNjqknxVm9ROCDvDrfWhIc9FdIIjGhnAxQwT26c,49229
9
+ share/occ/solvent/dielectrics.json,sha256=E8otdtPhjmZDSOoXnSo2gsM8zV5KVXpt3C8aZ3qyxFM,4854
10
+ share/occ/solvent/smd.json,sha256=GMRldNjqknxVm9ROCDvDrfWhIc9FdIIjGhnAxQwT26c,49229
11
+ share/occ/solvent/draco.json,sha256=-xoJULrZ6pQX4GxYN-s3JsXpuwMnG_tlWp36LxRfhoY,13140
12
+ share/occ/basis/pcseg-0.json,sha256=qhglPPcgp61HOZK5RNL8HII79Yq7N5o8L_Ac6lGsxJE,166001
13
+ share/occ/basis/3-21g.json,sha256=NfvlvEwx4kvMhzx7W50hJ6aFIGRHrlSoQ4riFOQnTEw,264009
14
+ share/occ/basis/def2-tzvpd.json,sha256=lv9pORvpYJYEQi8aMvkOUjOMgOL62M7rlITA8x1OF40,758730
15
+ share/occ/basis/def2-tzvp.json,sha256=zBnQSRTMZVWgqH_3UWV9NdWp_M81P9JNjqZqZ8eOSA0,952967
16
+ share/occ/basis/cc-pvqz.json,sha256=bZdKRIG20kUGwoUl80Iw3PbMqqVfLMLX8r5UKe0LaQc,518878
17
+ share/occ/basis/mini.json,sha256=86UaJaxP-ZO7r7FN5gAWrz1KTj04m4RwAV65rTPCm34,344825
18
+ share/occ/basis/cc-pv5z.json,sha256=Bf3tCLt69EzAuR1z7kPTFqrkFdXGFwGonyg4K-0eyKU,702114
19
+ share/occ/basis/def2-mtzvpp.json,sha256=Tp0mQTsxoxPMrgiDmwAMtx-zZHl-fqphzrf_-OJ9qMU,902118
20
+ share/occ/basis/def2-tzvppd.json,sha256=eQvcSkJQRBkJKiJKjxIAkopbSsbQNWudjNRtM-dBXIw,797441
21
+ share/occ/basis/def2-tzvpp.json,sha256=-eB5Ss9Y8z351kmPcVE2JWFdD9wFhShfoXYwRypUYLY,999686
22
+ share/occ/basis/pcseg-1.json,sha256=FWAn-t2bhH8bCVAoDpwZRSoJtAfdWofV9PwdV78YGf8,200970
23
+ share/occ/basis/aug-pcseg-3.json,sha256=mB6dW3c3OQju3GufISoy2XIy9yvS3XlVaSlv_syiSUQ,488436
24
+ share/occ/basis/def2-mtzvpp-rij.json,sha256=iMc6ujPvWcKkaTfXPVToijFkZ4lH2GDydow7TQQaiqk,131825
25
+ share/occ/basis/def2-svp.json,sha256=_P6fkPsbiCRappOlp6YS5l40WssdfjvsRKk8Wl3z54E,796837
26
+ share/occ/basis/cc-pvtz.json,sha256=66FqJ4fCWKKrHw5wgY4iL8Ct3-RFPOQsk13_dUhaqIk,385699
27
+ share/occ/basis/6-31g.json,sha256=G-TBdxklJSZQdhWD0tw1oofzgseg7TP_CkrluR62aD4,176415
28
+ share/occ/basis/cc-pvtz-f12.json,sha256=cDIdvTAB-ZhriKSmmoTTmpUDQPZ_RJfEo_K8T2fPCHo,189078
29
+ share/occ/basis/def2-sv(p).json,sha256=cYBJszp5WC4yH0QRDr6xrS7rWCxLY3S8H-WGF3-1L5E,765953
30
+ share/occ/basis/def2-universal-jkfit.json,sha256=DOrzRZzp2kij7jD_qevqlj2jKcZyysnTQfFViGOaHDM,2048819
31
+ share/occ/basis/cc-pv6z.json,sha256=7wDdCudOE1s46WCwuCX8Cevw7rPaB3pImvrHVS7hjZY,251227
32
+ share/occ/basis/aug-pcseg-2.json,sha256=Pm9geGB51AXyxZVfyV2wYov7wXDuSpDm2Lje3nyGVyU,352810
33
+ share/occ/basis/aug-pcseg-1.json,sha256=mg-HpCnQcUB1Qg7R-aIAu7oQ0RVFf9CF7mC_FHuMYkA,253274
34
+ share/occ/basis/sto-3g.json,sha256=7D3VidT9SQd1fPo3cgNrqbWL4CZnZuqcJsBWmvjfn7o,205386
35
+ share/occ/basis/def2-universal-jfit.json,sha256=NnCNDf4BsTemU6SEbP5i5L06YASLMmCBJSnK-TXl6o8,997958
36
+ share/occ/basis/cc-pv5z-jkfit.json,sha256=b8M1Pee7f_ttr99u_PDxCMcNMCGVqacO12k6ukJ3V3s,319897
37
+ "share/occ/basis/6-311g(d,p).json",sha256=XV-2gMQFEzda9LE04NXkJNsoyzC13dIq0cqJ7-UoKV8,183144
38
+ share/occ/basis/def2-svpd.json,sha256=oyvslqOhm8p0f9jOQd3RE1qdmRxwp9up4GYYEh1AIvM,631106
39
+ share/occ/basis/aug-pcseg-0.json,sha256=Oa1Rj7j4G5kViuPCwPyiypEsnwuu-PrJSCyC85SvF90,204161
40
+ share/occ/basis/cc-pvqz-f12.json,sha256=2HMhjLRh6Ud4bWs5_w6Y1KFlGlvkfHGE5azdW8B913s,254917
41
+ share/occ/basis/thakkar.json,sha256=iTlcyKH6cJH3TQITkeT9W3E8oUf-PiR4aOIfab6oOIc,759834
42
+ share/occ/basis/cc-pvdz-f12.json,sha256=7ibOqOcRI6s9CX0PBvPBrcKzFbFO6zsWr9-CHCx1VBM,141589
43
+ share/occ/basis/cc-pvdz.json,sha256=rZCSLByGXzQ9Ah4-x3DgrL5sKLkc1ZFVu3hdKbJRLyc,286107
44
+ share/occ/basis/pcseg-2.json,sha256=Mf7dUyKIrIFa2lN4ukjrsysd0gVdKel2Jvkvy1gRXQg,284458
45
+ share/occ/basis/def2-qzvppd.json,sha256=b8hhc2S2fwCVzn7Zz2XR86iGl-ULp6Kz-NcDVucTrkM,1047380
46
+ share/occ/basis/def2-qzvp.json,sha256=3MQGrvaXPHWEj0-QrUEfZXbJlLx9DS39u85q_RkwB3Q,1260990
47
+ share/occ/basis/cc-pvqz-jkfit.json,sha256=PCiJ0x3W44p9_3F5Sn8kcLEiApNmEUsyFt1dxQ2ct6M,291910
48
+ share/occ/basis/def2-qzvpd.json,sha256=jrdM-r3Q_TwBwh0mwCkCtpnVe7719eOC2qV1O0Xia94,1011712
49
+ share/occ/basis/ano-rcc.json,sha256=81JxpBoHl3Lv8H_rbc9d65fPoampezMjAGBqfvtjyCY,2889762
50
+ "share/occ/basis/6-31g(d,p).json",sha256=QyyrtinxOnn3YbTjXFhV64fRa5krFNkHZBFLTeMDmGg,202064
51
+ share/occ/basis/def2-qzvpp.json,sha256=mxDBXO1ioVvU9I5q-0Sfnx7im3eUqeCmfALTv8_PIJQ,1312116
52
+ share/occ/basis/cc-pvtz-jkfit.json,sha256=EGFYnz_vek0fhWnkrERNbndcTUdkuqF6Ht0CZAXgjc8,273912
53
+ share/occ/basis/pcseg-3.json,sha256=589ml7XwiCqz70j56NOMZzdlwrmtWT5FdAtXQia3r34,403092
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: scikit-build-core 0.9.10
3
+ Root-Is-Purelib: false
4
+ Tag: cp310-cp310-macosx_11_0_arm64
5
+
@@ -0,0 +1,17 @@
1
+ occ, a program for quantum chemistry & crystallography
2
+ Copyright (C) 2023 Peter Spackman
3
+
4
+ This program is free software: you can redistribute it and/or modify
5
+ it under the terms of the GNU General Public License as published by
6
+ the Free Software Foundation, either version 3 of the License, or
7
+ (at your option) any later version.
8
+
9
+ This program is distributed in the hope that it will be useful,
10
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ GNU General Public License for more details.
13
+
14
+ You should have received a copy of the GNU General Public License
15
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
16
+
17
+ If you are interested in other licensing options, please contact the author.