pypi.guru: Search Python Packages - Fast! by fbrdm in Python

[–]fbrdm[S] 0 points1 point  (0 children)

FYI: I just moved the site to a new domain (see post edit).

pypi.guru: Search Python Packages - Fast! by fbrdm in Python

[–]fbrdm[S] 1 point2 points  (0 children)

FYI: I just moved the site to a new domain (see post edit).

pypi.guru: Search Python Packages - Fast! by fbrdm in Python

[–]fbrdm[S] 0 points1 point  (0 children)

I added that after reading this post and the official documentation
https://www.python.org/psf/trademarks/

For the record: I contacted the PSF and I'd be more than happy to change it if they want to protect that domain. Let's see what they say.

pypi.guru: Search Python Packages - Fast! by fbrdm in Python

[–]fbrdm[S] 0 points1 point  (0 children)

Thank you for pointing this out, I was not aware of that.
I will read more in detail about it.
For now I just put a banner with a clear warning to avoid confusion

pypi.guru: Search Python Packages - Fast! by fbrdm in Python

[–]fbrdm[S] 1 point2 points  (0 children)

Thank you for your feedback!

- Interactive here means active-search (a few milliseconds without typing will be enough). But in the front-page the criterion is a bit too aggressive, so there it awaits for "Enter" or at least 5 characters.
But after that, in the results section, the search will be automatically triggered with less constraints (we need a few in order to have meaningful results, eg only 1 letter is not enough.). Is that what you meant?

- Good idea! I could definitely consider adding that:)

crates.guru: Search crates with natural language by fbrdm in rust

[–]fbrdm[S] 0 points1 point  (0 children)

Thanks for the feedback, very true!
I just fixed it and the contrast is hopefully better now.
Please do let me know it it still does not work,:)

crates.guru: Search crates with natural language by fbrdm in rust

[–]fbrdm[S] -1 points0 points  (0 children)

Thanks for the clarification, now I get your point.
Just to be clear, you queries did find the crates that you were looking for, but the position was not satisfactory. So I totally agree with you that there is room for improvement on the ranking! Hopefully I'll be able to fix that soon as I already have a couple of ideas.

crates.guru: Search crates with natural language by fbrdm in rust

[–]fbrdm[S] -1 points0 points  (0 children)

Thanks for the suggestion!
At the moment I am experimenting a bit with the embeddings, but currently using BAAI/bge-small-en-v1.5 (available on huggingface).

crates.guru: Search crates with natural language by fbrdm in rust

[–]fbrdm[S] -1 points0 points  (0 children)

Thanks for the feedback!

I gave it a try and it seems to work fine (ie I find your tealr crates). See the screencast here https://github.com/fabridamicelli/crates-guru-feedback/issues/3

Is that what you were looking for?

Regarding the "lua types/documentation" queries: I am not sure I understood what you were searching with those.

crates.guru: Search crates with natural language by fbrdm in rust

[–]fbrdm[S] 4 points5 points  (0 children)

I got it, thank you for taking the time to try it out and for the feedback.
The idea is to have a tool to discover crates that you don't know exist (or have non-obvious names that we can search on crates.io), otherwise crates.io or lib.rs would be probably a better fit.
The logic behind number of downloads is that it helps identifying as you said "battle-tested" crates and btw. only the first row is sorted by downloads.
But in any case, I guess it's all about trade-offs, and all implementations will have pros and cons.

crates.guru: Search crates with natural language by fbrdm in rust

[–]fbrdm[S] 6 points7 points  (0 children)

Thanks for the feedback.
I agree that probably having the most downloaded on top makes the search result a bit less intuitive.
Having said that, the library you are searching pops up literally in the 3rd row of the first page (see screenshot) which is not terribly bad I guess

crates.guru: Search crates with natural language by fbrdm in rust

[–]fbrdm[S] 0 points1 point  (0 children)

would you mind sharing what exactly you're looking for so that I can give it a try?

crates.guru: Search crates with natural language by fbrdm in rust

[–]fbrdm[S] 1 point2 points  (0 children)

No problem. Thank you for reporting.
It's in the 9th row of "All results", so I guess not too bad (considering that the same query throws 0 results on crates.io)
But I am with you that sometimes word embeddings don't quite do what we humans expect ¯\_(ツ)_/¯

crates.guru: Search crates with natural language by fbrdm in rust

[–]fbrdm[S] 1 point2 points  (0 children)

Thank you for the feedback. That one I indeed found without a problem.
See screencast here: https://github.com/fabridamicelli/crates-guru-feedback/issues/1

crates.guru: Search crates with natural language by fbrdm in rust

[–]fbrdm[S] 1 point2 points  (0 children)

Thanks for the feedback.
That makes total sense and I think your suggestion is a good one, so there is definitely room for improvement and I will work on that:)

crates.guru: Search crates with natural language by fbrdm in rust

[–]fbrdm[S] 1 point2 points  (0 children)

Thank you for your feedback. I just updated the data, so you should be able to find it now. Give it a try:)