Skip to main content

SCFpy

https://img.shields.io/pypi/v/scfpy.svg https://img.shields.io/pypi/l/scfpy.svg https://img.shields.io/pypi/pyversions/scfpy.svg

SCFpy is a simple restricted Hartree-Fock code for small molecules and small basis sets. The purpose of this program is for computational chemistry beginner students to understand the concept of RHF and SCF procedure and how they works in the code.

You can use SCFpy to calculate small molecule energy:

$SCFpy -c 0 -b sto-3g h2.xyz
>Total SCF energy = -1.06609574024

Installation

pip install SCFpy

or

git clone https://github.com/ipudu/SCFpy.git
python setup.py install

Usage

usage: scfpy [-h] [-c CHARGE] [-b BASIS] [-v] [input]

SCFpy: simple restricted Hartree-Fock code

positional arguments:
input                 xyz file of molecule

optional arguments:
-h, --help            show this help message and exit
-c CHARGE, --charge CHARGE
                    specify total charge of the molecule (default: 0)
-b BASIS, --basis BASIS
                    specify basis set (default: sto-3g)
-v, --version         displays the current version of SCFpy

Author

Notes

  • You have to have NWChem package installed on your machine.

  • SCFpy get the total number of electrons, kinetic, potential, overlap, two electrons integrals from NWChem output.

  • Tested small molecules like H2, CH4, H2O…..

  • It may very slow for large molecules and large basis sets since SCFpy is single-core based program.

Acknowledgement

This little program got inspired by Pyquante 2 and Joshua Goings’s HeH+ SCF code. I also got a lot of help from Dr. Kenneth Lopata.

News

0.1

  • first version of SCFpy!!!!

0.2

  • fixed python2 and 3 compatible problems.

Release files for SCFpy 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 SCFpy 0.2
File Size Uploaded
SCFpy-0.2.tar.gz 6.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for SCFpy 0.2
File Interpreter ABI Platform
SCFpy-0.2-py3-none-any.whl Python 3 none any Details

Total release size: 15.5 kB

Release files / SCFpy-0.2.tar.gz

Download URL SCFpy-0.2.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
160b75d50dd68d4c1f39eed4bd2551ddca9abc82381d4f909b7006f96f12de47
BLAKE2b-256 checksum
How to use checksums
7f95a95326c075d543016ef31b938cced4db78517e0639585b0f2fe2f34e16ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / SCFpy-0.2-py3-none-any.whl

Download URL SCFpy-0.2-py3-none-any.whl
Size 9.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c5197afb363a9c92d41fe6cbaad3f75d1261fcc08e0bf15f3ad1a0d905fcc84a
BLAKE2b-256 checksum
How to use checksums
f301e613cc83a4534b8afcca2913ccb617304b8148781b6dcc2cbf2507be5b35
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2 This release

2 release files

0.1

1 release file

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