Skip to main content

Python wrappers for plumed

Install using the following command:

python -m pip install plumed

WARNING: You will need to also build and install the plumed library (see http://www.plumed.org) and make sure the file libplumedKernel.so (or libplumedKernel.dylib) is available on your system.

You should then make sure the library is found setting the environment variable PLUMED_KERNEL:

export PLUMED_KERNEL=/path/to/libplumedKernel.so
python
>>> import plumed
>>> p=plumed.Plumed()

If you manage multiple plumed versions on your system using tcl environment modules, this should be taken care automatically by the plumed module.

Alternatively, a pure python solution is:

>>> import plumed
>>> os.environ["PLUMED_KERNEL"]="/path/to/libplumedKernel.so"
>>> p=plumed.Plumed()

Finally, notice that you can set the path to the plumed library directly when declaring a Plumed object:

>>> import plumed
>>> p=plumed.Plumed(kernel="/path/to/libplumedKernel.so")

This will allow you to mix different plumed versions in the same python script.

CHANGES: See the PLUMED documentation.

Metadata

Release files for plumed 2.7.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 plumed 2.7.2
File Size Uploaded Provenance Actions
plumed-2.7.2.tar.gz 266.1 kB Without provenance Details for plumed-2.7.2.tar.gz

Release files / plumed-2.7.2.tar.gz

Download URL plumed-2.7.2.tar.gz
Size 266.1 kB
Tags Source
SHA-256 checksum
How to use checksums
24d330c4491a15ed65cef2bebf7a51caa85f81d37c79e58b277e6cbb843ed306
BLAKE2b-256 checksum
How to use checksums
5a15aa63959b3ba6b971153a9b8716a856ffd18dc6baa4ba1d2584b1e132ab0a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.7.0 requests/2.26.0 setuptools/57.1.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.11

Security for plumed 2.7.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