Re: Searching pypi.org, is there an 'advanced search'?
On 18/07/2021 03:40, MRAB wrote: On 2021-07-17 13:01, Chris Green wrote: pypi.org is a wonderful resource but its size now demands a better search engine. There's always Google. I find that the search terms: "google contacts" pypi finds some results. With a small modification "google contacts" site:pypi.org the number of results goes down to 25 (of which 13 are shown by default). -- https://mail.python.org/mailman/listinfo/python-list
Re: Searching pypi.org, is there an 'advanced search'?
Peter Otten <[email protected]> wrote: > On 18/07/2021 03:40, MRAB wrote: > > On 2021-07-17 13:01, Chris Green wrote: > > >> pypi.org is a wonderful resource but its size now demands a better > >> search engine. > >> > > There's always Google. I find that the search terms: > > > > "google contacts" pypi > > > > finds some results. > > With a small modification > > "google contacts" site:pypi.org > > the number of results goes down to 25 (of which 13 are shown by default). > But of course that only finds places where the words "google contacts" occur together. I think I (OP) should probably try:- google contacts site:pypi.org I don't use Google but I tried it on my preferrred search engine (DuckDuckGo) and it produces rather more than 25 results but, as they're sorted (among other things) by the distance between the words 'google' and 'contacts' (I think) it produces the sort of result I was hoping for. Thanks all. -- Chris Green · -- https://mail.python.org/mailman/listinfo/python-list
Re: Searching pypi.org, is there an 'advanced search'?
Mark Lawrence wrote: > On Saturday, July 17, 2021 at 1:03:21 PM UTC+1, Chris Green wrote: > > Every time I go to pypi.org to look for a neat utility or something I > > curse the stupid search. > > > > Is there really no better search available? Apart from anything else > > it appears to OR the elements together so, for example, I wanted to > > search for programs/libraries that will allow me to access Google > > Contacts:- > > > > Putting the words Google and Contacts in the search box produces > > more than 1 hits. > > > > Putting just Google in the search box produces 8,629 projects. > > > > So, it would appear the terms are OR'ed together, surely OR'ing terms > > in a search (by default) went out with the ark! > > > > When I put 'Google contacts' in the search box I want projects that > > have both 'Google' AND 'Contacts' in their description somewhere! > > (... and, no, I tried 'Google AND Contacts', still more than 1 > > results). > > > > pypi.org is a wonderful resource but its size now demands a better > > search engine. > > > > As this is an open source project I'm looking forward to the huge amount > of work that you personally will be putting in to remedy this situation. > In summary put up or shut up :) I'm quite happy to help, however I was just asking (maybe rather more agressively than I should have done) if I was missing something obvious. E.g. is there some syntax that I don't know about that I can use in the search box, or maybe I should use an external search engine? ... and Open Source doesn't mean one can't criticise surely, rather the opposite! :-) (I have, by the way, contributed in a minor way to quite a few open source projects over the years, and that's a lot of years! I even have a small credit in the 'bible' for the Kermit file transfer protocol, remember that?) -- Chris Green · -- https://mail.python.org/mailman/listinfo/python-list
Re: Searching pypi.org, is there an 'advanced search'?
On 18/07/2021 10.15, Chris Green wrote: > Mark Lawrence wrote: >> On Saturday, July 17, 2021 at 1:03:21 PM UTC+1, Chris Green wrote: >>> Every time I go to pypi.org to look for a neat utility or something I >>> curse the stupid search. >>> >>> Is there really no better search available? Apart from anything else >>> it appears to OR the elements together so, for example, I wanted to >>> search for programs/libraries that will allow me to access Google >>> Contacts:- >>> >>> Putting the words Google and Contacts in the search box produces >>> more than 1 hits. >>> >>> Putting just Google in the search box produces 8,629 projects. >>> >>> So, it would appear the terms are OR'ed together, surely OR'ing terms >>> in a search (by default) went out with the ark! >>> >>> When I put 'Google contacts' in the search box I want projects that >>> have both 'Google' AND 'Contacts' in their description somewhere! >>> (... and, no, I tried 'Google AND Contacts', still more than 1 >>> results). >>> >>> pypi.org is a wonderful resource but its size now demands a better >>> search engine. >>> >> >> As this is an open source project I'm looking forward to the huge amount >> of work that you personally will be putting in to remedy this situation. >> In summary put up or shut up :) > > I'm quite happy to help, however I was just asking (maybe rather more > agressively than I should have done) if I was missing something > obvious. E.g. is there some syntax that I don't know about that I can > use in the search box, or maybe I should use an external search engine? > > ... and Open Source doesn't mean one can't criticise surely, rather > the opposite! :-) (I have, by the way, contributed in a minor way to > quite a few open source projects over the years, and that's a lot of > years! I even have a small credit in the 'bible' for the Kermit file > transfer protocol, remember that?) PyPI used to have a search API. The XML-RPC endpoints were disabled last year due to flooding. Our infrastructure could not cope with abusive queries. You can read the log of events at https://status.python.org/ Christian -- https://mail.python.org/mailman/listinfo/python-list
Re: zoneinfo not working properly
On 7/18/2021 1:44 AM, Shashank Jain wrote: I was using python 3.9.3 then zoneinfo library was working fine without any issues. but now after installing 3.9.6 there are problems. Ex. Using below code there no outputs. and further there are issues while working with timezones with zoninfo where I tried same things with pytz that was giving correct output. for i in zoneinfo.available_timezones(): print(i) https://docs.python.org/3/library/zoneinfo.html#data-sources starts with "The zoneinfo module does not directly provide time zone data, and instead pulls time zone information from the system time zone database or the first-party PyPI package tzdata, if available." Somehow and for some reason, it is no longer getting the data. So I suggest reading the section to see if you can determine why. If 3.9.6 is a separate installation from the 3.9.3, rather than an upgrade thereof, then maybe you need to install tzdata for the new installation. Being on Windows, where this is not available, I cannot help further. -- Terry Jan Reedy -- https://mail.python.org/mailman/listinfo/python-list
