[julia-users] Re: ANN: PkgSearch - a REPL utility for package discovery
Thanks for the feedback, happy to contribute. vineri, 3 iunie 2016, 22:40:50 UTC+2, Adrian Salceanu a scris: > > Hi, > > I have released PkgSearch, a small REPL utility for package discovery. > > Package discovery seemed to be a recurring issue, with many related > questions - and I can still remember how difficult was for me too, when I > started. So it might be a useful tool. > I've been using it for a few days and it's kind of neat, being able to > quickly search through all the publicly available packages without leaving > the REPL :) I hope you'll enjoy it! > > It works in conjunction with an API which powers the actual search. On the > server side, a full text search is performed against the README files. It > covers both official packages and unofficial ones, searching for them on > GitHub (not in real time, the data is imported regularly). This GitHub > search is a bit naive still, so false positives might come up. > > More details in the README, at https://github.com/essenciary/PkgSearch > > === > > On a related note, the API providing the search results and all the > tooling for importing and processing the data is done with Genie (formerly > Jinnie) - the Julia web framework I've been working on for many months now. > It's not ready for prime time yet but this is definitely a major milestone! > > With this occasion I've also added a very comprehensive README to give you > an idea about what it does, how it works and where it's heading. > > You can find it here https://github.com/essenciary/genie - and if you > like it, please star it :) > > Cheers, > Adrian >
[julia-users] Re: ANN: PkgSearch - a REPL utility for package discovery
El viernes, 3 de junio de 2016, 16:40:50 (UTC-4), Adrian Salceanu escribió: > > Hi, > > I have released PkgSearch, a small REPL utility for package discovery. > > Very nice work! > Package discovery seemed to be a recurring issue, with many related > questions - and I can still remember how difficult was for me too, when I > started. So it might be a useful tool. > I've been using it for a few days and it's kind of neat, being able to > quickly search through all the publicly available packages without leaving > the REPL :) I hope you'll enjoy it! > > It works in conjunction with an API which powers the actual search. On the > server side, a full text search is performed against the README files. It > covers both official packages and unofficial ones, searching for them on > GitHub (not in real time, the data is imported regularly). This GitHub > search is a bit naive still, so false positives might come up. > > More details in the README, at https://github.com/essenciary/PkgSearch > > === > > On a related note, the API providing the search results and all the > tooling for importing and processing the data is done with Genie (formerly > Jinnie) - the Julia web framework I've been working on for many months now. > It's not ready for prime time yet but this is definitely a major milestone! > > With this occasion I've also added a very comprehensive README to give you > an idea about what it does, how it works and where it's heading. > > You can find it here https://github.com/essenciary/genie - and if you > like it, please star it :) > > Cheers, > Adrian >
[julia-users] Re: ANN: PkgSearch - a REPL utility for package discovery
Hi, thanks very much for the feedback, much appreciated. 1. good point, haven't considered that as package names don't have spaces. But nonetheless, a search with spaces should definitely be all right. I fixed the issue and pushed on GitHub - it now considers whitespace as a keyword separator. So lookup("foo bar") is now equivalent to lookup("foo", "bar") or lookup(" foo ", "bar "), etc. The search is not case sensitive which I think makes sense and it's probably what's expected from a user's perspective? 2. thanks for pointing that out, indeed, the GitHub search data was overwriting the data about the official packages. I fixed it. julia> PkgSearch.lookup("jump") = JuMP - Official package - git://github.com/JuliaOpt/JuMP.jl.git - JuMP ≡≡ Julia for Mathematical Programming JuMP is a domain-specific modeling language for **[mathematical programming _ Cheers! sâmbătă, 4 iunie 2016, 14:07:59 UTC+2, Evan Fields a scris: > > Hi, this looks great. Two comments from playing around a little bit. > > 1) PkgSearch.lookup fails if any of the arguments contain a space. In > general maybe add to the documentation some notes about whitespace, case > sensitivity, etc.? > 2) The search seems to get confused between package names and the > corresponding github respository name, which often differ by a .jl at the > end. For example, JuMP is one of the most used Julia packages, you can find > it on pkg.julialang.org, etc. But PkgSearch.details("JuMP") will give an > error. PkgSearch.details("JuMP.jl") gives the readme and associated info > from the correct git repo except labels the package unofficial. > > Let me know if you want me to open issues on github, etc. Great work > overall! >
[julia-users] Re: ANN: PkgSearch - a REPL utility for package discovery
Hi, this looks great. Two comments from playing around a little bit. 1) PkgSearch.lookup fails if any of the arguments contain a space. In general maybe add to the documentation some notes about whitespace, case sensitivity, etc.? 2) The search seems to get confused between package names and the corresponding github respository name, which often differ by a .jl at the end. For example, JuMP is one of the most used Julia packages, you can find it on pkg.julialang.org, etc. But PkgSearch.details("JuMP") will give an error. PkgSearch.details("JuMP.jl") gives the readme and associated info from the correct git repo except labels the package unofficial. Let me know if you want me to open issues on github, etc. Great work overall!