On Wed, 6 Apr 2016, Johan S. R. Nielsen wrote:

As an example: IMO KleinFourGroup() should be groups.KleinFour() just like we have graphs.PetersenGraph().

I completely agree. For coding theory, we have also started to put
everything into catalogues codes.<tab> and channels.<tab>, and the
functions and constructors in global namespace are slowly getting
deprecated - except LinearCode that we have kept globally.

OK, good.

For the catalogue for codes, you can write

  sage: from sage.coding.codes_catalogue import *

For graphs we have

from sage.graphs.generators.smallgraphs import *

and

from sage.graphs.generators.platonic_solids import *

and it seems unnecessary but not that harmful to have two set to import.

 * * *

So, we could have also something like

numbertheory.a_special_function(42)

for casual use, and "power user" might just start with

from numbertheory import *

?

--
Jori Mäntysalo

Reply via email to