Features for testing the presence of various databases#

class sage.features.databases.DatabaseConwayPolynomials(*args, **kwds)#

Bases: StaticFile

A Feature which describes the presence of Frank Luebeck’s database of Conway polynomials.

EXAMPLES:

sage: from sage.features.databases import DatabaseConwayPolynomials
sage: DatabaseConwayPolynomials().is_present()
FeatureTestResult('conway_polynomials', True)
class sage.features.databases.DatabaseCremona(*args, **kwds)#

Bases: StaticFile

A Feature which describes the presence of John Cremona’s database of elliptic curves.

INPUT:

  • name – either 'cremona' (the default) for the full large database or 'cremona_mini' for the small database.

EXAMPLES:

sage: from sage.features.databases import DatabaseCremona
sage: DatabaseCremona('cremona_mini').is_present()
FeatureTestResult('database_cremona_mini_ellcurve', True)
sage: DatabaseCremona().is_present()  # optional - database_cremona_ellcurve
FeatureTestResult('database_cremona_ellcurve', True)
class sage.features.databases.DatabaseCubicHecke(*args, **kwds)#

Bases: PythonModule

A Feature which describes the presence of the databases at the web-page Cubic Hecke algebra on 4 strands of Ivan Marin.

EXAMPLES:

sage: from sage.features.databases import DatabaseCubicHecke
sage: DatabaseCubicHecke().is_present()  # optional - database_cubic_hecke
FeatureTestResult('database_cubic_hecke', True)
class sage.features.databases.DatabaseJones(*args, **kwds)#

Bases: StaticFile

A Feature which describes the presence of John Jones’s tables of number fields.

EXAMPLES:

sage: from sage.features.databases import DatabaseJones
sage: bool(DatabaseJones().is_present())  # optional - database_jones_numfield
True
class sage.features.databases.DatabaseKnotInfo(*args, **kwds)#

Bases: PythonModule

A Feature which describes the presence of the databases at the web-pages KnotInfo and LinkInfo.

EXAMPLES:

sage: from sage.features.databases import DatabaseKnotInfo
sage: DatabaseKnotInfo().is_present()  # optional - database_knotinfo
FeatureTestResult('database_knotinfo', True)
class sage.features.databases.DatabaseReflexivePolytopes(*args, **kwds)#

Bases: StaticFile

A Feature which describes the presence of the PALP database of reflexive lattice polytopes.

EXAMPLES:

sage: from sage.features.databases import DatabaseReflexivePolytopes
sage: bool(DatabaseReflexivePolytopes().is_present())                              # optional - polytopes_db
True
sage: bool(DatabaseReflexivePolytopes('polytopes_db_4d', 'Hodge4d').is_present())  # optional - polytopes_db_4d
True
sage.features.databases.all_features()#