Skip to main content

CI codecov Total alerts Language grade: Python PyPI version PyPI - Python Version

PlumedToHTML

This is a Python implementation that allows you to generate pretified PLUMED input files that can be included in HTML documents. These pretified inputs have the following features:

  • There is a badge that shows whether PLUMED is able to parse the input or not.
  • When you hover over the names of actions tooltips appear to describe them that contain links to the corresponding pages in the PLUMED documentation.
  • When you hover over the keyword name a tooltip explains the meaning of that particular keyword.
  • If you click on the label for an action an explanation of that quantity that is stored in that label is given. The way the quantity is used in the rest of the calculation is given.
  • If shortcuts are used and actions read in things that do not appear in the input you have the option to see what actions are read in by PLUMED. You can thus get insight into how methods are implemented in PLUMED.
  • If some action has parameters that are set to default values you have the option to see what the default values of these parameters are.

N.B. This script uses subprocess to call PLUMED If you use this script PLUMED must be available in your path

Documentation

You can install this script by using the command:

pip install plumedToHTML

You can then use it within a python script by using the command:

from PlumedToHTML import get_html, get_html_header

The function get_html takes two arguments:

  • The first argument is a string that contains the PLUMED input you want to get the html for.
  • The second argument is a label that is used to refer to the input. If you have multiple PLUMED inputs on one page they all must have different labels

This function returns a string that contains the PLUMED input html to include in your page.

The function get_html_header returns some javascript functions and css definitions that must be included in the header of the html page. These functions and css instructions control how the PLUMED inputs appear.

Metadata

Release files for PlumedToHTML 0.112

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

Source distribution (sdist)

Source distribution for PlumedToHTML 0.112
File Size Uploaded Provenance Actions
plumedtohtml-0.112.tar.gz 34.6 kB With provenance Details for plumedtohtml-0.112.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for PlumedToHTML 0.112
File Interpreter ABI Platform Actions
plumedtohtml-0.112-py3-none-any.whl Python 3 none any Details for plumedtohtml-0.112-py3-none-any.whl

Total release size: 67.1 kB

Release files / plumedtohtml-0.112.tar.gz

Download URL plumedtohtml-0.112.tar.gz
Size 34.6 kB
Tags Source
SHA-256 checksum
How to use checksums
9ba5cdd0f5b27ad534a4f39b8f07910ac5fc01d8adeb1cca939a18440c67573a
BLAKE2b-256 checksum
How to use checksums
9961ea458d6b9cb9321f333cac3c5e274ad2a6d86aed9cd7d772be108ff1526d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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 Apr 6, 2025.

Transparency log

Release files / plumedtohtml-0.112-py3-none-any.whl

Download URL plumedtohtml-0.112-py3-none-any.whl
Size 32.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a7890f41717ed3c2c1feea265bf2ab2e69c4fdccd4f02f575b3c50b09e3b7878
BLAKE2b-256 checksum
How to use checksums
f30185c3a34bcdc5f8379c87c2baa1f9d5808a9ec84c45fb0658b24d82e3dc36
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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 Apr 6, 2025.

Transparency log

Security for PlumedToHTML 0.112

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for plumedtohtml-0.112.tar.gz

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 Apr 6, 2025.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.112 This release

2 release files Full provenance

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