Skip to main content

Input file generators for computational chemistry

Project description

Table of Contents

About

img

Hatch project

A pure-python project to generate input files for various common computational chemistry workflows. This means:

  • Generating input structures for jobflow / Fireworks
    • From unified toml inputs

This is a spin-off from wailord (here) which is meant to handle aggregated runs in a specific workflow, while pychum is meant to generate single runs. It is also a companion to chemparseplot (here) which is meant to provide uniform visualizations for the outputs of various computational chemistry programs.

Features

  • Jobflow support
    • Along with Fireworks
  • Unit aware conversions
    • Via pint

Supported Engines

  • NEB calculations
    • ORCA
    • EON
  • Single point calculations
    • ORCA
    • EON

Rationale

I needed to run a bunch of systems. jobflow / Fireworks / AiiDA were ideal, until I realized only VASP is really well supported by them.

Usage

The simplest usage is via the CLI:

python -m pychum.cli

Development

Before writing tests and incorporating the functions into the CLI it is helpful to often visualize the intermediate steps. For this we can setup a complete development environment including the notebook server.

pixi shell
pdm sync
pdm run $SHELL
jupyter lab --ServerApp.allow_remote_access=1 \
    --ServerApp.open_browser=False --port=8889

Then go through the nb folder notebooks.

Adding ORCA blocks

Changes are to be made in the following files under the pychum/engine/orca/ folder:

  • The relevant .jinja file in the _blocks directory
  • The configuration loading mechanism in config_loader.py
  • The dataclasses folder
  • A sample test .toml file under tests/test_orca

While working on this, it may be instructive to use the nb folder notebooks. Also all PRs must include a full test suite for the new blocks.

Documentation

Readme

The readme can be constructed via:

./scripts/org_to_md.sh readme_src.org readme.md

License

MIT. However, this is an academic resource, so please cite as much as possible via:

  • The Zenodo DOI for general use.
  • The wailord paper for ORCA usage

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

pychumpchem-0.0.1.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

pychumpchem-0.0.1-py3-none-any.whl (19.6 kB view details)

Uploaded Python 3

File details

Details for the file pychumpchem-0.0.1.tar.gz.

File metadata

  • Download URL: pychumpchem-0.0.1.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pychumpchem-0.0.1.tar.gz
Algorithm Hash digest
SHA256 33aad5c8123bd7908dcbfd8e99512db969603c3f2b2d14e6e65ec887767754a2
MD5 ca98ec75ecb7014a7fec4e6ef30a772a
BLAKE2b-256 d03e4daa1b4325151cf7148d064ff933bb29c553ba3620260975126fd1a5f2fe

See more details on using hashes here.

File details

Details for the file pychumpchem-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: pychumpchem-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 19.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pychumpchem-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3a9798fac19a6ea2fbd93bb6ef5de04e8e72162d4ddf897ca7a06b0c987f05d5
MD5 da507d7b09059cc0b1aff158c0e3d269
BLAKE2b-256 460e8edb81cb5fbf0385e62d360dc064e4cb1b6bf158cfde7d4f7698a752e986

See more details on using hashes here.

Supported by

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