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
Release files for compchemparser 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| compchemparser-1.0.2.tar.gz | 18.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| compchemparser-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 39.9 kB
Release files / compchemparser-1.0.2.tar.gz
| Download URL | compchemparser-1.0.2.tar.gz |
|---|---|
| Size | 18.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ee1a91bb3fa4fa4c1a9bd50a29a2f2da385196c469b696b1b646e94cff53ef3a
|
|
BLAKE2b-256 checksum How to use checksums |
dacb370efea8743470c51a58b2f1bbfab510f00ec3e0d27b81d57c88e516ba60
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / compchemparser-1.0.2-py3-none-any.whl
| Download URL | compchemparser-1.0.2-py3-none-any.whl |
|---|---|
| Size | 21.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7e9dda1ea7ccbf7aa8f14d747e38798c7adea5c35349ce2b2865286b0a9c067d
|
|
BLAKE2b-256 checksum How to use checksums |
83f8957251a8fa4b9ffd275256320c17594f641d5fc8af84bc335b843978c6fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|