Planet Python RSS
215 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Python for Beginners: Set Difference in Python

Link: https://www.pythonforbeginners.com/basics/set-difference-in-python

Sets are used to store unique objects. Sometimes, we might need to find the elements in a set that are not present in another given set. For this, we use the set difference operation. In this article,
Real Python: Linear Regression in Python

Link: https://realpython.com/linear-regression-in-python/

You’re living in an era of large amounts of data, powerful computers, and artificial intelligence. This is just the beginning. Data science and machine learning are driving image recognition, developm
Python Morsels: Reading binary files in Python

Link: https://www.pythonmorsels.com/reading-binary-files-in-python/

How can you read binary files in Python? And how can you read very large binary files in small chunks?



Table of contents

How to read a binary file in Python
Use a library to read your binary file
Kushal Das: OAuth Security Workshop 2022

Link: https://kushaldas.in/posts/oauth-security-workshop-2022.html


Last week I attended OAuth Security
Workshop at Trondheim, Norway. It
was a 3-day single-track conference, where the first half of the days were
pre-selected talks, and the second parts were unconfer
PyCon: PyCon US 2022 Recordings Update

Link: https://pycon.blogspot.com/2022/05/pycon-us-2022-recordings-update.html

We understand that the PyCon US recordings are an incredibly important resource to the community. We were looking forward to providing the PyCon US 2022 recordings very soon after the event – especial
A. Jesse Jiryu Davis: Why Should Async Get All The Love?: Advanced Control Flow With Threads

Link: https://emptysqua.re/blog/why-should-async-get-all-the-love/

I spoke at PyCon 2022 about writing safe, elegant concurrent Python with threads. The video is coming soon; here’s a written version of the talk.
asyncio.
Asyncio is really hip. And not just asyncio
Hynek Schlawack: Better Python Object Serialization

Link: https://hynek.me/articles/serialization/

The Python standard library is full of underappreciated gems. One of them allows for simple and elegant function dispatching based on argument types. This makes it perfect for serialization of arbitra
Test and Code: 188: Python's Rich, Textual, and Textualize - Innovating the CLI

Link: https://testandcode.com/188

Will McGugan has brought a lot of color to CLIs within Python due to Rich.
Then Textual started rethinking full command line applications, including layout with CSS.
And now Textualize, a new startup
Nicola Iarocci: Eve-Swagger v0.2 released

Link: https://nicolaiarocci.com/eve-swagger-v0.2-released/

I just released Eve-Swagger v0.2 on PyPI. Eve-Swagger is a Swagger/OpenAPI extension for Eve powered RESTful APIs. This maintenance release addresses a few issues and adds support for eve-auth-jwt. Ma
Real Python: Using Python Class Constructors

Link: https://realpython.com/courses/using-python-class-constructors/

Class constructors are a fundamental part of object-oriented programming in Python. They allow you to create and properly initialize objects of a given class, making those objects ready to use. Class
Python Insider: Python 3.9.13 is now available

Link: https://pythoninsider.blogspot.com/2022/05/python-3913-is-now-available.html

 This is the thirteenth maintenance release of Python 3.9. Get it here:Python 3.9.13


According to the release calendar specified in PEP 596, Python 3.9.13 is the final
regular maintenance release.
PyCoder’s Weekly: Issue #525 (May 17, 2022)

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

#525 – MAY 17, 2022 View in Browser » Python’s min() and max(): Find Smallest and Largest Values In this tutorial, you’ll learn how to use Python’s built-in min() and max() functions to find the
Django Weblog: Django 4.1 alpha 1 released

Link: https://www.djangoproject.com/weblog/2022/may/18/django-41-alpha-1-released/

Django 4.1 alpha 1 is now available. It represents the first stage in the 4.1
release cycle and is an opportunity for you to try out the changes coming in
Django 4.1.
Django 4.1 has an profusion of ne
Zato Blog: Web scraping as an API service

Link: https://zato.io/blog/posts/web-scraping-api-integrations.html

Overview
In systems-to-systems integrations, there comes an inevitable time when we have to employ some kind of a web scraping tool
to integrate with a particular application. Despite its not being ou
Python for Beginners: Convert Tuple to String in Python

Link: https://www.pythonforbeginners.com/strings/convert-tuple-to-string-in-python

In python, a tuple can contain different elements. On the other hand, a string is just a sequence of characters. In this article, we will discuss how to convert a tuple to a string when we are given a
Python⇒Speed: CPUs, cloud VMs, and noisy neighbors: the limits of parallelism

Link: https://pythonspeed.com/articles/cpu-limits-to-speed/

Sometimes your program is slow not because of your code, but because of where it’s running.
If you have other processes competing for the same limited hardware resources, your code will run more slowl
Python Software Foundation: The 2022 Python Language Summit: Achieving immortality

Link: http://pyfound.blogspot.com/2022/05/the-2022-python-language-summit_11.html

What does it mean to achieve immortality? At the 2022 Python Language Summit, Eddie Elizondo, an engineer at Instagram, and Eric Snow, CPython core developer, set out to explain just that.Only for Pyt
death and gravity: The unreasonable effectiveness of f‍-‍strings and re.VERBOSE

Link: https://death.andgravity.com/f-re

... in which we look at one or two ways to make life easier
when working regular expressions in Python.
tl;dr: You can compose verbose regular expressions using f‍-‍strings.
Here's a real-world exampl
scikit-learn: The Value of Open Source Sprints, the scikit-learn Experience

Link: https://blog.scikit-learn.org/events/sprints-value/














Author:
Reshama Shaikh


With contributions from: Gaël Varoquaux, Andreas Mueller, Olivier Grisel, Julien Jerphanion, Guillaume Lemaitre
Top Line Summary
Sprints are