Dear sage-devel,

This is a follow-up to a discussion on sage-support [0] in which
the original poster asks a question which I will summarize as:

  Having written some amount of Sage code for a project,
  how can I best package it and share it with the community?

Among the answers, Vincent suggests turning the code into a pip-installable
Python package for Sage, and points to a sample such package [1], made last
week at Sage Days 79 precisely to help people do that.

Vincent also points to the wiki page [2], which consists in a list
of external packages for Sage, some pip-installable, some not.

A bit later in the discussion, William writes:

> It would be great if somebody could create some sort of index
> of such packages, which we could link to (or include) on sagemath.org.
>
> This might eventually involve using some sort of tagging
> (or searching) of https://pypi.python.org/pypi and/or github.
> For now, this could just be a Github wiki page, which gets updated
> as we become aware of packages, and which we link to from sagemath.org.
>
> Thoughts?

I'm moving the discussion to sage-devel.

The pages "SageMath external packages" [2] and "Code sharing workflow" [3]
were created in May 2016 following discussions on various Sage mailing lists
and at Sage Days 77 about modularization and packaging of Sage.

The page [2] was a preliminary attempt at "some sort of index of such
packages", and has a link to "Packages on PyPI matching 'sagemath'" [4],
which is intended as "using some sort of tagging or searching of PyPI".

It would certainly be nice to have a similar tagging or searching of GitHub,
bitbucket, and other code repositories, to detect external packages for
Sage.

Probably the list at [2] should be turned into a better format, maybe a json
or yaml file or some appropriate database format, and be made accessible and
visible at some page on sagemath.org.

Entries in a database of Sage packages might have the following fields:

- package name
- alternate names, if applicable
- author(s)
- maintainer(s)
- short description
- long description
- keywords
- link to package home page
- link to code repository
- link to documentation
- license
- date package was created
- type of package (spkg, pip-installable, ...)
- relevant Sage trac tickets,
- discussions on sage-devel or other media
- maintenance status
- ...

We might also check how other communities index external packages,
for instance Astropy, GAP, Julia, ...

[0] https://groups.google.com/d/msg/sage-support/xsDt7TUjZkM/iOSBXfK7CgAJ
[1] https://github.com/nthiery/sage_sample
[2] https://wiki.sagemath.org/SageMathExternalPackages
[3] https://wiki.sagemath.org/CodeSharingWorkflow
[4]
https://pypi.python.org/pypi?%3Aaction=search&term=sagemath&submit=search

Best, Samuel

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to