Skip to main content

Parser of the CFOUR output.

Project description

CFOUR parser

Parser of the output of the CFOUR program.

Install

pip

python -m pip install cfour_parser

locally

Go to your local code directory and download it there, e.g.,

cd ~/chemistry/tools/
git clone git@github.com:the-pawel-wojcik/cfour_parser.git 

After that make sure your directory is visible to python. Add at the end of your .bashrc

export PYTHONPATH=~/chemistry/tools/cfour_parser/src:$PYTHONPATH

Use

The examples directory contains a sample CFOUR ouput 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 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


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.1.tar.gz (28.8 kB view details)

Uploaded Source

Built Distribution

cfour_parser-0.0.1-py3-none-any.whl (28.0 kB view details)

Uploaded Python 3

File details

Details for the file cfour_parser-0.0.1.tar.gz.

File metadata

  • Download URL: cfour_parser-0.0.1.tar.gz
  • Upload date:
  • Size: 28.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.6

File hashes

Hashes for cfour_parser-0.0.1.tar.gz
Algorithm Hash digest
SHA256 ad80a195daa2dfe729042568fa5917927b1780586ce88d1158fadf2927c564e2
MD5 305519fe708513f2aafd0e293fb0dc08
BLAKE2b-256 8e365a92dd3853d1a7981f9c2b6f3d6dea48f0bf2e83c4992cdf5ec2191afae6

See more details on using hashes here.

File details

Details for the file cfour_parser-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: cfour_parser-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 28.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.6

File hashes

Hashes for cfour_parser-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2b2eadb613deb0592625110da7bd2b6be63f218233b4bcb86f2f6a39ec0e4c5e
MD5 352cf618013c9be609f7300df4346cb5
BLAKE2b-256 84bff43e1bd27aa6a28aef6901cc0198f2c85b9956a0ce221e7a5b534d945525

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page