Skip to content

Software versions

This class is accessed via the versions property on a CamillaClient instance.

It provides methods for reading the software versions.

class: Versions

Bases: _CommandGroup

Version info

Source code in camilladsp/camilladsp.py
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
class Versions(_CommandGroup):
    """
    Version info
    """

    def camilladsp(self) -> Optional[Tuple[str, str, str]]:
        """
        Read CamillaDSP version.

        Returns:
            Tuple[List[str], List[str]] | None: A tuple containing the CamillaDSP version,
                as (major, minor, patch).
        """
        return self.client.cdsp_version

    def library(self) -> Tuple[str, str, str]:
        """
        Read pyCamillaDSP library version.

        Returns:
            Tuple[List[str], List[str]] | None: A tuple containing the pyCamillaDSP version,
                as (major, minor, patch).
        """
        ver = VERSION.split(".")
        return (ver[0], ver[1], ver[2])

camilladsp()

Read CamillaDSP version.

Returns:

Type Description
Optional[Tuple[str, str, str]]

Tuple[List[str], List[str]] | None: A tuple containing the CamillaDSP version, as (major, minor, patch).

Source code in camilladsp/camilladsp.py
844
845
846
847
848
849
850
851
852
def camilladsp(self) -> Optional[Tuple[str, str, str]]:
    """
    Read CamillaDSP version.

    Returns:
        Tuple[List[str], List[str]] | None: A tuple containing the CamillaDSP version,
            as (major, minor, patch).
    """
    return self.client.cdsp_version

library()

Read pyCamillaDSP library version.

Returns:

Type Description
Tuple[str, str, str]

Tuple[List[str], List[str]] | None: A tuple containing the pyCamillaDSP version, as (major, minor, patch).

Source code in camilladsp/camilladsp.py
854
855
856
857
858
859
860
861
862
863
def library(self) -> Tuple[str, str, str]:
    """
    Read pyCamillaDSP library version.

    Returns:
        Tuple[List[str], List[str]] | None: A tuple containing the pyCamillaDSP version,
            as (major, minor, patch).
    """
    ver = VERSION.split(".")
    return (ver[0], ver[1], ver[2])