Join Python team
Hello. I'd like to join Python team, mostly to help maintaining psycopg2 (PostgreSQL connection library) and psycopg3 (new version, supporting Python 3 features like asyncio). I used to be member of Python team, but during my DD journey and Salsa migration my membersip got lost - that's why this email. My current Salsa login is serpent. I have read team policy ([1]) and accept it. [1]: https://salsa.debian.org/python-team/tools/python-modules/-/blob/master/policy.rst -- Tomasz Rybak, Debian Developer GPG: A565 CE64 F866 A258 4DDC F9C7 ECB7 3E37 E887 AA8C signature.asc Description: This is a digitally signed message part
Bug#993386: ITP: sqlite-fts4 -- Document scoring Python library for SQLite FTS4
Package: wnpp Severity: wishlist Owner: Edward Betts X-Debbugs-Cc: debian-de...@lists.debian.org, debian-python@lists.debian.org * Package name: sqlite-fts4 Version : 1.0.1 Upstream Author : Simon Willison * URL : https://github.com/simonw/sqlite-fts4 * License : Apache 2.0 Programming Lang: Python Description : Document scoring Python library for SQLite FTS4 Custom SQLite functions written in Python for ranking documents indexed using the FTS4 extension. ## rank_score() This is an extremely simple ranking function, based on an example in the SQLite documentation. It generates a score for each document using the sum of the score for each column. The score for each column is calculated as the number of search matches in that column divided by the number of search matches for every column in the index - a classic TF-IDF calculation. ## rank_bm25() An implementation of the Okapi BM25 scoring algorithm. ## decode_matchinfo() SQLite's built-in matchinfo() function returns results as a binary string. This binary represents a list of 32 bit unsigned integers, but reading the binary results is not particularly human-friendly. ## annotate_matchinfo() This function decodes the matchinfo document into a verbose JSON structure that describes exactly what each of the returned integers actually means. Blog post about the creation of this library: https://simonwillison.net/2019/Jan/7/exploring-search-relevance-algorithms-sqlite/ This is a dependency of the sqlite-utils tool by the same author. I plan to maintain this package as part of the python modules team.
lexicon new version and backport
Hi, thanks for packaging lexicon, it's the only multi-provider dns tool available in Debian. I ended up making a local backport of v3.3.28 since the version in unstable doesn't support Hetzner. Apparently v3.4 and later require poetry, so I can see why it might be best to just wait for that (since poetry-core is now in testing). However, would it be possible to update to v3.3.28 in the meantime and if so, provide a backport too? signature.asc Description: PGP signature
Re: books for learning python (was: Re: How should learning to program in Python be approached [...])
On 8/31/21, Joost van Baal-Ilić wrote: > Hi, > > Op Fri, Aug 27, 2021 at 09:29:51AM +0100 schreef {Pokoradi, Balazs}: >> >> I’d recommend “Python crash course” by Eric Mathes, if you like learning >> using books. Gives good explanation of the basics, lists a few sample >> projects, all code is available on GitHub. >> I find the best beginner friendly tutorials on particular tasks/packages >> are the ones by Corey Schafer on YouTube. >> > > > FWIW, I like the way "Learn Python the Hard Way" ( > https://learnpythonthehardway.org/ ) by Zed A. Shaw treats the subject. > > HTH (for someone), Bye, My copy of Learn Python the Hard Way is sitting no more than 12 inches from my mouse right now. I have PTSD-induced cognitive issues, and I have no problem following along with it. I took a chance on it after reading some reviews that proved to be fair judges. There's a CD that goes with, but I never even opened it and am still able to follow along. In the end, the book's method seemed to work fine with a totally not fancy, onboard "IDE" (Integrated Development Environment) via xfce4-terminal. There are a couple different installable IDEs in the main repository if one wants to play around to see if any further inspire one's own creativity. As a quick example, I can remember installing both "eric" and "idle". Geany and Bluefish both also mention Python support. I have them installed, but they're kind of "too busy" (overwhelming) for my brain. I do like how Geany highlights the contents of lilo(dot)conf so there's always that perk with that one. :D Hope this helps somehow, too. Cindy :) -- * runs with birdseed *
books for learning python (was: Re: How should learning to program in Python be approached [...])
Hi, Op Fri, Aug 27, 2021 at 09:29:51AM +0100 schreef {Pokoradi, Balazs}: > > I’d recommend “Python crash course” by Eric Mathes, if you like learning > using books. Gives good explanation of the basics, lists a few sample > projects, all code is available on GitHub. > I find the best beginner friendly tutorials on particular tasks/packages are > the ones by Corey Schafer on YouTube. > FWIW, I like the way "Learn Python the Hard Way" ( https://learnpythonthehardway.org/ ) by Zed A. Shaw treats the subject. HTH (for someone), Bye, Joost -- Joost van Baal-Ilić Tilburg, Netherlands http://mdcc.cx/ http://ad1810.com/