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

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.2
File Size Uploaded Provenance Actions
cfour_parser-0.0.2.tar.gz 30.9 kB Without provenance Details for cfour_parser-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cfour-parser 0.0.2
File Interpreter ABI Platform Actions
cfour_parser-0.0.2-py3-none-any.whl Python 3 none any Details for cfour_parser-0.0.2-py3-none-any.whl

Total release size: 61.5 kB

Release files / cfour_parser-0.0.2.tar.gz

Download URL cfour_parser-0.0.2.tar.gz
Size 30.9 kB
Tags Source
SHA-256 checksum
How to use checksums
50a73fbf4c5f3fba95e473403ad593cce3f2ca031ffbf2020486dc2381ff2e92
BLAKE2b-256 checksum
How to use checksums
e0b5e5a4451646767c0bcc016baaacc70ba799f6bcdb9936725438485d8a28c8
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.2-py3-none-any.whl

Download URL cfour_parser-0.0.2-py3-none-any.whl
Size 30.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d0a49a6de5b1ce543b179b361812ae8f4186b44f5d95dafd7d83059e5b828d7d
BLAKE2b-256 checksum
How to use checksums
6af1750d881d0f3e2372a6e55a8b17a9e30b7461ebc0006e3837e5f6720bba98
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.3

Security for cfour-parser 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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