Skip to main content

Python package (noblegasmd)

A pip install-able, numba-accelerated Python port of the same NVE Lennard-Jones engine, runnable with zero build step (e.g. in Google Colab). MD.cpp below remains the authoritative physics reference; the port is validated against it (see tests/).

pip install noblegasmd
from noblegasmd import run, sweep

result = run(gas="Ar", T=300.0, rho=40.0)
print(result.Z, result.P_avg, result.T_avg)

df = sweep(gas="Ar", T=[100, 200, 300, 400], rho=[1, 40, 500, 2000], n_replicates=3)

See notebooks/reproduce_figure4.ipynb to regenerate the published quasi-isotherms, and MD_python_port_spec.md for the full port specification. Development install: pip install -e ".[dev]", then pytest.


C++ reference implementation (MD.cpp)

  • Source code for Molecular Dynamics Program - can compile and run on Linux, Windows, and Mac OSX

  • More information about this program, including detailed instructions for its use, can be found here for instructions and here for discussion of its use in an undergraduate laboratory setting

  • This folder should containt the source code (MD.cpp) and a makefile which can be used to compile the source to a machine-executable file.

  • A copy of the gnu public license (LICENSE.md) should be included.

  • To compile this code using a gnu C/C++ compiler and create an executable called 'MD.exe' in a Linux/Unix environment, type

    make

  • To run the program in a Linux/Unix environment, type

    ./MD.exe

  • The program will run interactively. Follow the prompts to customize your simulation

Note for Windows users on Cygwin installation: Our J. Chem. Ed. article suggests installing all Cygwin packages, which is quite large and time consuming. Success with a much lighter installation has been reported by selecting the default package installation plus 3 additional packages under the "devel" sub-heading. As accessed on 01/08/2020, these packages and version numbers are as follows:

  • gcc-g++ (7.4.0-1)
  • git (2.21.0-1)
  • make (4.2.1-2)

Metadata

Release files for noblegasmd 0.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 noblegasmd 0.1.0
File Size Uploaded
noblegasmd-0.1.0.tar.gz 63.1 kB Details

Built distribution (wheel)

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

Total release size: 85.0 kB

Release files / noblegasmd-0.1.0.tar.gz

Download URL noblegasmd-0.1.0.tar.gz
Size 63.1 kB
Tags Source
SHA-256 checksum
How to use checksums
65e20ab6a16fc332c338f8389700b58ec05455e42049c551be80eb1e3bd12153
BLAKE2b-256 checksum
How to use checksums
f51e2e9552336afa79e48fbf82da1bc12c7a1abbcd69e4c4565b63480d384e10
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 22, 2026.

Transparency log

Release files / noblegasmd-0.1.0-py3-none-any.whl

Download URL noblegasmd-0.1.0-py3-none-any.whl
Size 21.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
84c926b4ca3536a3accda6c4e79fbc56cb59c41a6b742ae3a3cf414fe74051a9
BLAKE2b-256 checksum
How to use checksums
1281993a6fad82c6376b84064419fefd2cadf16bfe82b35846c7e540aa63645c
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 22, 2026.

Transparency log

Release history Release notifications | RSS feed

0.1.1

2 release files

This release

0.1.0 This release

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