Skip to main content

The `compchemparser` package provides parsers to convert quantum chemistry log files into a more condensed JSON format.

Project description

Description

The compchemparser package provides parsers to convert quantum chemistry log files into a more condensed JSON format. At the moment, only one parser for Gaussian log files is implemented.

Installation

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Virtual environment setup

It is highly recommended to use a virtual environment for the compchemparser installation. The virtual environment can be created as follows:

(Windows)

$ python -m venv <your_venv>
$ your_venv\Scripts\activate.bat
(your_venv) $

(Linux)

$ python3 -m venv <your_venv>
$ source your_venv/bin/activate
(your_venv) $

The above commands will create and activate the virtual environment your_venv in the current directory.

Installation via pip

To install the compchemparser simply run the following command:

(your_venv) $ python -m pip install compchemparser

Installation from the version-controlled source (for developers)

This type of installation is only for the developers. To install compchemparser directly from its repository you need to first clone the TheWorldAvatar project. Then simply navigate to the TheWorldAvatar\thermo\CoMoCompChemParser directory and execute the following commands:

# build and install
(your_venv) $ python -m pip install .

# or build for in-place development
(your_venv) $ python -m pip install -e .

Alternatively, use the provided install_script_pip.sh or install_script_conda.sh convenience scripts, that can create virtual environment and install the compchemparser in one go:

# create the environment and install the project
$ install_script_pip.sh -v -i
# create the environment and install the project for in-place development
$ install_script_pip.sh -v -i -e

Note that installing the project for in-place development (setting the -e flag) also installs the required python packages for development and testing. To test the code, simply run the following commands:

(your_venv) $ pytest tests

How to use

Usage:
    ccparse <logFileOrDir> [-n --logExt=<LOG_EXT>]

Options:
    -n                    Suppress parser command output files (json and csv)
    --logExt=<LOG_EXT>    Log files file extension for log file directory input [default: .log]

Authors

Daniel Nurkowski (danieln@cmclinnovations.com) Angiras Menon

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

compchemparser-1.0.0.tar.gz (18.7 kB view details)

Uploaded Source

Built Distribution

compchemparser-1.0.0-py3-none-any.whl (20.7 kB view details)

Uploaded Python 3

File details

Details for the file compchemparser-1.0.0.tar.gz.

File metadata

  • Download URL: compchemparser-1.0.0.tar.gz
  • Upload date:
  • Size: 18.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.7

File hashes

Hashes for compchemparser-1.0.0.tar.gz
Algorithm Hash digest
SHA256 de20dcf000154b7c3022be843803454ac6fa1246f7238c6f9a1e3e1c98c5d7bb
MD5 8cba7b3f3e55553320ee2cd764314d36
BLAKE2b-256 2bdb8c32c02ace649dfb8f2890fd0a2cb3311057a56760d28f3d13e411f7d4e4

See more details on using hashes here.

File details

Details for the file compchemparser-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: compchemparser-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 20.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.7

File hashes

Hashes for compchemparser-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 570d88d50801c9bc245379c77e94c318f69ff169237a18d0e9789b31d85f6225
MD5 11b97944b0706fc3824ff772989c1e16
BLAKE2b-256 bcee714dd382c1413055be41db38ca1c878676eed7caaac28ee52d626c290f36

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