Features for testing whether interpreter interfaces are functional#

class sage.features.interfaces.InterfaceFeature(name, module, description)#

Bases: sage.features.Feature

A Feature describing whether an Interface is present and functional.

class sage.features.interfaces.Macaulay2(name, module, description)#

Bases: sage.features.interfaces.InterfaceFeature

A Feature describing whether sage.interfaces.macaulay2.Macaulay2 is present and functional.

EXAMPLES:

sage: from sage.features.interfaces import Macaulay2
sage: Macaulay2().is_present()  # random
FeatureTestResult('macaulay2', False)
class sage.features.interfaces.Magma(name, module, description)#

Bases: sage.features.interfaces.InterfaceFeature

A Feature describing whether sage.interfaces.magma.Magma is present and functional.

EXAMPLES:

sage: from sage.features.interfaces import Magma
sage: Magma().is_present()  # random
FeatureTestResult('magma', False)
class sage.features.interfaces.Maple(name, module, description)#

Bases: sage.features.interfaces.InterfaceFeature

A Feature describing whether sage.interfaces.maple.Maple is present and functional.

EXAMPLES:

sage: from sage.features.interfaces import Maple
sage: Maple().is_present()  # random
FeatureTestResult('maple', False)
class sage.features.interfaces.Mathematica(name, module, description)#

Bases: sage.features.interfaces.InterfaceFeature

A Feature describing whether sage.interfaces.mathematica.Mathematica is present and functional.

EXAMPLES:

sage: from sage.features.interfaces import Mathematica
sage: Mathematica().is_present()  # not tested
FeatureTestResult('mathematica', False)
class sage.features.interfaces.Matlab(name, module, description)#

Bases: sage.features.interfaces.InterfaceFeature

A Feature describing whether sage.interfaces.matlab.Matlab is present and functional.

EXAMPLES:

sage: from sage.features.interfaces import Matlab
sage: Matlab().is_present()  # random
FeatureTestResult('matlab', False)
class sage.features.interfaces.Octave(name, module, description)#

Bases: sage.features.interfaces.InterfaceFeature

A Feature describing whether sage.interfaces.octave.Octave is present and functional.

EXAMPLES:

sage: from sage.features.interfaces import Octave
sage: Octave().is_present()  # random
FeatureTestResult('octave', False)
class sage.features.interfaces.Scilab(name, module, description)#

Bases: sage.features.interfaces.InterfaceFeature

A Feature describing whether sage.interfaces.scilab.Scilab is present and functional.

EXAMPLES:

sage: from sage.features.interfaces import Scilab
sage: Scilab().is_present()  # random
FeatureTestResult('scilab', False)
sage.features.interfaces.all_features()#

Return features corresponding to interpreter interfaces.

EXAMPLES:

sage: from sage.features.interfaces import all_features
sage: list(all_features())
[Feature('magma'),
 Feature('matlab'),
 Feature('mathematica'),
 Feature('maple'),
 Feature('macaulay2'),
 Feature('octave'),
 Feature('scilab')]