Python API reference¶

Note

This is the documentation for metatensor-core version 0.1.6. For other versions, look in the following pages:

Version 0.1.6
Version 0.1.5
Version 0.1.4
Version 0.1.3
Version 0.1.2
Version 0.1.1
Version 0.1.0

Most users will find the Python interface to metatensor to be the most convenient to use. This interface is built on top of the C API, and can be installed independently. The functions and classes provided in metatensor can be grouped as follows:

Some modules are part of the advanced API that most users should not need to interact with:

The Python interface also provides multiple operations, including mathematical, logical, and other utility functions that can applied on these core objects. These are part of a separate python package (metatensor-operations, installed by default when installing metatensor); and documented in the corresponding section.