Skip to main content

dft runner

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qcrun-2025.6.11.post1.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qcrun-2025.6.11.post1-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file qcrun-2025.6.11.post1.tar.gz.

File metadata

  • Download URL: qcrun-2025.6.11.post1.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.14

File hashes

Hashes for qcrun-2025.6.11.post1.tar.gz
Algorithm Hash digest
SHA256 84bf1256b6508f4613665acb686a4ef420413463d50a3f045cddc32cf062d408
MD5 4e154b6830142ddfa27dc9877a538e9e
BLAKE2b-256 3af77abb111c55be7c86c224a6b3a84e44cac9d0acdb82aa5f00a0b2d5a093db

See more details on using hashes here.

File details

Details for the file qcrun-2025.6.11.post1-py3-none-any.whl.

File metadata

File hashes

Hashes for qcrun-2025.6.11.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 942242b8c5c164d48d868edd530e633182929360740c28617e43101b25c14f7a
MD5 2fa86137cf83c07e0e7d36fc3b300f15
BLAKE2b-256 f0611469865589393379068868a51386add1bd6241e33cbf2dfc42fb2f5967dc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page