Feature for testing the presence of gap3.

class sage.features.gap3.Gap3(*args, **kwds)[source]

Bases: Executable

A Feature describing the presence of GAP3.

EXAMPLES:

sage: from sage.features.gap3 import Gap3
sage: isinstance(Gap3(), Gap3)
True
>>> from sage.all import *
>>> from sage.features.gap3 import Gap3
>>> isinstance(Gap3(), Gap3)
True
from sage.features.gap3 import Gap3
isinstance(Gap3(), Gap3)
class sage.features.gap3.Gap3Package(*args, **kwds)[source]

Bases: Feature

A Feature describing the presence of a GAP3 package.

A GAP3 package is “present” if it can be loaded, not if it has been loaded.

See also

Feature sage.libs.gap

EXAMPLES:

sage: from sage.features.gap3 import Gap3Package
sage: Gap3Package("chevie", spkg='gap3')
Feature('gap3_package_chevie')
>>> from sage.all import *
>>> from sage.features.gap3 import Gap3Package
>>> Gap3Package("chevie", spkg='gap3')
Feature('gap3_package_chevie')
from sage.features.gap3 import Gap3Package
Gap3Package("chevie", spkg='gap3')
sage.features.gap3.all_features()[source]