Skip to main content

∞tools 🧰

👷‍♂️ Work in progress python package that provide various ∞RETIS tools for tasks like setting up simulations and analyzing data. 📈

🤝 Contributions of tools and modifications are welcome – feel free to submit your enhancements! 🚀

Installation

Inftools can be installed with:

pip install inftools

To install the latest development version:

  1. Clone the repository
  2. (Optional) Create a virtual environment
  3. Install with:
    python -m pip install -e .
    

Usage

inft -h

inft center_periodic

The command inft center_periodic can be run to re-center an .xyz trajectory to a certain atom index. For example, to center the first atom C at index 0 in the co2.xyz frame in examples/co2.xyz with cubic box length of 12.4138, the following command can be ran:

inft center_periodic -i co2.xyz -o co2_c.xyz -c 12.4138 -idx 0

Development practice

Current CLI capabilities is powered by the Typer python library.

Python files

Any function function_name in a python file *.py with the following structure

from typing import Annotated

def function_name(
    args1: Annotated[str, typer.Option("-args1", help="var1")],
    args2: Annotated[int, typer.Option("-args2", help="var2")],
    ):
    """
    Function description
    """

added to the folders inftools/exercises, inftools/tistools and inftools/xyz will automatically be callable via the terminal as

inft function_name -args1 var1 -args2 var2

Individual functions

Individual functions can also be added to the CLI library by including them in inftools/bin.py, as done for the wham function in the inftools/analysis folder:

from inftools.analysis.wham import wham

MAPPER["wham"] = wham

Testing

The CLI functions are tested by utilizing the pytest python library.

The tests included in the inftools/test folder can be ran by running the following command in the terminal:

pytest

We currently do not have a testing policy but please do include tests for the included CLI functions for higher coverage.

Metadata

Release files for inftools 2026.1.1

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

Source distribution (sdist)

Source distribution for inftools 2026.1.1
File Size Uploaded Provenance
inftools-2026.1.1.tar.gz 62.4 kB With provenance Details

Built distribution (wheel)

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

Total release size: 143.4 kB

Release files / inftools-2026.1.1.tar.gz

Download URL inftools-2026.1.1.tar.gz
Size 62.4 kB
Tags Source
SHA-256 checksum
How to use checksums
e2d9cc6ac8e5c8de836d0bce0a61871758b604884adcd0f8544a54dcadb334c0
BLAKE2b-256 checksum
How to use checksums
2f3b86e9202da5c0ace287699e4934a9618d864a046416d37f624d76cb999d1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Mar 17, 2026.

Transparency log

Release files / inftools-2026.1.1-py3-none-any.whl

Download URL inftools-2026.1.1-py3-none-any.whl
Size 81.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0667022d4f8d85401cd149def853df994ea766bbcf3c2342b0b9e073529a24dd
BLAKE2b-256 checksum
How to use checksums
99270607de9638b9e324821e0fe29a0ef782bff4329612c0f28d16f8af2d5b62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Mar 17, 2026.

Transparency log

Security for inftools 2026.1.1

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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for inftools-2026.1.1.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 Mar 17, 2026.

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.

Release history Release notifications | RSS feed

This release

2026.1.1 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