structured JSON atom/molecule encoding scheme
Actively maintained. Last release 11 days ago. A safe choice.
pip install stjamesstjames
STructured JSON Atom/Molecule Encoding Scheme
This is the Rowan schema for passing molecule/calculation data back and forth between different parts of the software.
This is not intended to be run as a standalone library: it's basically just a big composite Pydantic model which does some validation and intelligent default selection. (A benefit of doing validation on the client side is that it's transparent to the end user—you can see all of the settings that the calculation will use.)
Development
Install the locked development dependencies and RDKit extra:
uv sync --locked --extra rdkit
RDKit includes its own type stubs. If your existing environment had the separate
rdkit-stubs package installed, reinstall RDKit to restore any shared stub files
removed during the update:
uv sync --locked --extra rdkit --reinstall-package rdkit