Features for testing the presence of topcom executables - Packages and Features

Skip to content
Back to top
View this page
Edit this page

# Features for testing the presence of topcom executables

class sage.features.topcom.TOPCOM(*args, **kwds)

  Bases: `JoinFeature`

  A `Feature` describing the presence of the executables which comes as a part of TOPCOM.

  EXAMPLES:

  Sage

      sage: from sage.features.topcom import TOPCOM
      sage: TOPCOM().is_present()                             # optional - topcom
      FeatureTestResult('topcom', True)

  Python

      >>> from sage.all import *
      >>> from sage.features.topcom import TOPCOM
      >>> TOPCOM().is_present()                             # optional - topcom
      FeatureTestResult('topcom', True)

class sage.features.topcom.TOPCOMExecutable(*args, **kwds)

  Bases: `Executable`

  A `Feature` which checks for executables from the TOPCOM package.

  EXAMPLES:

  Sage

      sage: from sage.features.topcom import TOPCOMExecutable
      sage: TOPCOMExecutable('points2allfinetriangs').is_present()    # optional - topcom
      FeatureTestResult('topcom_points2allfinetriangs', True)

  Python

      >>> from sage.all import *
      >>> from sage.features.topcom import TOPCOMExecutable
      >>> TOPCOMExecutable('points2allfinetriangs').is_present()    # optional - topcom
      FeatureTestResult('topcom_points2allfinetriangs', True)

sage.features.topcom.all_features()