Planet Python RSS
215 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Sebastian Witowski: Checking for True or False

Link: https://switowski.com/blog/checking-for-true-or-false


How do you check if something is True in Python? There are three ways:

One “bad” way: if variable == True:
Another “bad” way: if variable is True:
And the good way, recommended even in the Programmi
Django Weblog: Django bugfix release: 3.1.2

Link: https://www.djangoproject.com/weblog/2020/oct/01/django-bugfix-release-312/

Today we've issued the 3.1.2 bugfix release.
The release package and checksums are available from our downloads page, as well as from the Python Package Index. The PGP key ID used for this release is
Andrew Dalke: Simple k-NN FPS Tanimoto and cosine similarity search

Link: http://www.dalkescientific.com/writings/diary/archive/2020/09/29/simple_knn_search.html


Yesterday
I developed an simple program to search chembl_27.fps.gz
for records with a Tanimoto similarity of at least 0.7 to caffeine. I
started by mentioning the 1986 paper by Willet, Winterman, and
Andrew Dalke: Simple in-memory ChEMBL similarity search

Link: http://www.dalkescientific.com/writings/diary/archive/2020/09/30/simple_in_memory_search.html



In the previous two essays I showed how to search
chembl_27.fps to find records with similar fingerprints to a query
fingerprint, then how
to implement a nearest-neighbor search and replace Tanimoto
Python Engineering at Microsoft: Announcing Playwright for Python: Reliable end-to-end testing for the web

Link: https://devblogs.microsoft.com/python/announcing-playwright-for-python-reliable-end-to-end-testing-for-the-web/

Automated end-to-end tests are a powerful tool for your team to ship faster and with more confidence. End-to-end tests automate UI interactions and can validate the functionality of your applications.
Wing Tips: Multiple Selections in Wing Python IDE

Link: https://wingware.com/blog/multiselection

In this issue of Wing Tips we revisit how to use multiple concurrent
selections in Wing's editor. These can be used to replace all occurrences of some text or
to apply the same edits to any number of
Andrew Dalke: Simple BitBound ChEMBL similarity search

Link: http://www.dalkescientific.com/writings/diary/archive/2020/10/01/simple_bitbound_search.html



In yesterday's
essay I changed the scan-based
Tanimoto search to an in-memory search and showed that after a
start-up cost of about 5 seconds I was able to do about 2 searches per
second of the 1.9
Dan Stromberg: Fast-paced, seven part intro to python for developers on youtube

Link: http://strombrg.blogspot.com/2020/10/fast-paced-seven-part-intro-to-python.html

Hi folks. I've uploaded a fast-paced, seven part intro to python for developers who already know at least one other turing complete, imperative programming language, to youtube. I hope people find i
Real Python: The Real Python Podcast – Episode #29: Resolving Package Dependencies With the New Version of Pip

Link: https://realpython.com/podcasts/rpp/29/

If you use Python, then you probably have used pip to install additional packages from the Python package index. Part of the magic behind pip is the dependency resolver, and there is a new version of
Python Software Foundation: Join the Python Developers Survey 2020: Share and learn about the community

Link: http://feedproxy.google.com/~r/PythonSoftwareFoundationNews/~3/4l7Ayj1RE2Q/join-python-developers-survey-2020.html

 This year we are conducting the fourth iteration of the official Python Developers Survey. The goal is to capture the current state of the language and the ecosystem around it. By comparing the resul
Andrew Dalke: Using RDKit BulkTanimotoSimilarity

Link: http://www.dalkescientific.com/writings/diary/archive/2020/10/02/using_rdkit_bulktanimotosimilarity.html



In the first
essay of this series I developed a program to do a Tanimoto
similarity search of chembl_27.fps. I evaluated three different data
types: an RDKit ExplicitBitVect, a GMP mpz integer, and
Python Insider: Python 3.5 is no longer supported

Link: http://feedproxy.google.com/~r/PythonInsider/~3/9YDLIBncL3E/python-35-is-no-longer-supported.html

Python 3.5 is no longer supported.  There will be no more bug fixes or security patches for the 3.5 series, and Python 3.5.10 is the last release.  The Python core development community recommends tha
Django Weblog: Django Technical Board Election Results 2020

Link: https://www.djangoproject.com/weblog/2020/oct/01/django-technical-board-election-results-2020/

Greetings!
The winners of the first Django Technical Board Election after the adoption of DEP-10 are:

Andrew Godwin
Adam Johnson
Markus Holtermann
Tom Forbes
James Bennett

The break down of voting w
Python Bytes: #201 Understand git by rebuilding it in Python

Link: https://pythonbytes.fm/episodes/show/201/understand-git-by-rebuilding-it-in-python

<p>Sponsored by us! Support our work through:</p>

<ul>
<li>Our <a href="https://training.talkpython.fm/"><strong>courses at Talk Python Training</strong></a></li>
<li><a href="https://pragprog.com/ti
Weekly Python StackOverflow Report: (ccxliv) stackoverflow python report

Link: http://python-weekly.blogspot.com/2020/10/ccxliv-stackoverflow-python-report.html

These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2020-10-03 15:40:56 GMTChecking dict keys to ensure a required key alwa
"Morphex's Blogologue": Adding some reporting functionality

Link: http://blogologue.com/blog_entry?id=1601753430X39

I just added some code to the surveil app, the beginnings of what will be a reporting feature.https://github.com/morphex/surveil(report.sh, report.py)I found that the surveil app uses quite a bit of b
Brett Cannon: Unravelling rich comparison operators

Link: https://snarky.ca/unravelling-rich-comparison-operators/

For the next part of my blog series on pulling apart Python's syntactic sugar, I'm going to be tackling rich comparison operators: ==, !=, >, <, >=, <=.For this post I am going to be picking apart the