Skip to main content

pydft

Project description

PyDFT

pipeline status Anaconda-Server Badge Code coverage badge PyPI License: GPL v3

Python based Density Functional Theory code for educational purposes. The documentation of PyDFT can be found here.

Purpose

This repository contains a working density functional code using a localized Gaussian-type basis set and Becke grids for the numerical evaluation of density functionals.

Installation

This code depends on a few other packages. To install this code and its dependencies, run the following one-liner from Anaconda prompt

conda install -c ifilot pydft pyqint pylebedev pytessel

Usage

Check the current version

import pydft
print(pydft.__version__)

Performing a simple calculation

from pydft import MoleculeBuilder, DFT

CO = MoleculeBuilder().get_molecule("CO")
dft = DFT(CO, basis='sto3g', verbose=True)
en = dft.scf(1e-4)
print("Total electronic energy: %f Ht" % en)

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

pydft-0.6.0.tar.gz (1.4 MB view hashes)

Uploaded Source

Built Distribution

pydft-0.6.0-py3-none-any.whl (21.7 kB view hashes)

Uploaded Python 3

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