pymolpro 1.19.4__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.
- pymolpro-1.19.4/.gitattributes +1 -0
- pymolpro-1.19.4/.github/workflows/publish.yml +45 -0
- pymolpro-1.19.4/.github/workflows/sphinx-publish.yml +31 -0
- pymolpro-1.19.4/.github/workflows/unit-tests.yml +43 -0
- pymolpro-1.19.4/.gitignore +10 -0
- pymolpro-1.19.4/LICENSE +21 -0
- pymolpro-1.19.4/PKG-INFO +45 -0
- pymolpro-1.19.4/README.rst +19 -0
- pymolpro-1.19.4/build.sh +5 -0
- pymolpro-1.19.4/docs/.gitignore +1 -0
- pymolpro-1.19.4/docs/Makefile +22 -0
- pymolpro-1.19.4/docs/make.bat +35 -0
- pymolpro-1.19.4/docs/source/_templates/layout.html +13 -0
- pymolpro-1.19.4/docs/source/conf.py +56 -0
- pymolpro-1.19.4/docs/source/databases.rst +8 -0
- pymolpro-1.19.4/docs/source/examples/.gitignore +4 -0
- pymolpro-1.19.4/docs/source/examples/Non-covalent interactions benchmark.ipynb +652 -0
- pymolpro-1.19.4/docs/source/examples/c2h4_dihedral_pes/.gitignore +1 -0
- pymolpro-1.19.4/docs/source/examples/dihedral_scan.ipynb +181 -0
- pymolpro-1.19.4/docs/source/examples/evaluate_charge_density.ipynb +202 -0
- pymolpro-1.19.4/docs/source/examples/geometry_optimisation.ipynb +584 -0
- pymolpro-1.19.4/docs/source/examples/molpro_variables.ipynb +109 -0
- pymolpro-1.19.4/docs/source/examples/monitor_geometry_optimisation/acrolein.xyz +10 -0
- pymolpro-1.19.4/docs/source/examples/monitor_geometry_optimisation.ipynb +131 -0
- pymolpro-1.19.4/docs/source/examples/pair_correlation_energies.ipynb +212 -0
- pymolpro-1.19.4/docs/source/examples/thermochemical_benchmark_Bak2000_atomisations.ipynb +482 -0
- pymolpro-1.19.4/docs/source/examples/thermochemical_benchmark_Bak2000_reactions.ipynb +508 -0
- pymolpro-1.19.4/docs/source/examples.rst +8 -0
- pymolpro-1.19.4/docs/source/index.rst +106 -0
- pymolpro-1.19.4/docs/source/modules.rst +7 -0
- pymolpro-1.19.4/docs/source/pymolpro.rst +50 -0
- pymolpro-1.19.4/docs/source/schema.rst +6 -0
- pymolpro-1.19.4/example.xml-sidecar +0 -0
- pymolpro-1.19.4/future/orbital.ipynb +227 -0
- pymolpro-1.19.4/maintenance/make_Bak2000.py +88 -0
- pymolpro-1.19.4/maintenance/make_GMTKN55.py +205 -0
- pymolpro-1.19.4/maintenance/make_Minnesota_2019.py +84 -0
- pymolpro-1.19.4/maintenance/make_old_molpro_databases.py +141 -0
- pymolpro-1.19.4/pymolpro/TestProject.molpro/Info.plist +19 -0
- pymolpro-1.19.4/pymolpro/TestProject.molpro/TestProject.inp +6 -0
- pymolpro-1.19.4/pymolpro/TestProject.molpro/molpro.rc +1 -0
- pymolpro-1.19.4/pymolpro/TestProject.molpro/run/1.molpro/1.inp +6 -0
- pymolpro-1.19.4/pymolpro/TestProject.molpro/run/1.molpro/1.out +352 -0
- pymolpro-1.19.4/pymolpro/TestProject.molpro/run/1.molpro/1.xml +1387 -0
- pymolpro-1.19.4/pymolpro/TestProject.molpro/run/1.molpro/Info.plist +11 -0
- pymolpro-1.19.4/pymolpro/TestProject.molpro/run/1.molpro/molpro.rc +1 -0
- pymolpro-1.19.4/pymolpro/__init__.py +20 -0
- pymolpro-1.19.4/pymolpro/_version.py +24 -0
- pymolpro-1.19.4/pymolpro/ase_molpro.py +73 -0
- pymolpro-1.19.4/pymolpro/cube_data.py +121 -0
- pymolpro-1.19.4/pymolpro/database.py +797 -0
- pymolpro-1.19.4/pymolpro/defbas.py +81 -0
- pymolpro-1.19.4/pymolpro/elements.py +181 -0
- pymolpro-1.19.4/pymolpro/geometry.py +112 -0
- pymolpro-1.19.4/pymolpro/grid.py +359 -0
- pymolpro-1.19.4/pymolpro/molpro_input.json +277 -0
- pymolpro-1.19.4/pymolpro/molpro_input.py +1166 -0
- pymolpro-1.19.4/pymolpro/node_xml.py +291 -0
- pymolpro-1.19.4/pymolpro/orbital.py +292 -0
- pymolpro-1.19.4/pymolpro/project.py +1337 -0
- pymolpro-1.19.4/pymolpro/registry.py +67 -0
- pymolpro-1.19.4/pymolpro/run_molpro.py +49 -0
- pymolpro-1.19.4/pymolpro/share/database/A24.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/A24x8.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Bak2000_atomisations.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Bak2000_reactions.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN30_BHPERI.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN30_DARC.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN30_DC9.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN30_O3ADD6.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_ACONF.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_ADIM6.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_AHB21.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_AL2X6.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_ALK8.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_ALKBDE10.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_Amino20x4.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_BH76.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_BH76RC.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_BHDIV10.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_BHPERI.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_BHROT27.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_BSR36.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_BUT14DIOL.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_C60ISO.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_CARBHB12.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_CDIE20.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_CHB6.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_DARC.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_DC13.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_DIPCS10.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_FH51.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_G21EA.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_G21IP.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_G2RC.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_HAL59.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_HEAVY28.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_HEAVYSB11.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_ICONF.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_IDISP.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_IL16.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_INV24.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_ISO34.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_ISOL24.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_MB16-43.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_MCONF.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_NBPRC.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_PA26.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_PArel.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_PCONF21.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_PNICO23.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_PX13.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_RC21.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_RG18.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_RSE43.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_S22.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_S66.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_SCONF.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_SIE4x4.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_TAUT15.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_UPU23.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_W4-11.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_WATER27.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_WCPT18.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/GMTKN55_YBDE18.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Karton_CRBH20.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_2pIsoE4.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_3dEE8.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_4dAEE5.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_4pIsoE4.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_ABDE13.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_AE17.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_AEE15.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_AL2X6.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_ASNC2.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_BHDIV10.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_BHPERI26.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_BHROT27.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_DC9.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_DGH4.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_DGL6.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_DIPCS10.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_DM79.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_EA13.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_EE23.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_EE69.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_EEA11.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_EEAroT5.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_EER5.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_HC7.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_HEAVYSB11.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_HTBH38.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_IP23.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_ISOL6.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_LRCTEE2.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_LRCTEE9.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_MR-MGM-BE4.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_MR-MGN-BE17.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_MR-TM-BE12.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_MR-TMD-BE3.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_NCCE30.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_NGD21.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_NHTBH38.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_NaCl.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_PA8.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_PX13.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_S66_0.90.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_S66_0.95.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_S66_1.00.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_S66_1.05.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_S66_1.10.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_S66_1.25.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_S66_1.50.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_S66_2.00.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_S66_A.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_S66_B.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_SIE4x4.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_SMAE3.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_SR-MGM-BE8.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_SR-MGN-BE107.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_SR-TM-BE15.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_TMBH22.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_TMDBL10.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_TSG48.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_WCCR10.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_YBDE18.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_pEE5.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Minnesota_2019_pTC13.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Weizmann_W411_BDE_99.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Weizmann_W411_HAT_707.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Weizmann_W411_ISOMERIZATION_20.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Weizmann_W411_SN_13.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Weizmann_W411_TAE_140.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Weizmann_W411_TAE_MR_16.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/Weizmann_W411_TAEnonMR_124.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/benchmarks_N2minimal.json +1 -0
- pymolpro-1.19.4/pymolpro/share/database/sample.json +1 -0
- pymolpro-1.19.4/pymolpro/sparse_dump.py +60 -0
- pymolpro-1.19.4/pymolpro/test_ase.py +39 -0
- pymolpro-1.19.4/pymolpro/test_database.py +363 -0
- pymolpro-1.19.4/pymolpro/test_molpro_input.py +356 -0
- pymolpro-1.19.4/pymolpro/test_orbital.py +205 -0
- pymolpro-1.19.4/pymolpro/test_pair.py +85 -0
- pymolpro-1.19.4/pymolpro/test_project.py +278 -0
- pymolpro-1.19.4/pymolpro/test_registry.py +46 -0
- pymolpro-1.19.4/pymolpro/test_zmat.py +69 -0
- pymolpro-1.19.4/pymolpro/tuple.py +110 -0
- pymolpro-1.19.4/pymolpro.egg-info/PKG-INFO +45 -0
- pymolpro-1.19.4/pymolpro.egg-info/SOURCES.txt +217 -0
- pymolpro-1.19.4/pymolpro.egg-info/dependency_links.txt +1 -0
- pymolpro-1.19.4/pymolpro.egg-info/entry_points.txt +2 -0
- pymolpro-1.19.4/pymolpro.egg-info/requires.txt +9 -0
- pymolpro-1.19.4/pymolpro.egg-info/scm_file_list.json +212 -0
- pymolpro-1.19.4/pymolpro.egg-info/scm_version.json +8 -0
- pymolpro-1.19.4/pymolpro.egg-info/top_level.txt +1 -0
- pymolpro-1.19.4/pyproject.toml +40 -0
- pymolpro-1.19.4/requirements.txt +12 -0
- pymolpro-1.19.4/setup.cfg +4 -0
- pymolpro-1.19.4/test_elements.py +123 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
pymolpro/_version.py export-subst
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
name: Publish to PyPI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
release:
|
|
5
|
+
types: [published]
|
|
6
|
+
workflow_dispatch:
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
build:
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
steps:
|
|
12
|
+
- uses: actions/checkout@v4
|
|
13
|
+
with:
|
|
14
|
+
fetch-depth: 0 # needed so setuptools_scm can see tags
|
|
15
|
+
|
|
16
|
+
- uses: actions/setup-python@v5
|
|
17
|
+
with:
|
|
18
|
+
python-version: "3.12"
|
|
19
|
+
|
|
20
|
+
- name: Install build tool
|
|
21
|
+
run: python -m pip install --upgrade build
|
|
22
|
+
|
|
23
|
+
- name: Build sdist and wheel
|
|
24
|
+
run: python -m build
|
|
25
|
+
|
|
26
|
+
- uses: actions/upload-artifact@v4
|
|
27
|
+
with:
|
|
28
|
+
name: dist
|
|
29
|
+
path: dist/
|
|
30
|
+
|
|
31
|
+
publish:
|
|
32
|
+
needs: build
|
|
33
|
+
runs-on: ubuntu-latest
|
|
34
|
+
environment:
|
|
35
|
+
name: pypi
|
|
36
|
+
url: https://test.pypi.org/p/pymolpro
|
|
37
|
+
permissions:
|
|
38
|
+
id-token: write # required for OIDC trusted publishing
|
|
39
|
+
steps:
|
|
40
|
+
- uses: actions/download-artifact@v4
|
|
41
|
+
with:
|
|
42
|
+
name: dist
|
|
43
|
+
path: dist/
|
|
44
|
+
|
|
45
|
+
- uses: pypa/gh-action-pypi-publish@release/v1
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
name: Pages
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
tags:
|
|
5
|
+
- '*'
|
|
6
|
+
# branches:
|
|
7
|
+
# - trexio
|
|
8
|
+
jobs:
|
|
9
|
+
build:
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
steps:
|
|
12
|
+
- uses: conda-incubator/setup-miniconda@v3
|
|
13
|
+
with:
|
|
14
|
+
miniconda-version: "latest"
|
|
15
|
+
channels: conda-forge, defaults
|
|
16
|
+
- uses: actions/checkout@v4
|
|
17
|
+
with:
|
|
18
|
+
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
|
|
19
|
+
- name: set up environment
|
|
20
|
+
shell: bash -el {0}
|
|
21
|
+
run: |
|
|
22
|
+
conda install -y -c conda-forge -c anaconda --file requirements.txt sphinx_rtd_theme nbsphinx scipy sphinx sphinx-jsonschema ipython pip
|
|
23
|
+
python -m pip install --no-deps --force-reinstall .
|
|
24
|
+
- name: Build
|
|
25
|
+
shell: bash -el {0}
|
|
26
|
+
run: make -C docs html
|
|
27
|
+
- name: Deploy
|
|
28
|
+
uses: peaceiris/actions-gh-pages@v4
|
|
29
|
+
with:
|
|
30
|
+
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
31
|
+
publish_dir: 'docs/build/html'
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
name: Python unit tests
|
|
2
|
+
|
|
3
|
+
on: [ push, pull_request ]
|
|
4
|
+
|
|
5
|
+
jobs:
|
|
6
|
+
build:
|
|
7
|
+
|
|
8
|
+
runs-on: ubuntu-latest
|
|
9
|
+
strategy:
|
|
10
|
+
matrix:
|
|
11
|
+
python-version: [ "3.13", "3.10", "3.11", "3.12" ]
|
|
12
|
+
|
|
13
|
+
defaults:
|
|
14
|
+
run:
|
|
15
|
+
shell: bash -l {0}
|
|
16
|
+
steps:
|
|
17
|
+
- uses: conda-incubator/setup-miniconda@v2
|
|
18
|
+
with:
|
|
19
|
+
miniconda-version: "latest"
|
|
20
|
+
channels: conda-forge, defaults
|
|
21
|
+
python-version: ${{ matrix.python-version }}
|
|
22
|
+
- uses: actions/checkout@v3
|
|
23
|
+
- name: Set up Python ${{ matrix.python-version }}
|
|
24
|
+
uses: actions/setup-python@v4
|
|
25
|
+
with:
|
|
26
|
+
python-version: ${{ matrix.python-version }}
|
|
27
|
+
- name: Install dependencies
|
|
28
|
+
run: |
|
|
29
|
+
conda install -c conda-forge -y --file requirements.txt
|
|
30
|
+
pip install flake8 pytest
|
|
31
|
+
- name: Lint with flake8
|
|
32
|
+
run: |
|
|
33
|
+
# stop the build if there are Python syntax errors or undefined names
|
|
34
|
+
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
|
|
35
|
+
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
|
|
36
|
+
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
|
|
37
|
+
- name: Install
|
|
38
|
+
run: |
|
|
39
|
+
conda install -c anaconda -y pip
|
|
40
|
+
python -m pip install --no-deps --force-reinstall --verbose .
|
|
41
|
+
- name: Test with pytest
|
|
42
|
+
run: |
|
|
43
|
+
pytest
|
pymolpro-1.19.4/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2020, Marat Sibaev
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
pymolpro-1.19.4/PKG-INFO
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: pymolpro
|
|
3
|
+
Version: 1.19.4
|
|
4
|
+
Summary: Python support for Molpro
|
|
5
|
+
Author: Marat Sibaev, Klaus Doll
|
|
6
|
+
Author-email: Peter Knowles <knowlespj@cardiff.ac.uk>
|
|
7
|
+
License: MIT
|
|
8
|
+
Project-URL: Homepage, https://github.com/molpro/pymolpro
|
|
9
|
+
Project-URL: Issues, https://github.com/molpro/pymolpro/issues
|
|
10
|
+
Project-URL: Documentation, https://molpro.github.io/pymolpro
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
13
|
+
Requires-Python: >=3.8
|
|
14
|
+
Description-Content-Type: text/x-rst
|
|
15
|
+
License-File: LICENSE
|
|
16
|
+
Requires-Dist: numpy
|
|
17
|
+
Requires-Dist: pysjef>=1.45.3
|
|
18
|
+
Requires-Dist: scipy>=1.9.3
|
|
19
|
+
Requires-Dist: chemcoord
|
|
20
|
+
Requires-Dist: lxml
|
|
21
|
+
Requires-Dist: pandas
|
|
22
|
+
Requires-Dist: quadpy>=0.16.10
|
|
23
|
+
Requires-Dist: ase>=3.23.0
|
|
24
|
+
Requires-Dist: jsonschema>=4.0.0
|
|
25
|
+
Dynamic: license-file
|
|
26
|
+
|
|
27
|
+
Molpro python support
|
|
28
|
+
=====================
|
|
29
|
+
|
|
30
|
+
**pymolpro** is a Python library that provides support
|
|
31
|
+
for working with the `Molpro quantum chemistry package <https://www.molpro.net/>`_.
|
|
32
|
+
|
|
33
|
+
The principal feature is
|
|
34
|
+
the `Project` class that provides access to a complete Molpro job, including input
|
|
35
|
+
and output files together with metadata such as job status information.
|
|
36
|
+
The project is stored as a bundle implemented as a directory in the file system.
|
|
37
|
+
The class is a Python binding of the
|
|
38
|
+
`sjef <https://molpro.github.io/sjef/>`_ library with additional Molpro-specific customisation,
|
|
39
|
+
and the project bundle can be accessed
|
|
40
|
+
also through a command-line interface and the `gmolpro <https://www.molpro.net/manual/doku.php?id=gmolpro_graphical_user_interface>`_ and `iMolpro <https://github.com/molpro/iMolpro>`_
|
|
41
|
+
graphical user interfaces.
|
|
42
|
+
|
|
43
|
+
pymolpro is on `conda forge <https://conda-forge.org>`_ and can be installed on most systems using ``conda install -c conda-forge pymolpro``.
|
|
44
|
+
|
|
45
|
+
Documentation at https://molpro.github.io/pymolpro.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
Molpro python support
|
|
2
|
+
=====================
|
|
3
|
+
|
|
4
|
+
**pymolpro** is a Python library that provides support
|
|
5
|
+
for working with the `Molpro quantum chemistry package <https://www.molpro.net/>`_.
|
|
6
|
+
|
|
7
|
+
The principal feature is
|
|
8
|
+
the `Project` class that provides access to a complete Molpro job, including input
|
|
9
|
+
and output files together with metadata such as job status information.
|
|
10
|
+
The project is stored as a bundle implemented as a directory in the file system.
|
|
11
|
+
The class is a Python binding of the
|
|
12
|
+
`sjef <https://molpro.github.io/sjef/>`_ library with additional Molpro-specific customisation,
|
|
13
|
+
and the project bundle can be accessed
|
|
14
|
+
also through a command-line interface and the `gmolpro <https://www.molpro.net/manual/doku.php?id=gmolpro_graphical_user_interface>`_ and `iMolpro <https://github.com/molpro/iMolpro>`_
|
|
15
|
+
graphical user interfaces.
|
|
16
|
+
|
|
17
|
+
pymolpro is on `conda forge <https://conda-forge.org>`_ and can be installed on most systems using ``conda install -c conda-forge pymolpro``.
|
|
18
|
+
|
|
19
|
+
Documentation at https://molpro.github.io/pymolpro.
|
pymolpro-1.19.4/build.sh
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
build
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Minimal makefile for Sphinx documentation
|
|
2
|
+
#
|
|
3
|
+
|
|
4
|
+
# You can set these variables from the command line, and also
|
|
5
|
+
# from the environment for the first two.
|
|
6
|
+
SPHINXOPTS ?=
|
|
7
|
+
SPHINXBUILD ?= sphinx-build
|
|
8
|
+
SOURCEDIR = source
|
|
9
|
+
BUILDDIR = build
|
|
10
|
+
|
|
11
|
+
# Put it first so that "make" without argument is like "make help".
|
|
12
|
+
help:
|
|
13
|
+
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
|
14
|
+
|
|
15
|
+
.PHONY: help Makefile
|
|
16
|
+
|
|
17
|
+
# Catch-all target: route all unknown targets to Sphinx using the new
|
|
18
|
+
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
|
|
19
|
+
%: Makefile
|
|
20
|
+
@cp -p ../pymolpro/molpro_input.json $(SOURCEDIR)/molpro_input.json
|
|
21
|
+
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
|
22
|
+
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
@ECHO OFF
|
|
2
|
+
|
|
3
|
+
pushd %~dp0
|
|
4
|
+
|
|
5
|
+
REM Command file for Sphinx documentation
|
|
6
|
+
|
|
7
|
+
if "%SPHINXBUILD%" == "" (
|
|
8
|
+
set SPHINXBUILD=sphinx-build
|
|
9
|
+
)
|
|
10
|
+
set SOURCEDIR=source
|
|
11
|
+
set BUILDDIR=build
|
|
12
|
+
|
|
13
|
+
%SPHINXBUILD% >NUL 2>NUL
|
|
14
|
+
if errorlevel 9009 (
|
|
15
|
+
echo.
|
|
16
|
+
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
|
|
17
|
+
echo.installed, then set the SPHINXBUILD environment variable to point
|
|
18
|
+
echo.to the full path of the 'sphinx-build' executable. Alternatively you
|
|
19
|
+
echo.may add the Sphinx directory to PATH.
|
|
20
|
+
echo.
|
|
21
|
+
echo.If you don't have Sphinx installed, grab it from
|
|
22
|
+
echo.https://www.sphinx-doc.org/
|
|
23
|
+
exit /b 1
|
|
24
|
+
)
|
|
25
|
+
|
|
26
|
+
if "%1" == "" goto help
|
|
27
|
+
|
|
28
|
+
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
|
|
29
|
+
goto end
|
|
30
|
+
|
|
31
|
+
:help
|
|
32
|
+
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
|
|
33
|
+
|
|
34
|
+
:end
|
|
35
|
+
popd
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{% extends "!layout.html" %}
|
|
2
|
+
|
|
3
|
+
{% block menu %}
|
|
4
|
+
{{ super() }}
|
|
5
|
+
<p class="caption">
|
|
6
|
+
<span class="caption-text">Indices</span>
|
|
7
|
+
</p>
|
|
8
|
+
<ul>
|
|
9
|
+
<li class="toctree-l1"><a href= "{{pathto('genindex.html', 1)}}">Everything</a></li>
|
|
10
|
+
<li class="toctree-l1"><a href= "{{pathto('py-modindex.html', 1)}}">Module Index</a></li>
|
|
11
|
+
</ul>
|
|
12
|
+
|
|
13
|
+
{% endblock %}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import sys
|
|
2
|
+
import subprocess
|
|
3
|
+
import pymolpro
|
|
4
|
+
import os
|
|
5
|
+
from pathlib import Path
|
|
6
|
+
|
|
7
|
+
# Configuration file for the Sphinx documentation builder.
|
|
8
|
+
#
|
|
9
|
+
# For the full list of built-in configuration values, see the documentation:
|
|
10
|
+
# https://www.sphinx-doc.org/en/master/usage/configuration.html
|
|
11
|
+
|
|
12
|
+
# -- Project information -----------------------------------------------------
|
|
13
|
+
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
|
|
14
|
+
|
|
15
|
+
project = 'pymolpro'
|
|
16
|
+
copyright = '2022, Marat Sibaev, Peter Knowles'
|
|
17
|
+
author = 'Marat Sibaev, Peter Knowles'
|
|
18
|
+
|
|
19
|
+
# sys.path.insert(0, Path(__file__).parent.parent.absolute())
|
|
20
|
+
|
|
21
|
+
subprocess.check_call(
|
|
22
|
+
[sys.executable, "-m", "pip", "install", "--no-deps", "--force-reinstall", Path(__file__).parent.parent.parent])
|
|
23
|
+
|
|
24
|
+
release = pymolpro.__version__
|
|
25
|
+
|
|
26
|
+
# -- General configuration ---------------------------------------------------
|
|
27
|
+
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
|
|
28
|
+
|
|
29
|
+
extensions = [
|
|
30
|
+
'sphinx.ext.autodoc',
|
|
31
|
+
'nbsphinx',
|
|
32
|
+
'sphinx-jsonschema',
|
|
33
|
+
'IPython.sphinxext.ipython_console_highlighting',
|
|
34
|
+
]
|
|
35
|
+
|
|
36
|
+
templates_path = ['_templates']
|
|
37
|
+
exclude_patterns = ['_build', '**.ipynb_checkpoints']
|
|
38
|
+
|
|
39
|
+
variables_to_export = ["release"]
|
|
40
|
+
__frozen_locals = dict(locals())
|
|
41
|
+
rst_epilog = '\n'.join(map(lambda x: f".. |{x}| replace:: {__frozen_locals[x]}", variables_to_export))
|
|
42
|
+
|
|
43
|
+
# -- Options for HTML output -------------------------------------------------
|
|
44
|
+
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
|
|
45
|
+
|
|
46
|
+
html_theme = "sphinx_rtd_theme"
|
|
47
|
+
# html_static_path = ['_static']
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
for dbname in pymolpro.database.library():
|
|
51
|
+
dbname_pretty = dbname.replace('_', ' ')
|
|
52
|
+
db = pymolpro.database.load(dbname)
|
|
53
|
+
if not os.path.exists('database'):
|
|
54
|
+
os.makedirs('database')
|
|
55
|
+
with open('database/' + dbname + '.rst', 'w') as f:
|
|
56
|
+
f.write(db.__str__(rst=True, geometry=False, title=dbname_pretty))
|