Skip to main content

qcrun - 量子化学计算任务自动化工具

PyPI Version 在 PyPI 查看

一个用于自动化运行 Gaussian 16 和其他量子化学计算的任务调度工具。

功能特性

  • 支持多种输入格式 (smi/sdf/mol/xyz/chk/fchk)
  • 自动结构优化和构象搜索
  • 任务状态跟踪和日志记录
  • 支持多种计算类型 (基态、激发态、频率计算等)

安装

pip install qcrun

快速开始

  1. 准备配置文件 config.json:

    {
        "id": "task_001",
        "params": {
            "method": "b3lyp",
            "basis": "def2svp",
            "nproc": 32,
            "mem": "64GB",
            "td": 3
        },
        "input_file": ["molecule.xyz"]
    }
    
  2. 运行计算:

    run_g16 config.json
    

输入文件支持

格式 描述
.smi SMILES 字符串
.sdf/.mol MDL 分子文件
.xyz XYZ 坐标文件
.chk/.fchk Gaussian 检查点文件

计算参数

通过 Params 类配置:

from qcrun.g16_struct import Params

params = Params(
    method="b3lyp",
    basis="def2svp",
    nproc=32,
    mem="64GB",
    td=3  # 激发态计算
)

开发

  • build and upload pypi
pip install twine build setuptools wheel
python -m build
python -m twine upload dist/* --repository qcrun

许可证

GNU General Public License v3.0

Release files for qcrun 2025.6.11.post1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qcrun 2025.6.11.post1
File Size Uploaded
qcrun-2025.6.11.post1.tar.gz 7.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for qcrun 2025.6.11.post1
File Interpreter ABI Platform
qcrun-2025.6.11.post1-py3-none-any.whl Python 3 none any Details

Total release size: 15.3 kB

Release files / qcrun-2025.6.11.post1.tar.gz

Download URL qcrun-2025.6.11.post1.tar.gz
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
84bf1256b6508f4613665acb686a4ef420413463d50a3f045cddc32cf062d408
BLAKE2b-256 checksum
How to use checksums
3af77abb111c55be7c86c224a6b3a84e44cac9d0acdb82aa5f00a0b2d5a093db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.14

Release files / qcrun-2025.6.11.post1-py3-none-any.whl

Download URL qcrun-2025.6.11.post1-py3-none-any.whl
Size 8.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
942242b8c5c164d48d868edd530e633182929360740c28617e43101b25c14f7a
BLAKE2b-256 checksum
How to use checksums
f0611469865589393379068868a51386add1bd6241e33cbf2dfc42fb2f5967dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.14

Release history Release notifications | RSS feed

This release

2025.6.11.post1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page