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_parserthere, 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
Metadata
Release files for cfour-parser 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cfour_parser-0.0.3.tar.gz | 31.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cfour_parser-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 63.8 kB
Release files / cfour_parser-0.0.3.tar.gz
| Download URL | cfour_parser-0.0.3.tar.gz |
|---|---|
| Size | 31.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
74b22340689edda513914953dd227f3798f3019d34bf8fe046c391596876ad2c
|
|
BLAKE2b-256 checksum How to use checksums |
d841c8ec5c612f204e8022f19dc6d25ad5b19a4589da7a7adff38da2b99e0246
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|
Release files / cfour_parser-0.0.3-py3-none-any.whl
| Download URL | cfour_parser-0.0.3-py3-none-any.whl |
|---|---|
| Size | 32.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b752a0feffb530af9ff3411c931521a52372dcd00c8bd20d7fa1ca7fa5fd0c9f
|
|
BLAKE2b-256 checksum How to use checksums |
4e1c34d6083a461073400b0b4f6f440ca897863be96274c165c1ca0e95662771
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|