Skip to main content

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
  • ORCA blocks (NEB, geometry scans, extras) and eOn renderers via Jinja templates
  • Shared units and helpers with rgpycrumbs (rgpycrumbs>=1.9.16). Suite pins/config live in rgpkgs (~/.config/rgpkgs/config.toml, project rgpkgs.toml) — pychum does not define its own pin file

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 (v1.8+ recommended) which provides uniform visualizations for the outputs of various computational chemistry programs. Install with pip install pychum (Python ≥3.10); develop with pixi run -e test test or uv sync --extra test.

Ecosystem Overview

pychum is part of the rgpycrumbs suite of interlinked libraries.

img

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.

Also there were some minor problems with the ORCA input parser…

  • It chokes on multiple # symbols, so # MaxIter 50 # something will error out on SOMETHING
  • No real ordering or syntax highlighting in major IDEs

Along with other minor inconveniences which make for enough friction over time to necessitate this library.

Usage

The simplest usage is via the CLI:

uv run pychum --help
# Or alternatively
python -m pychum.cli --help

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.

uv sync --all-extras
uv run 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

Metadata

Release files for pychum 1.4.3

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

Source distribution (sdist)

Source distribution for pychum 1.4.3
File Size Uploaded
pychum-1.4.3.tar.gz 21.1 kB Details

Built distribution (wheel)

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

Total release size: 48.3 kB

Release files / pychum-1.4.3.tar.gz

Download URL pychum-1.4.3.tar.gz
Size 21.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a632fc9b50542cff43bf3213108927943ddcd718430c91c61282b27fbcb78977
BLAKE2b-256 checksum
How to use checksums
e57494a0c56d1c71e006cab1759d354dd43f8d7b9bdd4d27b82567e52e48f55b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 9, 2026.

Transparency log

Release files / pychum-1.4.3-py3-none-any.whl

Download URL pychum-1.4.3-py3-none-any.whl
Size 27.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
64aaf02829f3b3c5bc0c8b6f3a8584c6f230103c6b4d234dad46a033e60551cb
BLAKE2b-256 checksum
How to use checksums
d20cf74bd1e566d2869a96bc108aa0a61baeb4821d462ad8bc475035d854b57b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 9, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.4.3 This release

2 release files

1.4.2

2 release files

1.4.1

2 release files

1.4.0

2 release files

0.1.0

2 release files

0.0.1

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