Planet Python RSS
213 subscribers
16.8K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Abhijeet Pal: Django ORM Cheatsheet: Mastering Database Operations in Django

Link: http://djangocentral.com/django-orm-cheatsheet/

Django, as a powerful and popular web framework, comes equipped with an impressive Object-Relational Mapping (ORM) system that simplifies database interactions and abstracts away much of the complexit
PyBites: Building Confidence and Overcoming Challenges by Using Positive Self-Talk

Link: https://pybit.es/articles/building-confidence-and-overcoming-challenges-by-using-positive-self-talk/

In this episode we are joined by Alejandro Briceño, a chemical engineer turned HR professional and innovation consultant. 
Watch here:


Or listen here:

We delve into the power of positive self-talk
Zero to Mastery: Python Monthly Newsletter 💻🐍

Link: https://zerotomastery.io/blog/python-monthly-newsletter-july-2023/?utm_source=python-rss-feed

44th issue of the Python Monthly Newsletter! Read by 1,000s of Python developers every month. This monthly Python newsletter covers the latest Python news so that you stay up-to-date with the industry
Matt Layman: Sentry Setup - Building SaaS with Python and Django #166

Link: https://www.mattlayman.com/blog/2023/sentry-setup-building-saas-with-python-and-django-166/

In this episode, I finished the email sending job, then determined which issues will be needed before launching the product. Once we crafted the short list, I added an integration with Sentry.
death and gravity: Bridging the Python async gap from the other side

Link: https://death.andgravity.com/asyncio-bridge

So, you're doing some sync stuff.
But you also need to do some async stuff,
without making everything async.
Maybe the sync stuff is an existing application.
Maybe you still want to use your favorite
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