from sage.modular.all import * from sage.sat.all import * from sage.schemes.all import * from sage.graphs.all import * from sage.groups.all import * from sage.arith.power import generic_power as power from sage.databases.all import * from sage.categories.all import * from sage.sets.all import * from sage.probability.all import * from sage.interfaces.all import * from sage.functions.all import * from sage.calculus.all import * lazy_import('sage.tests', 'all', as_='tests', deprecation=27337) from sage.cpython.all import * from sage.crypto.all import * import sage.crypto.mq as mq from sage.plot.all import * from sage.plot.plot3d.all import * from sage.coding.all import * from sage.combinat.all import * from sage.lfunctions.all import * from sage.geometry.all import * from sage.geometry.triangulation.all import *
import sage.finance.all as finance from sage.parallel.all import * from sage.ext.fast_callable import fast_callable from sage.ext.fast_eval import fast_float sage.misc.lazy_import.lazy_import('sage.sandpiles.all', '*', globals()) from sage.tensor.all import * from sage.matroids.all import * # Lazily import notebook functions and interacts (#15335) lazy_import('sagenb.notebook.notebook_object', 'notebook') lazy_import('sagenb.notebook.notebook_object', 'inotebook') lazy_import('sagenb.notebook.sage_email', 'email') lazy_import('sagenb.notebook.interact', 'interact') lazy_import('sage.interacts', 'all', 'interacts') from sage.interacts.debugger import debug from copy import copy, deepcopy # The code executed here uses a large amount of Sage components from sage.rings.qqbar import _init_qqbar _init_qqbar() #Deprecate the is_* functions from the top level #All of these functions should be removed from the top level #after a few releases, and this code should be removed.
import sage.finance.all as finance from sage.parallel.all import * from sage.ext.fast_callable import fast_callable from sage.ext.fast_eval import fast_float sage.misc.lazy_import.lazy_import('sage.sandpiles.all', '*', globals()) from sage.tensor.all import * from sage.matroids.all import * # Lazily import notebook functions and interacts (#15335) lazy_import('sagenb.notebook.notebook_object', 'notebook') lazy_import('sagenb.notebook.notebook_object', 'inotebook') lazy_import('sagenb.notebook.sage_email', 'email') lazy_import('sagenb.notebook.interact', 'interact') lazy_import('sage.interacts', 'all', 'interacts') from sage.interacts.debugger import debug from copy import copy, deepcopy # The code executed here uses a large amount of Sage components from sage.rings.qqbar import _init_qqbar _init_qqbar() ########################################################### #### WARNING: # DO *not* import numpy / matplotlib / networkx here!!
sage.misc.lazy_import.lazy_import('sage.sandpiles.all', '*', globals()) from sage.tensor.all import * from sage.matroids.all import * from sage.game_theory.all import * from sage.knots.all import * from sage.manifolds.all import * from cysignals.alarm import alarm, cancel_alarm # Lazily import notebook functions and interacts (#15335) lazy_import('sagenb.notebook.notebook_object', 'notebook') lazy_import('sagenb.notebook.notebook_object', 'inotebook') lazy_import('sagenb.notebook.sage_email', 'email') lazy_import('sage.interacts', 'all', 'interacts') from sage.interacts.debugger import debug # interact decorator from SageNB (will be overridden by Jupyter) lazy_import('sagenb.notebook.interact', 'interact') from copy import copy, deepcopy # The code executed here uses a large amount of Sage components from sage.rings.qqbar import _init_qqbar _init_qqbar() ###########################################################