Features for testing the presence of nauty executables¶
- class sage.features.nauty.Nauty(*args, **kwds)[source]¶
Bases:
JoinFeature
A
Feature
describing the presence of the executables which comes as a part of nauty.EXAMPLES:
sage: from sage.features.nauty import Nauty sage: Nauty().is_present() # needs nauty FeatureTestResult('nauty', True)
>>> from sage.all import * >>> from sage.features.nauty import Nauty >>> Nauty().is_present() # needs nauty FeatureTestResult('nauty', True)
- class sage.features.nauty.NautyExecutable(*args, **kwds)[source]¶
Bases:
Executable
A
Feature
which checks for executables from the nauty package.EXAMPLES:
sage: from sage.features.nauty import NautyExecutable sage: NautyExecutable('converseg').is_present() # needs nauty FeatureTestResult('nauty_converseg', True)
>>> from sage.all import * >>> from sage.features.nauty import NautyExecutable >>> NautyExecutable('converseg').is_present() # needs nauty FeatureTestResult('nauty_converseg', True)