Skip to main content

calphy

calphy(pronounced cal-phee) is a Python library and command line tool for calculation of free energies. It uses LAMMPS as the molecular dynamics driver to enable calculation of free energies using thermodynamic integration in a completely automated and efficient manner. The various methods that calphy can perform are:

Calphy works with all interatomic potentials implemented in LAMMPS and can obtain reliable results with low error bars in as low as 50 ps of simulation time with less than 3000 atoms. More information about the methods in calphy can be found in the associated publication.

Installation, examples and documentation

  • Read the calphy installation instructions and documentation including examples here.

  • For a description of the methods and algorithms implemented in calphy, please see the associated publication.

  • For a set of examples presented in the calphy publication, please see here.

Citing calphy

If you find calphy useful, please consider citing:
Menon, Sarath, Yury Lysogorskiy, Jutta Rogal, and Ralf Drautz.
“Automated Free Energy Calculation from Atomistic Simulations.” Physical Review Materials 5(10), 2021
DOI: 10.1103/PhysRevMaterials.5.103801

Download bibtex here

License

calphy is published and distributed under the Academic Software Licence v1.0 (ASL), a reciprocal licence whose core terms match the GNU GPLv2 but which permits academic non-commercial use only. It is an available-source, not an open-source, licence. See LICENSE for the full terms.

If you intend to use calphy commercially, you need a separate commercial licence. Please contact sarath.menon@ruhr-uni-bochum.de to enquire about commercial use rights.

Releases up to and including 2.0.1 were distributed under a split ASL / BSD-3-Clause licence (and earlier releases under the GNU GPL). Those grants continue to apply to the versions they were published with; from 2.1.0 onwards calphy is ASL only.

Note that calphy drives LAMMPS, which is licensed separately under the GNU GPLv2. calphy does not include LAMMPS.

Anaconda-Server Badge

PyPI version

Metadata

Release files for calphy 2.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for calphy 2.1.0
File Size Uploaded
calphy-2.1.0.tar.gz 241.8 kB Details

Built distribution (wheel)

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

Total release size: 448.0 kB

Release files / calphy-2.1.0.tar.gz

Download URL calphy-2.1.0.tar.gz
Size 241.8 kB
Tags Source
SHA-256 checksum
How to use checksums
8ac02a05563e291a0fc04e4e98f0d9f1f0d3122d0ab54413927dd29aba7fdcbd
BLAKE2b-256 checksum
How to use checksums
7514828adc9ef4a7c119e708e609002d2e3a24a854f33e9ab6694007b584f77c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 31, 2026.

Transparency log

Release files / calphy-2.1.0-py3-none-any.whl

Download URL calphy-2.1.0-py3-none-any.whl
Size 206.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3795cb96903b8fc44834edf6b6f94efd2b13d9e56afd0cc55a932dacdf365dd2
BLAKE2b-256 checksum
How to use checksums
9d6c0c521e72bc53a63ab1b65ab9d3c8f1d0093799c5ad732dc6d7000fd584a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 31, 2026.

Transparency log

Release history Release notifications | RSS feed

2.1.2

2 release files

2.1.1

2 release files

This release

2.1.0 This release

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.8.5

2 release files

1.8.4

2 release files

1.8.3

2 release files

1.8.2

2 release files

1.8.1

2 release files

1.7.2

2 release files

1.6.8

2 release files

1.6.6

2 release files

1.6.5

2 release files

1.6.1

2 release files

1.6.0

2 release files

1.5.8

2 release files

1.5.6

2 release files

1.5.5

2 release files

1.5.2

2 release files

1.5.0

2 release files

1.4.6

2 release files

1.4.5

2 release files

1.4.4

2 release files

1.4.3

2 release files

1.4.2

2 release files

1.3.13

2 release files

1.3.11

2 release files

1.3.9

2 release files

1.3.8

2 release files

1.3.7

2 release files

1.3.6

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.17

2 release files

1.2.14

2 release files

1.2.12

2 release files

1.2.11

2 release files

1.2.10

2 release files

1.2.9

2 release files

1.2.8

2 release files

1.2.7

2 release files

1.2.6

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.1

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.0

2 release files

0.9.1

1 release file

0.9.0

2 release files

0.8.0

3 release files

0.7.4

1 release file

0.7.3

1 release file

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