Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Python for Beginners: Pandas Insert Row into a DataFrame

Link: https://www.pythonforbeginners.com/basics/pandas-insert-row-into-a-dataframe

We use pandas dataframes to manipulate tabular data in Python. In this article, we will discuss different ways to insert a row into a pandas dataframe.
Table of ContentsInsert Row in A Pandas DataFram
Stack Abuse: How to Generate Random Strings in Python

Link: https://stackabuse.com/how-to-generate-random-strings-in-python/

Introduction
Random strings can be incredibly useful in various scenarios. You can use them to generate strong passwords, create unique identifiers, and even as valuable help in testing and validation
Michał Bultrowicz: Developer workflow with local tests using Docker Compose

Link: https://bultrowicz.com/dev_workflow_with_local_tests_using_docker_compose/


Recently, I did a presentation about my development workflow for back-end applications.
Python for Beginners: Convert XML to INI Format in Python

Link: https://www.pythonforbeginners.com/basics/convert-xml-to-ini-format-in-python

We use XML and INI file formats for storing configuration data for software systems. This article discusses how to convert an XML file or string to an INI file in Python.
Table of ContentsWhat is XML
ListenData: Open Source ChatGPT Models: A Step-by-Step 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 six different open source models, namely Alpaca, GPT4All, Cerebras-GPT, GPT-J 6B, Vicuna and
ListenData: Open Source GPT-4 Models Made Easy

Link: https://www.listendata.com/2023/04/open-source-gpt-4-models-made-easy.html

In this post we will explain how Open Source GPT-4 Models work and how you can use them as an alternative to a commercial OpenAI GPT-4 solution. Everyday new open source large language models (LLMs) a
Mike Driscoll: PyDev of the Week: Marius van Niekerk

Link: https://www.blog.pythonlibrary.org/2023/04/10/pydev-of-the-week-marius-van-niekerk/

This week we welcome Marius van Niekerk (@__mvn__) as our PyDev of the Week! Marius works on conda-forge, among other projects. You can see what else Marius is working on over on GitHub.
Let’s spend s
Python for Beginners: Convert INI Files to JSON Format in Python

Link: https://www.pythonforbeginners.com/basics/convert-ini-files-to-json-format-in-python

We use the INI file format to store configuration files. On the other hand, JSON files are normally used for data transfer between two software systems. This article discusses how to convert an INI fi
Real Python: Python News: What's New From March 2023

Link: https://realpython.com/python-news-march-2023/

In March 2023, Python 3.12.0 alpha 6 was released! With several exciting new features, improvements, and optimizations, this release is a must-try for all Python enthusiasts. If you want to stay on th
Stack Abuse: Python Regular Expressions - Validate Phone Numbers

Link: https://stackabuse.com/python-regular-expressions-validate-phone-numbers/

Introduction
Handling user-submitted phone numbers can be a challenging task for developers, especially considering the various formats and notations used around the world. Ensuring that these phone n
CodersLegacy: CustomTkinter Tutorial: Creating Modern GUI in Tkinter

Link: https://coderslegacy.com/customtkinter-tutorial/

Tkinter is one of the most popular libraries for GUI development in Python. However, many people find it’s GUI to be rather outdated and bland-looking. Luckily, many solutions to this problem exist, s
Python Software Foundation: The EU's Proposed CRA Law May Have Unintended Consequences for the Python Ecosystem

Link: https://pyfound.blogspot.com/2023/04/the-eus-proposed-cra-law-may-have.html

After reviewing the proposed Cyber Resilience Act and Product Liability Act, the PSF has found issues that put the mission of our organization and the health of the open-source software community at r
Real Python: Using OrderedDict in Python

Link: https://realpython.com/courses/ordereddict-python/

Sometimes you need a Python dictionary that remembers the order of its items. In the past, you had only one tool for solving this specific problem: Python’s OrderedDict. It’s a dictionary subclass spe
PyCoder’s Weekly: Issue #572 (April 11, 2023)

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

#572 – APRIL 11, 2023 View in Browser » Python 3.12 Preview: Ever Better Error Messages Python 3.12 will be released in October 2023. In this tutorial, you’ll preview one of its upcoming feature
Python GUIs: PyQt vs. Tkinter: Which Should You Choose for Your Next Python GUI?

Link: https://www.pythonguis.com/faq/pyqt-vs-tkinter/

Graphical User Interfaces (GUIs) allow users to interact with software through intuitive and user-friendly graphical elements such as buttons, icons, text boxes, and windows. GUIs provide a simple way
PyCharm: PyCon US will open its doors in a week!

Link: https://blog.jetbrains.com/pycharm/2023/04/pycon-us-2023/

We are thrilled to be a part of this major Python conference and have the chance to connect with Pythonistas from all over the world. Visit JetBrains at booth 324 in the Expo Hall or attend one of our
Anwesha Das: Keynote in PyCon Italia, 2023

Link: http://anweshadas.in/keynote-in-pycon-italia-2023/

My friend Dr. Brett Canon, CPython Core Dev, once said, "Came for the language and stayed for the community." It is a little different for me. I Came for the community and stayed for the love of it.
I
Data School: Building a dataset of Python versions with regular expressions

Link: https://www.dataschool.io/web-scraping-with-regex/

In this post, I’ll teach you how to use pandas, requests, and regular expressions to create a dataset of every Python version and its release date.
I’ll explain the code in detail so that you can foll
Hynek Schlawack: How to Ditch Codecov for Python Projects

Link: https://hynek.me/articles/ditch-codecov-python/

Codecov’s unreliability breaking CI on my open source projects has been a constant source of frustration for me for years. I have found a way to enforce coverage over a whole GitHub Actions build matr