jmwoll / ORCAunleashed

ORCAunleashed provides a minimalistic python interface to the ORCA quantum chemistry package. Thus, ORCA jobs are easily automated via the python programming language.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ORCAunleashed provides a very minimalistic python interface to the ORCA quantum chemistry package. Essentially, a single method is provided:

from ORCAunleashed import orca

reporter = orca.run_orca(orca_input="!AM1 opt freq\n\n*xyz 0 1\nN 0 0 0\nN 1 1 1")
print("\n".join(reporter.output_lines()[-3:-1]))
# Outputs:
#     ****ORCA TERMINATED NORMALLY****
# TOTAL RUN TIME: 0 days 0 hours 0 minutes 15 seconds 0 msec

For convenience, a single xyzfile can be specified

from ORCAunleashed import orca

reporter = orca.run_orca(orca_input="!AM1 opt freq\n\n*xyzfile 0 1 guess.xyz",
          xyzfile="path-to-xyzfile.xyz")
print(reporter.output())
# Prints out the whole outputfile to screen.

Note that the xyzfile can be referenced from the input file as "guess.xyz".

About

ORCAunleashed provides a minimalistic python interface to the ORCA quantum chemistry package. Thus, ORCA jobs are easily automated via the python programming language.

License:GNU General Public License v3.0


Languages

Language:Python 100.0%