Planet Python RSS
215 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Test and Code: 132: mocking in Python - Anna-Lena Popkes

Link: https://testandcode.com/132

Using mock objects during testing in Python.
Anna-Lena joins the podcast to teach us about mocks and using unittest.mock objects during testing.
We discuss:

the different styles of using mocks
pros
Real Python: The Python return Statement: Usage and Best Practices

Link: https://realpython.com/python-return-statement/

The Python return statement is a key component of functions and methods. You can use the return statement to make your functions send Python objects back to the caller code. These objects are known as
Made With Mu: Resources: Python for Kids

Link: https://madewith.mu/mu/users/2020/09/28/python-for-kids.html

Friend of Mu, Kevin Thomas has
been hard at work creating free-to-use resources for kids (and older kids) who
want to learn Python, with the BBC micro:bit and Mu.

Each of the ten resources tackles a
Andrew Dalke: Simple FPS fingerprint similarity search: variations on a theme

Link: http://www.dalkescientific.com/writings/diary/archive/2020/09/28/simple_fps_fingerprint_search.html



It's easy to write a fingerprint search tool. Peter Willett tells a
story about how very soon after he, Winterman, and Bawden published
Implementation
of nearest-neighbor searching in an online chem
Montreal Python User Group: Montréal-Python 80 – Pedal Kayak

Link: https://montrealpython.org/en/2020/09/mp-80/

Greetings Python community, October is fast approaching with vibrant fall colour and our favourite apples. This is the occasion to set the table for our 80th event – Pedal Kayak – which will take pla
Podcast.__init__: Solving Python Package Creation For End User Applications With PyOxidizer - Episode 282

Link: https://www.pythonpodcast.com/pyoxidizer-python-package-creation-episode-282/

Python is a powerful and expressive programming language with a vast ecosystem of incredible applications. Unfortunately, it has always been challenging to share those applications with non-technical
Codementor: Why use Python Programming for building a Healthcare Application

Link: https://www.codementor.io/parthbarot/why-use-python-programming-for-building-a-healthcare-application-1arpv6m4wn

Python programming in healthcare is changing how doctors and clinicians approach patient care delivery. Here’s why Python for healthcare is the right choice for better health outcomes.
Real Python: Using Google Login With Flask

Link: https://realpython.com/courses/using-google-login-flask/

In this course, you’ll work through the creation of a Flask web application. Your application will allow a user to log in using their Google identity instead of creating a new account. There are tons
Python Morsels: Writing a for loop

Link: https://www.pythonmorsels.com/topics/writing-a-for-loop/



Related Article:

Loop Better: a deeper look at iteration in Python

Transcript
You can use a for loop to loop over any iterable (iter-able). Anything you're able to iterate over can be looped over
Quansight Labs Blog: Design of the Versioned HDF5 Library

Link: https://labs.quansight.org/blog/2020/09/design-of-the-versioned-hdf5-library/

In a previous
post, we
introduced the Versioned HDF5 library and described some of its features. In
this post, we'll go into detail on how the underlying design of the library
works on a technical lev
PyCoder’s Weekly: Issue #440 (Sept. 29, 2020)

Link: https://pycoders.com/issues/440

#440 – SEPTEMBER 29, 2020 View in Browser » Python for Kids In this ten part series, senior software engineer Kevin Thomas presents a kid-friendly comprehensive Python development tutorial utili
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.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
Catalin George Festila: Python Qt5 - Use QStandardItem with Images.

Link: http://python-catalin.blogspot.com/2020/09/python-qt5-use-qstandarditem-with-images.html

This tutorial show you how to use QStandardItem with Images.
The source code is simple to understand.
import sys
from PyQt5.QtWidgets import QApplication, QMainWindow, QTreeView
from PyQt5.QtCore impo
eGenix.com: Python Meeting Düsseldorf - 2020-09-30

Link: https://www.egenix.com/company/news/Python-Meeting-Duesseldorf-2020-09-30

The following text is in German, since we're announcing a regional user group meeting in Düsseldorf, Germany.

Ankündigung
Das nächste Python Meeting Düsseldorf findet an folgendem Termin statt:

30.0
LAAC Technology: Making Concurrent HTTP requests with Python AsyncIO

Link: https://www.laac.dev/blog/concurrent-http-requests-python-asyncio/

Table of Contents

Introduction
Project Set Up
Example Code

Test the Example Code


Walk Through
Final Thoughts

Introduction
Python 3.4 added the asyncio module to the standard library. Asyncio allo
Real Python: Python's map(): Processing Iterables Without a Loop

Link: https://realpython.com/python-map-function/

Python’s map() is a built-in function that allows you to process and transform all the items in an iterable without using an explicit for loop, a technique commonly known as mapping. map() is useful w