Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Glyph Lefkowitz: Post-PyCon-US 2023 Notes

Link: https://blog.glyph.im/2023/04/post-pycon-us-2023-notes.html

PyCon 2023 was last week, and I wanted to write some notes on it while the
memory is fresh. Much of this was jotted down on the plane ride home and
edited a few days later.
Health & Safety
Even given
ListenData: 13 Open Source ChatGPT Models: Complete Guide

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 Models work and how you can run them. We will cover thirteen different open source models, namely LLaMA, Alpaca, GPT4All, GPT4All-J, Dolly 2, Ce
Mike Driscoll: PyDev of the Week: Steven Diamond

Link: https://www.blog.pythonlibrary.org/2023/05/01/pydev-of-the-week-steven-diamond/

This week we welcome Steven Diamond as our PyDev of the Week! Steven is a core developer of CVXPY, a convex optimization package for Python. Steven has also been an instructor at Stanford. You can see
Real Python: SOLID Principles: Improve Object-Oriented Design in Python

Link: https://realpython.com/solid-principles-python/

When you build a Python project using object-oriented programming (OOP), planning how the different classes and objects will interact to solve your specific problems is an important part of the job. T
Python Morsels: How to assign a variable in Python

Link: https://www.pythonmorsels.com/assign-a-variable/

You can set the value of a variable in Python by using the equals sign (=) to make an assignment statement.



Table of contents

An equals sign assigns in Python
We don't have declarations or initial
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