Feature for testing the presence of igraph

sage.features.igraph.all_features()[source]
class sage.features.igraph.python_igraph(*args, **kwds)[source]

Bases: JoinFeature

A sage.features.Feature describing the presence of the Python package igraph.

EXAMPLES:

sage: from sage.features.igraph import python_igraph
sage: python_igraph().is_present()                    # optional - python_igraph
FeatureTestResult('python_igraph', True)
>>> from sage.all import *
>>> from sage.features.igraph import python_igraph
>>> python_igraph().is_present()                    # optional - python_igraph
FeatureTestResult('python_igraph', True)