Skip to main content

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

  1. 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 
  1. 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

  1. Delete the package files
rm -fr ~/chemistry/tools/cfour_parser
  1. 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)

Source distribution for cfour-parser 0.0.3
File Size Uploaded
cfour_parser-0.0.3.tar.gz 31.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cfour-parser 0.0.3
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page