Parser of the CFOUR output.
Project description
CFOUR parser
Parser of the output of the CFOUR program.
Install
Here are the two most straightforward ways of adding and removing
cfour_parser
to or from your system.
A. Using pip
Recommendation: Use this method from inside a virtual environment.
python -m pip install cfour_parser
uninstall
python -m pip uninstall cfour_parser
B. Manually
- Go to your local code directory and download
cfour_parser
there, e.g.,
cd ~/chemistry/tools/
git clone git@github.com:the-pawel-wojcik/cfour_parser.git
- After the download make sure that your directory is visible to python, e.g.,
add at the end of your
.bashrc
export PYTHONPATH=~/chemistry/tools/cfour_parser/src:$PYTHONPATH
uninstall
- Delete the package files
rm -fr ~/chemistry/tools/cfour_parser
- Remove the extra lines from your
.bashrc
.
Use
The examples
directory contains a sample CFOUR's output file(s).
For a quick overview of the output use the -v
flags
python -m cfour_parser example/pyrazine.c4 -v
or if you have installed it with pip
cfour_parser example/pyrazine.c4 -v
cfour_parser example/pyrazine.c4 -vv
Ultimately, this parser was build to produce a json file
cfour_parser example/pyrazine.c4 -j > pyrazine.json
If you have jq
installed you can filter the
output to preview it manually
cfour_parser example/pyrazine.c4 -j | jq > pyrazine.json
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cfour_parser-0.0.3.tar.gz
(31.5 kB
view details)
Built Distribution
File details
Details for the file cfour_parser-0.0.3.tar.gz
.
File metadata
- Download URL: cfour_parser-0.0.3.tar.gz
- Upload date:
- Size: 31.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74b22340689edda513914953dd227f3798f3019d34bf8fe046c391596876ad2c |
|
MD5 | f273f718855d5bbdc729586fb537c0c3 |
|
BLAKE2b-256 | d841c8ec5c612f204e8022f19dc6d25ad5b19a4589da7a7adff38da2b99e0246 |
File details
Details for the file cfour_parser-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: cfour_parser-0.0.3-py3-none-any.whl
- Upload date:
- Size: 32.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b752a0feffb530af9ff3411c931521a52372dcd00c8bd20d7fa1ca7fa5fd0c9f |
|
MD5 | a21c07e5b1524600474a6e8f897b74a1 |
|
BLAKE2b-256 | 4e1c34d6083a461073400b0b4f6f440ca897863be96274c165c1ca0e95662771 |