Feature for testing if the Internet is available#
- class sage.features.internet.Internet#
Bases:
sage.features.Feature
A
Feature
describing if Internet is available.Failure of connecting to the site “https://www.sagemath.org” within a second is regarded as internet being not available.
EXAMPLES:
sage: from sage.features.internet import Internet sage: Internet() Feature('internet')
- sage.features.internet.all_features()#