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.2.tar.gz
(30.9 kB
view details)
Built Distribution
File details
Details for the file cfour_parser-0.0.2.tar.gz
.
File metadata
- Download URL: cfour_parser-0.0.2.tar.gz
- Upload date:
- Size: 30.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50a73fbf4c5f3fba95e473403ad593cce3f2ca031ffbf2020486dc2381ff2e92 |
|
MD5 | bd94d3897a5169c5bb136fc614374e3f |
|
BLAKE2b-256 | e0b5e5a4451646767c0bcc016baaacc70ba799f6bcdb9936725438485d8a28c8 |
File details
Details for the file cfour_parser-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: cfour_parser-0.0.2-py3-none-any.whl
- Upload date:
- Size: 30.6 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 | d0a49a6de5b1ce543b179b361812ae8f4186b44f5d95dafd7d83059e5b828d7d |
|
MD5 | c754dd2c50999ed01237a339b46788f9 |
|
BLAKE2b-256 | 6af1750d881d0f3e2372a6e55a8b17a9e30b7461ebc0006e3837e5f6720bba98 |