Planet Python RSS
217 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Python⇒Speed: Goodbye to Flake8 and PyLint: faster linting with Ruff

Link: https://pythonspeed.com/articles/pylint-flake8-ruff/

Flake8 and PyLint are commonly used, and very useful, linting tools: they can help you find potential bugs and other problems with your code, aka “lints”.
But they can also be slow.
And even if they’r
Real Python: Publishing Python Packages to PyPI

Link: https://realpython.com/courses/pypi-publish-python-package/

PyPI is the public hosting service where open-source Python packages live.
When you pip install a package, that’s where it fetches it from. In this course,
you’ll learn all about the structures of a p
Python for Beginners: Python Finally Keyword and Uses

Link: https://www.pythonforbeginners.com/basics/python-finally-keyword-and-uses

We use try-except blocks to perform exception handling in Python. This article discusses how you can use the Python finally block along with try-except statements for resource handling and better exec
PyCoder’s Weekly: Issue #575 (May 2, 2023)

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

#575 – MAY 2, 2023 View in Browser » Python Classes: The Power of Object-Oriented Programming In this tutorial, you’ll learn how to create and use full-featured classes in your Python code. Clas
Django Weblog: Django security releases issued: 4.2.1, 4.1.9, and 3.2.19

Link: https://www.djangoproject.com/weblog/2023/may/03/security-releases/

In accordance with our security release policy, the Django team
is issuing
Django 4.2.1,
Django 4.1.9, and
Django 3.2.19.
These releases addresses the security issue detailed below. We encourage all
u
Real Python: Efficient String Concatenation in Python

Link: https://realpython.com/python-string-concatenation/

String concatenation is a common operation in programming. It involves joining two or more strings to create a single new string. You’ll find several tools and techniques for concatenating strings in
Ned Batchelder: PyCon 2023 keynote

Link: https://nedbatchelder.com/blog/202305/pycon_2023_keynote.html

A few weeks ago, I had the pleasure of delivering the opening keynote at
PyCon 2023. I’ve put up a text-and-slides version of the presentation:
People: The API User’s Guide. The video is not yet ava
Python GUIs: PyQt6 Book: 파이썬과 Qt6로 GUI 애플리케이션 만들기

Link: https://www.pythonguis.com/blog/pyqt6-book-translated-korean/

I am very happy to announce that my Python GUI programming book
Create GUI Applications with Python & Qt6 / PyQt6 Edition is now available
in Korean from Acorn Publishing
It's more than a little mind-
CodersLegacy: TQDM: Tracking the Progress of your Python Program

Link: https://coderslegacy.com/tqdm-tracking-the-progress-of-your-python-program/

TQDM is a Python library that stands for “progress” in Arabic. As the name implies, it is an excellent tool for tracking the progress of long-running loops and code execution, giving you insights into
Python Engineering at Microsoft: Python in Visual Studio Code – May 2023 Release

Link: https://devblogs.microsoft.com/python/python-in-visual-studio-code-may-2023-release/

We’re excited to announce that the May 2023 release of the Python and Jupyter extensions for Visual Studio Code are now available!
This release includes the following announcements:

Jupyter extension
Test and Code: 199: Is Azure Right for a Side Project?

Link: https://testandcode.com/199

For a web side project to go from "working on desktop" to "live in the cloud", one decision that needs to be made is where to host everything. One option is Microsoft Azure. Lots of corporate sites us
John Ludhi/nbshare.io: How to Generate Embeddings from a Server and Index Them Using FAISS with API

Link: https://www.nbshare.io/notebook/384206537/How-to-Generate-Embeddings-from-a-Server-and-Index-Them-Using-FAISS-with-API/







How to Generate Embeddings from a Server and Index Them Using FAISS, with API










IntroductionIn this blog post, we will demonstrate how to set up a simple server for generating embeddings
Mike Driscoll: Two New Courses Available on Teach Me Python

Link: https://www.blog.pythonlibrary.org/2023/05/04/two-new-courses-available-on-teach-me-python/

Teach Me Python has multiple text-based courses that you can use to learn the Python programming language or level up your Python knowledge.
Today, I am happy to announce some new content on the site!
Python for Beginners: Working With TOML Files in Python

Link: https://www.pythonforbeginners.com/basics/working-with-toml-files-in-python

We use different configuration file formats to store configuration data for our software systems. In this article, we will discuss how to work with TOML configuration files in Python.
Table of Content
Andrea Grandi: Use OpenAI API to make two GPT bots talk to each other

Link: https://www.andreagrandi.it/2023/05/05/use-openai-api-to-make-two-gpt-bots-talk/

Use OpenAI API to make two GPT bots talk to each other
Real Python: The Real Python Podcast – Episode #155: Checking Project Dependencies & Python Dev Resource Collections

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

How can you ensure that you've appropriately declared your project's required dependencies? How do you determine what dependencies are missing from a third-party project that you can't run? This week
Stack Abuse: Introduction to Django

Link: https://stackabuse.com/introduction-to-django/

Introduction
Django is one of today's most widely-used Python web frameworks. For now, we will not focus on the technical definition of a web framework - the guide includes a section dedicated to expl
Python⇒Speed: "Externally managed environments": when PEP 668 breaks pip

Link: https://pythonspeed.com/articles/externally-managed-environment-pep-668/

You’re on a new version of Linux, you try a pip install, and it errors out, talking about “externally managed environments” and “PEP 668”.
What’s going on?
How do you solve this?
Let’s see:

What the