Planet Python RSS
213 subscribers
16.8K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Jonathan Hartley: Structured Pattern Matching in Python

Link: https://tartley.com/posts/structured-pattern-matching-in-python/

I read through descriptions of
structured pattern matching
when it was added in Python 3.10 a couple of years ago, and have studiously
avoided it ever since. It seemed like a language feature that's a
ListenData: 14 Free and Open Source Alternatives to ChatGPT

Link: https://www.listendata.com/2023/03/open-source-chatgpt-models-step-by-step.html

In this article we will explain how Open Source ChatGPT alternatives work and how you can use them to build your own ChatGPT clone for free. We will introduce you to 14 powerful open source alternativ
Python People: Brett Cannon - Public Speaking, Canada, Fountain Pens, Community

Link: https://pythonpeople.fm/episodes/brett-cannon

Topics:
“I don't know about the rest of you... I came for the language, but I stayed for the community." Brett Cannon, Python Core Dev, Pycon US 2014 Opening remarks
Public speaking
Being encouraging
"Mathspp Pydon'ts": Overloading arithmetic operators with dunder methods | Pydon't 🐍

Link: https://mathspp.com/blog/pydonts/overloading-arithmetic-operators-with-dunder-methods


This article shows you how to overload the arithmetic operators in Python with dunder methods.

Introduction
Python lets you override the arithmetic operators like + for addition or * for multiplicat
Nicola Iarocci: Events 0.5 released

Link: https://nicolaiarocci.com/events-0.5-released/

Today I released Events 0.5. Thanks to Cailean Parker’s contribution, we added support for the __getitem__ dunder (aka Python magic method.) This allows the calling of events from strings, thus enabli
Abhijeet Pal: How to Perform AND Queries in Django ORM

Link: http://djangocentral.com/how-to-perform-and-queries-in-django-orm/

Django, as a popular web framework, provides a powerful Object-Relational Mapping (ORM) system that allows developers to interact with the database using Python code, abstracting away raw SQL queries.
Mike Driscoll: PyDev of the Week: Dr Becky Smith

Link: https://www.blog.pythonlibrary.org/2023/07/31/pydev-of-the-week-dr-becky-smith/

This week we welcome Dr. Becky Smith (@rebkwok) as our PyDev of the Week! Becky is one of the organizers for DjangoCon Europe. If you’d like to see what Becky has been coding recently, you shold check
Abhijeet Pal: How to Perform OR Queries in Django ORM

Link: http://djangocentral.com/how-to-perform-or-queries-in-django-orm/

Django is a popular web framework for Python that provides an intuitive and powerful Object-Relational Mapping (ORM) system. The Django ORM allows developers to interact with databases using Python cl
Abhijeet Pal: How to Perform NOT Queries in Django ORM

Link: http://djangocentral.com/how-to-perform-not-queries-in-django-orm/

In Django, performing NOT queries allows you to exclude certain records from the query results based on specific conditions. The NOT operator, represented by the tilde (~) when used in conjunction wit
Real Python: How to Download Files From URLs With Python

Link: https://realpython.com/python-download-file-from-url/

When it comes to file retrieval, Python offers a robust set of tools and packages that are useful in a variety of applications, from web scraping to automating scripts and analyzing retrieved data. Do
TestDriven.io: Django Session-based Auth for Single Page Apps

Link: https://testdriven.io/blog/django-spa-auth/

This article looks at how to add session-based authentication to a Single-Page Application (SPA) powered by Django and React.
Test and Code: 205: pytest autouse fixtures

Link: https://testandcode.com/episodes/pytest-autouse-fixtures

On a recent episode of PythonBytes, I suggested it's hard to come up with good examples for pytest autouse fixtures, as there aren't very many good reasons to use them.  James Falcon was kind enough t
Kay Hayen: Python 3.11 and Nuitka full support

Link: https://nuitka.net/posts/python311-full-support.html

I kind of noticed, that I never really updated this post series to its
conclusion. Python 3.11 is now fully supported by Nuitka, that is the
TLDR. This has been the case since 1.6, and the 1.7 release
Real Python: Reversing Strings in Python

Link: https://realpython.com/courses/python-reverse-string/

When you’re using Python strings often in your code, you may face the need to work with them in reverse order. Python includes a few handy tools and techniques that can help you out in these situation
PyCoder’s Weekly: Issue #588 (Aug. 1, 2023)

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

#588 – AUGUST 1, 2023 View in Browser » Python 3.12 Preview: More Intuitive and Consistent F-Strings In this tutorial, you’ll preview one of the upcoming features of Python 3.12, which introduce
Django Weblog: Django bugfix release: 4.2.4

Link: https://www.djangoproject.com/weblog/2023/aug/01/bugfix-release/

Today we've issued the 4.2.4 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
Erik Marsja: Coefficient of Variation in Python with Pandas & NumPy

Link: https://www.marsja.se/coefficient-of-variation-in-python-with-pandas-numpy/

The post Coefficient of Variation in Python with Pandas & NumPy appeared first on Erik Marsja.
In this tutorial blog post, we will explore how to calculate the Coefficient of Variation in Python using