Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I want to bundle up a Mathematica package that I've written and distribute it as open source. It has a couple of dependencies that I'd like to automatically download independently from my package as well.

Is there any sort of established Mathematica package manager and package distribution site? (I'm thinking along the lines of pip for Python, gem for Ruby, nuget for .NET, hackage for Haskell, that sort of thing.)

I've seen Wolfram MathSource, and as near as I can tell its aim seems to be to collect various contributed packages from around the web into a central place, but it doesn't feel very active (maybe I'm wrong?).

share|improve this question
add comment

1 Answer

I'm not aware of any existing package manager. As to activity of Wolfram MathSource, let's ask Mathematica:

libraryLinks = 
  Select[
     Import[
         "http://library.wolfram.com/infocenter/search/?page=1;search_results=1;search_item_type=19&pages_count=100000", 
         "Hyperlinks"
     ], 
     StringMatchQ[#, RegularExpression[".*library.*"]] &
  ];

dates = 
   Function[{ll},
      Cases[Import[ll,"Data"], 
            _String?(StringMatchQ[#,DatePattern[{"Year", "Month", "Day"}]] &),
            Infinity]
      ] /@  libraryLinks // Flatten;

Histogram[(DateList /@ dates)[[All, 1]], {1}]

Mathematica graphics

Indeed, it doesn't seem to be too busy lately.

share|improve this answer
    
Nice method/chart. I wonder why the collapse. –  Mr.Wizard Jul 10 '12 at 14:56
    
@Mr.Wizard might have something to do with the launch of Wolfram Demonstrations. I believe that happened somewhere in 2006. There are now over 8000 demonstrations and only about 1800 MathSource entries. –  Sjoerd C. de Vries Jul 10 '12 at 15:18
    
Perhaps, but there used to be a lot of (re)usable packages posted to MathSource. Demonstrations are neat, but hardly a substitute. –  Mr.Wizard Jul 10 '12 at 15:29
    
mr.wizard Agreed, but I imagine many of the package authors have moved over. –  Sjoerd C. de Vries Jul 10 '12 at 15:40
    
I thought everyone has moved to MSE? Seriously, there are many services these days which let users provide code in various ways which are much more convenient than MathSource (sourceforge,githup,google code,...). I guess that many package authors have moved to one of these. I would also wonder how many of the MathSource entries actually are packages, I think many of them are other "publications" e.g. notebooks used in talks etc., publishers of those also might have moved to other services (e.g. blogs,...) –  Albert Retey May 28 '13 at 7:35
show 2 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.