qcinf 0.1.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.
Files changed (36) hide show
  1. qcinf-0.1.0/.github/ISSUE_TEMPLATE/bug_report.md +27 -0
  2. qcinf-0.1.0/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
  3. qcinf-0.1.0/.github/workflows/basic-code-quality.yaml +54 -0
  4. qcinf-0.1.0/.github/workflows/create-release.yaml +40 -0
  5. qcinf-0.1.0/.github/workflows/publish-to-pypi.yaml +36 -0
  6. qcinf-0.1.0/.github/workflows/test.yaml +29 -0
  7. qcinf-0.1.0/.gitignore +170 -0
  8. qcinf-0.1.0/.pre-commit-config.yaml +45 -0
  9. qcinf-0.1.0/.python-version +1 -0
  10. qcinf-0.1.0/.vscode/settings.json +26 -0
  11. qcinf-0.1.0/CHANGELOG.md +17 -0
  12. qcinf-0.1.0/PKG-INFO +66 -0
  13. qcinf-0.1.0/README.md +31 -0
  14. qcinf-0.1.0/pyproject.toml +82 -0
  15. qcinf-0.1.0/scripts/format.sh +5 -0
  16. qcinf-0.1.0/scripts/release.py +128 -0
  17. qcinf-0.1.0/scripts/tests.sh +3 -0
  18. qcinf-0.1.0/src/qcinf/__init__.py +10 -0
  19. qcinf-0.1.0/src/qcinf/_backends/__init__.py +0 -0
  20. qcinf-0.1.0/src/qcinf/_backends/openbabel.py +166 -0
  21. qcinf-0.1.0/src/qcinf/_backends/qcutils.py +0 -0
  22. qcinf-0.1.0/src/qcinf/_backends/rdkit.py +565 -0
  23. qcinf-0.1.0/src/qcinf/_backends/utils.py +33 -0
  24. qcinf-0.1.0/src/qcinf/algorithms/__init__.py +0 -0
  25. qcinf-0.1.0/src/qcinf/algorithms/conversion.py +78 -0
  26. qcinf-0.1.0/src/qcinf/algorithms/geometry.py +123 -0
  27. qcinf-0.1.0/src/qcinf/py.typed +0 -0
  28. qcinf-0.1.0/src/qcinf/utils.py +48 -0
  29. qcinf-0.1.0/tests/__init__.py +0 -0
  30. qcinf-0.1.0/tests/conftest.py +16 -0
  31. qcinf-0.1.0/tests/data/conf_search.json +1 -0
  32. qcinf-0.1.0/tests/test_geometry_algos.py +291 -0
  33. qcinf-0.1.0/tests/test_openbabel.py +45 -0
  34. qcinf-0.1.0/tests/test_rdkit.py +58 -0
  35. qcinf-0.1.0/typos.toml +2 -0
  36. qcinf-0.1.0/uv.lock +835 -0
@@ -0,0 +1,27 @@
1
+ ---
2
+ name: Bug report
3
+ about: Create a report to help us improve
4
+ title: "[BUG] - "
5
+ labels: bug
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ **Describe the bug**
11
+ A clear and concise description of what the bug is.
12
+
13
+ **To Reproduce**
14
+ Steps to reproduce the behavior. Please provide all necessary data and a runable python script that reproduces your error:
15
+ 1. Go to '...'
16
+ 2. Click on '....'
17
+ 3. Scroll down to '....'
18
+ 4. See error
19
+
20
+ **Expected behavior**
21
+ A clear and concise description of what you expected to happen.
22
+
23
+ **Screenshots**
24
+ If applicable, add screenshots to help explain your problem.
25
+
26
+ **Additional context**
27
+ Add any other context about the problem here.
@@ -0,0 +1,20 @@
1
+ ---
2
+ name: Feature request
3
+ about: Suggest an idea for this project
4
+ title: "[FEATURE] - "
5
+ labels: enhancement
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ **Is your feature request related to a problem? Please describe.**
11
+ A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12
+
13
+ **Describe the solution you'd like**
14
+ A clear and concise description of what you want to happen.
15
+
16
+ **Describe alternatives you've considered**
17
+ A clear and concise description of any alternative solutions or features you've considered.
18
+
19
+ **Additional context**
20
+ Add any other context or screenshots about the feature request here.
@@ -0,0 +1,54 @@
1
+ name: Basic Code Quality
2
+
3
+ on: [push]
4
+
5
+ jobs:
6
+ ruff:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v3
10
+ - name: Set up Python
11
+ uses: actions/setup-python@v5
12
+ with:
13
+ python-version-file: ".python-version"
14
+ - name: Install ruff
15
+ run: pip install ruff
16
+ - name: ruff
17
+ run: ruff check .
18
+
19
+ mypy:
20
+ runs-on: ubuntu-latest
21
+ steps:
22
+ - uses: actions/checkout@v3
23
+ - name: Set up Python
24
+ uses: actions/setup-python@v5
25
+ with:
26
+ python-version-file: ".python-version"
27
+ - name: Install uv
28
+ uses: astral-sh/setup-uv@v5
29
+ - name: Install the project
30
+ run: uv sync --all-extras --dev
31
+ - name: mypy
32
+ run: uv run mypy .
33
+
34
+ detect-secrets:
35
+ runs-on: ubuntu-latest
36
+ steps:
37
+ - uses: actions/checkout@v3
38
+ - name: Set up Python
39
+ uses: actions/setup-python@v5
40
+ with:
41
+ python-version-file: ".python-version"
42
+ - name: Install detect secrets
43
+ run: pip install detect-secrets
44
+ - name: Look for secrets
45
+ run: git ls-files -z | xargs -0 detect-secrets-hook -v
46
+
47
+ typos:
48
+ name: "spell check"
49
+ runs-on: ubuntu-latest
50
+ steps:
51
+ - uses: actions/checkout@v3
52
+ - uses: crate-ci/typos@master
53
+ with:
54
+ files: .
@@ -0,0 +1,40 @@
1
+ name: Create Release
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - "*" # Match any tag
7
+ workflow_dispatch: # Enable manual triggering
8
+
9
+
10
+ jobs:
11
+ create-release:
12
+ name: Create GitHub Release
13
+ runs-on: ubuntu-latest
14
+ environment: release # Link to the protected environment
15
+
16
+ steps:
17
+ - name: Checkout code
18
+ uses: actions/checkout@v4
19
+
20
+ - name: Extract Release Notes
21
+ id: extract_notes
22
+ run: |
23
+ VERSION=${{ github.ref_name }}
24
+ sed -n "/## \\[$VERSION\\]/,/## \\[/p" CHANGELOG.md | sed '$d' | sed "s/## \\[$VERSION\\]/## $VERSION/" > RELEASE_NOTES.md
25
+
26
+ - name: Create GitHub Release
27
+ id: create_release
28
+ uses: actions/create-release@v1
29
+ with:
30
+ tag_name: ${{ github.ref_name }}
31
+ release_name: Release ${{ github.ref_name }}
32
+ body_path: ./RELEASE_NOTES.md
33
+ draft: false
34
+ prerelease: false
35
+ env:
36
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37
+
38
+ - name: Output release URL
39
+ run: |
40
+ echo "Release URL: ${{ steps.create_release.outputs.html_url }}"
@@ -0,0 +1,36 @@
1
+ # https://github.com/marketplace/actions/pypi-publish
2
+
3
+ name: Publish to PyPI
4
+
5
+ on:
6
+ push:
7
+ tags: # Only publish on tagged commits
8
+ - "*"
9
+
10
+ jobs:
11
+ build-and-publish:
12
+ name: Build and publish Python 🐍 distributions 📦 to PyPI
13
+ runs-on: ubuntu-latest
14
+ environment:
15
+ name: pypi
16
+ url: https://pypi.org/project/qcinf/
17
+ permissions:
18
+ id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
19
+
20
+ steps:
21
+ - name: Check out source repository
22
+ uses: actions/checkout@v2
23
+
24
+ - name: Set up Python
25
+ uses: actions/setup-python@v5
26
+ with:
27
+ python-version-file: ".python-version"
28
+
29
+ - name: Install uv
30
+ uses: astral-sh/setup-uv@v5
31
+
32
+ - name: Build distribution 📦
33
+ run: uv build
34
+
35
+ - name: Publish package 📤 to PyPI
36
+ uses: pypa/gh-action-pypi-publish@release/v1
@@ -0,0 +1,29 @@
1
+ name: Tests
2
+
3
+ on: [push]
4
+
5
+ jobs:
6
+ tests:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v3
10
+
11
+ - name: Set up Python
12
+ uses: actions/setup-python@v5
13
+ with:
14
+ python-version-file: ".python-version"
15
+
16
+ - name: Install uv
17
+ uses: astral-sh/setup-uv@v5
18
+
19
+ - name: Install repo
20
+ run: uv sync --all-extras --dev
21
+
22
+ - name: Run tests
23
+ run: bash scripts/tests.sh
24
+
25
+ - name: Upload coverage HTML
26
+ uses: actions/upload-artifact@v4
27
+ with:
28
+ name: htmlcov
29
+ path: htmlcov
qcinf-0.1.0/.gitignore ADDED
@@ -0,0 +1,170 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ build/
12
+ develop-eggs/
13
+ dist/
14
+ downloads/
15
+ eggs/
16
+ .eggs/
17
+ lib/
18
+ lib64/
19
+ parts/
20
+ sdist/
21
+ var/
22
+ wheels/
23
+ share/python-wheels/
24
+ *.egg-info/
25
+ .installed.cfg
26
+ *.egg
27
+ MANIFEST
28
+
29
+ # PyInstaller
30
+ # Usually these files are written by a python script from a template
31
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
32
+ *.manifest
33
+ *.spec
34
+
35
+ # Installer logs
36
+ pip-log.txt
37
+ pip-delete-this-directory.txt
38
+
39
+ # Unit test / coverage reports
40
+ htmlcov/
41
+ .tox/
42
+ .nox/
43
+ .coverage
44
+ .coverage.*
45
+ .cache
46
+ nosetests.xml
47
+ coverage.xml
48
+ *.cover
49
+ *.py,cover
50
+ .hypothesis/
51
+ .pytest_cache/
52
+ cover/
53
+
54
+ # Translations
55
+ *.mo
56
+ *.pot
57
+
58
+ # Django stuff:
59
+ *.log
60
+ local_settings.py
61
+ db.sqlite3
62
+ db.sqlite3-journal
63
+
64
+ # Flask stuff:
65
+ instance/
66
+ .webassets-cache
67
+
68
+ # Scrapy stuff:
69
+ .scrapy
70
+
71
+ # Sphinx documentation
72
+ docs/_build/
73
+
74
+ # PyBuilder
75
+ .pybuilder/
76
+ target/
77
+
78
+ # Jupyter Notebook
79
+ .ipynb_checkpoints
80
+
81
+ # IPython
82
+ profile_default/
83
+ ipython_config.py
84
+
85
+ # pyenv
86
+ # For a library or package, you might want to ignore these files since the code is
87
+ # intended to run in multiple environments; otherwise, check them in:
88
+ # .python-version
89
+
90
+ # pipenv
91
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
92
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
93
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
94
+ # install all needed dependencies.
95
+ #Pipfile.lock
96
+
97
+ # poetry
98
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
99
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
100
+ # commonly ignored for libraries.
101
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
102
+ #poetry.lock
103
+
104
+ # pdm
105
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
106
+ #pdm.lock
107
+ # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
108
+ # in version control.
109
+ # https://pdm.fming.dev/#use-with-ide
110
+ .pdm.toml
111
+
112
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
113
+ __pypackages__/
114
+
115
+ # Celery stuff
116
+ celerybeat-schedule
117
+ celerybeat.pid
118
+
119
+ # SageMath parsed files
120
+ *.sage.py
121
+
122
+ # Environments
123
+ .env
124
+ .venv
125
+ env/
126
+ venv/
127
+ ENV/
128
+ env.bak/
129
+ venv.bak/
130
+
131
+ # Spyder project settings
132
+ .spyderproject
133
+ .spyproject
134
+
135
+ # Rope project settings
136
+ .ropeproject
137
+
138
+ # mkdocs documentation
139
+ /site
140
+
141
+ # mypy
142
+ .mypy_cache/
143
+ .dmypy.json
144
+ dmypy.json
145
+
146
+ # Pyre type checker
147
+ .pyre/
148
+
149
+ # pytype static type analyzer
150
+ .pytype/
151
+
152
+ # Cython debug symbols
153
+ cython_debug/
154
+
155
+ # PyCharm
156
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
157
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
158
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
159
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
160
+ #.idea/
161
+
162
+ # Ignore all .xyz files
163
+ *.xyz
164
+
165
+ # Allow .xyz files in tests/data and its subdirectories
166
+ !tests/data/**/*.xyz
167
+
168
+ # rdkit artifacts
169
+ nul
170
+ run.out
@@ -0,0 +1,45 @@
1
+ # See https://pre-commit.com for more information
2
+ # See https://pre-commit.com/hooks.html for more hooks
3
+ repos:
4
+ - repo: https://github.com/pre-commit/pre-commit-hooks
5
+ rev: v4.4.0
6
+ hooks:
7
+ - id: check-yaml
8
+ exclude: mkdocs.yml
9
+ - id: check-added-large-files
10
+ args: ["--maxkb=250"]
11
+
12
+ - repo: https://github.com/Yelp/detect-secrets
13
+ rev: v1.4.0
14
+ hooks:
15
+ - id: detect-secrets
16
+ stages: [commit]
17
+ exclude: '.*\.(lock|ipynb)$'
18
+
19
+ - repo: https://github.com/charliermarsh/ruff-pre-commit
20
+ rev: "v0.11.1"
21
+ hooks:
22
+ - id: ruff
23
+ args: [--fix, --exit-non-zero-on-fix]
24
+
25
+ - repo: https://github.com/pre-commit/mirrors-mypy
26
+ rev: v1.15.0
27
+ hooks:
28
+ - id: mypy
29
+ additional_dependencies: [pydantic>=2.0.0, types-toml]
30
+
31
+ - repo: https://github.com/crate-ci/typos
32
+ rev: v1.16.10
33
+ hooks:
34
+ - id: typos
35
+ exclude: '(^src/qcinf/pt_data/|^tests/test_pt\.py$)'
36
+
37
+ - repo: local
38
+ hooks:
39
+ - id: tests
40
+ name: tests
41
+ stages: [push]
42
+ language: system
43
+ entry: uv run pytest
44
+ types: [python]
45
+ pass_filenames: false
@@ -0,0 +1 @@
1
+ 3.9
@@ -0,0 +1,26 @@
1
+ {
2
+ "cSpell.words": [
3
+ "addh",
4
+ "allclose",
5
+ "atomicnum",
6
+ "calccharges",
7
+ "Cheminformatics",
8
+ "ETKDG",
9
+ "filterwarnings",
10
+ "ghemical",
11
+ "Hueckel",
12
+ "MMFF",
13
+ "ndarray",
14
+ "numthreads",
15
+ "openbabel",
16
+ "pybel",
17
+ "qcconst",
18
+ "rdkit",
19
+ "readstring",
20
+ "refmol",
21
+ "refstruct",
22
+ "rmsd",
23
+ "swigvarlink",
24
+ "Waals"
25
+ ]
26
+ }
@@ -0,0 +1,17 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
+
7
+ ## [unreleased]
8
+
9
+ ## [0.1.0] - 2025-06-01
10
+
11
+ ### Added
12
+
13
+ - Setup all DevOps workflows and basic package setup.
14
+ - Copied over all cheminformatics functions (e.g., `rmsd`, `align`, `filter_conformers` (formerly `ConformerSearchResults.conformers_filtered()`), `Structure.from_smiles()`, `Structure.to_smiles()`, etc.) from `qcio` into this repo.
15
+
16
+ [unreleased]: https://github.com/coltonbh/qcinf/compare/0.1.0...HEAD
17
+ [0.1.0]: https://github.com/coltonbh/qcinf/releases/tag/0.1.0
qcinf-0.1.0/PKG-INFO ADDED
@@ -0,0 +1,66 @@
1
+ Metadata-Version: 2.4
2
+ Name: qcinf
3
+ Version: 0.1.0
4
+ Summary: Cheminformatics algorithms and structure utilities using standardized qcio data structures.
5
+ Project-URL: Homepage, https://github.com/coltonbh/qcinf
6
+ Project-URL: Source, https://github.com/coltonbh/qcinf
7
+ Project-URL: Changelog, https://github.com/coltonbh/qcinf/blob/master/CHANGELOG.md
8
+ Project-URL: Bug Tracker, https://github.com/coltonbh/qcinf/issues
9
+ Project-URL: repository, https://github.com/coltonbh/qcinf
10
+ Author-email: Colton Hicks <github@coltonhicks.com>
11
+ Classifier: Development Status :: 4 - Beta
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: Intended Audience :: Science/Research
14
+ Classifier: License :: OSI Approved :: MIT License
15
+ Classifier: Natural Language :: English
16
+ Classifier: Programming Language :: Python :: 3.9
17
+ Classifier: Programming Language :: Python :: 3.10
18
+ Classifier: Programming Language :: Python :: 3.11
19
+ Classifier: Programming Language :: Python :: 3.12
20
+ Classifier: Programming Language :: Python :: 3.13
21
+ Classifier: Topic :: Scientific/Engineering
22
+ Classifier: Topic :: Software Development :: Libraries
23
+ Requires-Python: >=3.9
24
+ Requires-Dist: pydantic!=2.0.1,!=2.1.0,~=2.0
25
+ Requires-Dist: qcconst>=0.2.1
26
+ Requires-Dist: qcio>=0.14.0
27
+ Requires-Dist: typing-extensions>=4.12.2
28
+ Provides-Extra: all
29
+ Requires-Dist: openbabel-wheel>=3.1.1.21; extra == 'all'
30
+ Requires-Dist: rdkit>=2024.9.6; extra == 'all'
31
+ Provides-Extra: openbabel
32
+ Provides-Extra: rdkit
33
+ Requires-Dist: rdkit>=2024.9.6; extra == 'rdkit'
34
+ Description-Content-Type: text/markdown
35
+
36
+ # Quantum Chemistry Informatics (qcinf)
37
+
38
+ [![image](https://img.shields.io/pypi/v/qcinf.svg)](https://pypi.python.org/pypi/qcinf)
39
+ [![image](https://img.shields.io/pypi/l/qcinf.svg)](https://pypi.python.org/pypi/qcinf)
40
+ [![image](https://img.shields.io/pypi/pyversions/qcinf.svg)](https://pypi.python.org/pypi/qcinf)
41
+ [![Actions status](https://github.com/coltonbh/qcinf/workflows/Tests/badge.svg)](https://github.com/coltonbh/qcinf/actions)
42
+ [![Actions status](https://github.com/coltonbh/qcinf/workflows/Basic%20Code%20Quality/badge.svg)](https://github.com/coltonbh/qcinf/actions)
43
+
44
+ Cheminformatics algorithms and structure utilities using standardized [qcio](https://qcio.coltonhicks.com/) data structures.
45
+
46
+ ## The QC Suite of Programs
47
+
48
+ `qcinf` works in harmony with a suite of other quantum chemistry tools for fast, structured, and interoperable quantum chemistry.
49
+
50
+ - [qcconst](https://github.com/coltonbh/qcconst) - Physical constants, conversion factors, and a periodic table with clear source information for every value.
51
+ - [qcio](https://github.com/coltonbh/qcio) - Elegant and intuitive data structures for quantum chemistry, featuring seamless Jupyter Notebook visualizations. [Documentation](https://qcio.coltonhicks.com)
52
+ - [qcinf](https://github.com/coltonbh/qcinf) - Cheminformatics algorithms and structure utilities using standardized [qcio](https://qcio.coltonhicks.com/) data structures.
53
+ - [qccodec](https://github.com/coltonbh/qccodec) - A package for translating between standardized [qcio](https://github.com/coltonbh/qcio) data structures and native QC program inputs and outputs.
54
+ - [qcop](https://github.com/coltonbh/qcop) - A package for operating quantum chemistry programs using standardized [qcio](https://qcio.coltonhicks.com/) data structures. Compatible with `TeraChem`, `psi4`, `QChem`, `NWChem`, `ORCA`, `Molpro`, `geomeTRIC` and many more.
55
+ - [BigChem](https://github.com/mtzgroup/bigchem) - A distributed application for running quantum chemistry calculations at scale across clusters of computers or the cloud. Bring multi-node scaling to your favorite quantum chemistry program.
56
+ - `ChemCloud` - A [web application](https://github.com/mtzgroup/chemcloud-server) and associated [Python client](https://github.com/mtzgroup/chemcloud-client) for exposing a BigChem cluster securely over the internet.
57
+
58
+ ## Installation
59
+
60
+ ```bash
61
+ python -m pip install qcinf
62
+ ```
63
+
64
+ ## Support
65
+
66
+ If you have any issues with `qcinf` or would like to request a feature, please open an [issue](https://github.com/coltonbh/qcinf/issues).
qcinf-0.1.0/README.md ADDED
@@ -0,0 +1,31 @@
1
+ # Quantum Chemistry Informatics (qcinf)
2
+
3
+ [![image](https://img.shields.io/pypi/v/qcinf.svg)](https://pypi.python.org/pypi/qcinf)
4
+ [![image](https://img.shields.io/pypi/l/qcinf.svg)](https://pypi.python.org/pypi/qcinf)
5
+ [![image](https://img.shields.io/pypi/pyversions/qcinf.svg)](https://pypi.python.org/pypi/qcinf)
6
+ [![Actions status](https://github.com/coltonbh/qcinf/workflows/Tests/badge.svg)](https://github.com/coltonbh/qcinf/actions)
7
+ [![Actions status](https://github.com/coltonbh/qcinf/workflows/Basic%20Code%20Quality/badge.svg)](https://github.com/coltonbh/qcinf/actions)
8
+
9
+ Cheminformatics algorithms and structure utilities using standardized [qcio](https://qcio.coltonhicks.com/) data structures.
10
+
11
+ ## The QC Suite of Programs
12
+
13
+ `qcinf` works in harmony with a suite of other quantum chemistry tools for fast, structured, and interoperable quantum chemistry.
14
+
15
+ - [qcconst](https://github.com/coltonbh/qcconst) - Physical constants, conversion factors, and a periodic table with clear source information for every value.
16
+ - [qcio](https://github.com/coltonbh/qcio) - Elegant and intuitive data structures for quantum chemistry, featuring seamless Jupyter Notebook visualizations. [Documentation](https://qcio.coltonhicks.com)
17
+ - [qcinf](https://github.com/coltonbh/qcinf) - Cheminformatics algorithms and structure utilities using standardized [qcio](https://qcio.coltonhicks.com/) data structures.
18
+ - [qccodec](https://github.com/coltonbh/qccodec) - A package for translating between standardized [qcio](https://github.com/coltonbh/qcio) data structures and native QC program inputs and outputs.
19
+ - [qcop](https://github.com/coltonbh/qcop) - A package for operating quantum chemistry programs using standardized [qcio](https://qcio.coltonhicks.com/) data structures. Compatible with `TeraChem`, `psi4`, `QChem`, `NWChem`, `ORCA`, `Molpro`, `geomeTRIC` and many more.
20
+ - [BigChem](https://github.com/mtzgroup/bigchem) - A distributed application for running quantum chemistry calculations at scale across clusters of computers or the cloud. Bring multi-node scaling to your favorite quantum chemistry program.
21
+ - `ChemCloud` - A [web application](https://github.com/mtzgroup/chemcloud-server) and associated [Python client](https://github.com/mtzgroup/chemcloud-client) for exposing a BigChem cluster securely over the internet.
22
+
23
+ ## Installation
24
+
25
+ ```bash
26
+ python -m pip install qcinf
27
+ ```
28
+
29
+ ## Support
30
+
31
+ If you have any issues with `qcinf` or would like to request a feature, please open an [issue](https://github.com/coltonbh/qcinf/issues).
@@ -0,0 +1,82 @@
1
+ [project]
2
+ name = "qcinf"
3
+ version = "0.1.0"
4
+ description = "Cheminformatics algorithms and structure utilities using standardized qcio data structures."
5
+ readme = "README.md"
6
+ authors = [{ name = "Colton Hicks", email = "github@coltonhicks.com" }]
7
+ requires-python = ">=3.9"
8
+ dependencies = [
9
+ "pydantic~=2.0,!=2.0.1,!=2.1.0",
10
+ "qcconst>=0.2.1",
11
+ "qcio>=0.14.0",
12
+ "typing-extensions>=4.12.2",
13
+ ]
14
+ classifiers = [
15
+ "Development Status :: 4 - Beta",
16
+ "Intended Audience :: Developers",
17
+ "Intended Audience :: Science/Research",
18
+ "License :: OSI Approved :: MIT License",
19
+ "Natural Language :: English",
20
+ "Programming Language :: Python :: 3.9",
21
+ "Programming Language :: Python :: 3.10",
22
+ "Programming Language :: Python :: 3.11",
23
+ "Programming Language :: Python :: 3.12",
24
+ "Programming Language :: Python :: 3.13",
25
+ "Topic :: Scientific/Engineering",
26
+ "Topic :: Software Development :: Libraries",
27
+ ]
28
+
29
+ [project.urls]
30
+ Homepage = "https://github.com/coltonbh/qcinf"
31
+ Source = "https://github.com/coltonbh/qcinf"
32
+ Changelog = "https://github.com/coltonbh/qcinf/blob/master/CHANGELOG.md"
33
+ "Bug Tracker" = "https://github.com/coltonbh/qcinf/issues"
34
+ repository = "https://github.com/coltonbh/qcinf"
35
+
36
+
37
+ [dependency-groups]
38
+ dev = [
39
+ "mypy>=1.15.0",
40
+ "pytest>=8.3.5",
41
+ "pytest-cov>=6.0.0",
42
+ "ruff>=0.11.1",
43
+ "openbabel-wheel>=3.1.1.21",
44
+ "rdkit>=2024.9.6",
45
+ "types-toml>=0.10.8.20240310",
46
+ ]
47
+
48
+ [project.optional-dependencies]
49
+ openbabel = []
50
+ rdkit = ["rdkit>=2024.9.6"]
51
+ all = ["openbabel-wheel>=3.1.1.21", "rdkit>=2024.9.6"]
52
+
53
+ [build-system]
54
+ requires = ["hatchling"]
55
+ build-backend = "hatchling.build"
56
+
57
+ [tool.ruff]
58
+ exclude = [".venv"]
59
+ line-length = 88
60
+ target-version = "py39"
61
+
62
+
63
+ [tool.ruff.lint]
64
+ isort = { known-first-party = ["qcinf", "tests"] }
65
+ select = ["I", "F401"]
66
+
67
+ [tool.mypy]
68
+ plugins = ["pydantic.mypy"]
69
+ ignore_missing_imports = true
70
+
71
+ [tool.pydantic-mypy]
72
+ init_forbid_extra = true
73
+ init_typed = true
74
+ warn_required_dynamic_aliases = true
75
+ warn_untyped_fields = true
76
+
77
+ [tool.pytest.ini_options]
78
+ filterwarnings = [
79
+ # silence RDKit-SWIG “no __module__ attribute” deprecation notices
80
+ "ignore:builtin type SwigPy.*has no __module__ attribute:DeprecationWarning",
81
+ "ignore:builtin type swigvarlink.*has no __module__ attribute:DeprecationWarning",
82
+ ]
@@ -0,0 +1,5 @@
1
+ #!/bin/sh -e
2
+
3
+ set -x
4
+
5
+ uv run ruff check --fix .