Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Real Python: The Python Rich Package: Unleash the Power of Console Text

Link: https://realpython.com/python-rich-package/

Python’s Rich package is a tool kit that helps you generate beautifully formatted and highlighted text in the console.
More broadly, it allows you to build an attractive text-based user interface (TUI
Mike Driscoll: Episode 23 – The Ruff Formatter with Charlie Marsh

Link: https://www.blog.pythonlibrary.org/2023/11/27/episode-23-the-ruff-formatter-with-charlie-marsh/

The Ruff linter is a Python linter written in Rust that is super fast. The people behind Ruff recently released a new tool that is a part of Ruff that allows Ruff to format your Python code using the 
ListenData: How to Get Unique Values in a Column in Pandas DataFrame?

Link: https://www.listendata.com/2023/11/find-unique-values-in-column-pandas.html

This tutorial explains how to get unique values from a column in Pandas DataFrame, along with examples.
Find Unique Values in a Column
df['columnName'].unique()
To read this article in full, please cl
Real Python: Advent of Code: Solving Puzzles With Python

Link: https://realpython.com/courses/python-advent-of-code/

Advent of Code is an online Advent calendar where you’ll find new programming puzzles offered each day from December 1 to 25. While you can solve the puzzles at any time, the excitement when new puzzl
PyCoder’s Weekly: Issue #605 (Nov. 28, 2023)

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

#605 – NOVEMBER 28, 2023 View in Browser » Inline Dependencies for Small Python Scripts Sabs wanted the ability to specify dependencies inside a single Python script, and although there are PEPs
Zero to Mastery: Python Monthly Newsletter 💻🐍

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

48th issue of Andrei Neagoie's must-read monthly Python Newsletter: Python 3.12 is Out, CLI Tools With Python, Career Advice, and much more. Read the full newsletter to get up-to-date with everything
scikit-learn: My mentored internship at scikit-learn

Link: https://blog.scikit-learn.org/diversity/mentoring/

How it is to be an Intern at scikit-learn
My name is Stefanie Senger, and I recent
Python Bytes: #362 You can deprecate a global variable?

Link: https://pythonbytes.fm/episodes/show/362/you-can-deprecate-a-global-variable

<strong>Topics covered in this episode:</strong><br>

<ul>
<li><a href="https://vadimkravcenko.com/shorts/habits-of-great-software-engineers"><strong>Habits of great software engineers</strong></a></
Gocept Weblog: The final teardown

Link: https://blog.gocept.com/2023/11/29/the-final-teardown/

After writing so many teardowns in tests for software projects for customers, open source projects and in house software, it is now time for the gocept folks to finally work on a last teardown of the
Quansight Labs Blog: Improving the interpolation and signal processing capabilities of CuPy

Link: https://labs.quansight.org/blog/cupy-czi-grant-year1

We are excited to spread the news about the improvements that have been taking place in CuPy, where 18 interpolation and more than 100 signal processing parallel GPU APIs are now available as part of
Quansight Labs Blog: Unlocking C-level performance in pandas.DataFrame.apply with Numba

Link: https://labs.quansight.org/blog/unlocking-c-level-performance-in-df-apply

A quick overview of the new Numba engine in DataFrame.apply
Real Python: Single and Double Underscores in Python Names

Link: https://realpython.com/python-double-underscore/

Python has a few important naming conventions that are based on using either a single or double underscore character (_). These conventions allow you to differentiate between public and non-public nam
TypeThePipe: Boosting Python development speed with Ruff: An all-in-one lightning fast linter

Link: https://typethepipe.com/post/python-ruff-linter-code-formatter-rules/

pre > code.sourceCode { white-space: pre; position: relative; }
pre > code.sourceCode > span { display: inline-block; line-height: 1.25; }
pre > code.sourceCode > span:empty { height: 1.2em; }
.source
Django Weblog: 2024 DSF Board Election Results

Link: https://www.djangoproject.com/weblog/2023/nov/29/2024-dsf-board-election-results/


The 2024 DSF Board Election has closed, and the following candidates have been elected:


Jacob Kaplan-Moss

Sarah Abderemane

Thibaud Colas



They will all serve two years for their term.


From th
Test and Code: 208: Tests with no assert statements

Link: https://testandcode.com/episodes/208-tests-with-no-assert-statements

Why on earth would you want to write a test with no assert statements?After all, aren't assert statements how you decide wether a test passes or fails?In this episode, we walk through a handful of use
Test and Code: 210: TDD - Refactor while green

Link: https://testandcode.com/episodes/210-tdd-refactor-while-green

Test Driven Development. Red, Green, Refactor. 
Do we have to do the refactor part? 
Does the refactor at the end include tests? 
Or can I refactor the tests at any time?
Why is refactor at the end? 
Ned Batchelder: Say it again: values not expressions

Link: https://nedbatchelder.com/blog/202311/say_it_again_values_not_expressions.html

Sometimes you can explain a simple thing for the thousandth time,
and come away with a deeper understanding yourself. It happened to me the
other day with Python mutable argument default values.
This
Armin Ronacher: Bundleless: Not Doing Things Makes You Fast

Link: http://lucumr.pocoo.org/2023/11/30/not-doing-things-makes-you-fast

I recently came across a tweet and one
statement in it really triggered me: the claim that a bundleless dev
server does not work. The idea here being that you cannot avoid bundling
during development
Python⇒Speed: Using Polars in a Pandas world

Link: https://pythonspeed.com/articles/polars-pandas-interopability/

Polars is a dataframe-based library that can be faster, more memory efficient, and often simpler to use than Pandas.
It’s also much newer, and correspondingly less popular.
In November 2023:

Polars h
Talk Python to Me: #440: Talking to Notebooks with Jupyter AI

Link: https://talkpython.fm/episodes/show/440/talking-to-notebooks-with-jupyter-ai

We all know that LLMs and generative AI has been working its way into many products. It's Jupyter's turn to get a really awesome integration. We have David Qiu here to tell us about Jupyter AI. Jupyte