Planet Python RSS
214 subscribers
17K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Matt Layman: Most Abstract Function First Is Better

Link: https://www.mattlayman.com/blog/2022/most-abstract-function-first-better/

Python is one of many languages that will let you define your module’s functions in whatever order you want. If your language of choice allows functions to be order independent, what order should you
Python for Beginners: Check For Prime Number in Python

Link: https://www.pythonforbeginners.com/basics/check-for-prime-number-in-python

Prime numbers are those numbers that have only two factors i.e. 1 and the number itself. In this article, we will discuss two ways to check for a prime number in python.
What is a prime number?
Prime
PyCoder’s Weekly: Issue #507 (Jan. 11, 2022)

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

#507 – JANUARY 11, 2022 View in Browser » Hey there, Quick announcement: I’m looking to hire a talented PyCoder’s Weekly Curator and Podcast Co-Host to join the PyCoder’s team in a part-time, free
Test and Code: 175: Who Should Do QA?

Link: https://testandcode.com/175


Who should do QA?
How does that change with different projects and teams?
What does "doing QA" mean, anyway?

Answering these questions are the goals of this episode.Sponsored By:Rollbar: Rollbar ena
Python Circle: Django vs Node.js: Which One Is Better for Web Development?

Link: https://pythoncircle.com/post/757/django-vs-nodejs-which-one-is-better-for-web-development/

Benefits of using Django and Node.js, Django vs Node.js: Which One Is Better for Web Development?, Basic features of Django and Node.js, Drawbacks of using Django and Node.js
Python GUIs: Using Layouts to Position Widgets in PySide6 — Use layouts to effortlessly position widgets within the window (updated for PySide6)

Link: https://www.pythonguis.com/tutorials/pyside6-layouts/

So far we've successfully created a window, and we've added a widget to it. However we normally want to add more than one widget to a window, and have some control over where it ends up. To do this in
Kay Hayen: Nuitka Release 0.6.19

Link: https://nuitka.net/posts/nuitka-release-0619.html

This is to inform you about the new stable release of Nuitka. It is the extremely compatible Python compiler,
“download now”.
This release adds support for 3.10 while also adding very many new
optimiz
Quansight Labs Blog: IPython 8.0, Lessons learned maintaining software

Link: https://labs.quansight.org/blog/2022/01/ipython-8.0-lessons-learned-maintaining-software/

This is a companion post from the Official release of IPython
8.0, that describe
what we learned with this large new major IPython release. We hope it will help
you apply best practices, and have an e
Read the Docs: Read the Docs newsletter - January 2022

Link: https://blog.readthedocs.com/newsletter-january-2022/


Welcome to the latest edition of our monthly newsletter, where we
share the most relevant updates around Read the Docs,
offer a summary of new features we shipped
during the previous month,
and share
Python for Beginners: Create Decorators Using Classes in Python

Link: https://www.pythonforbeginners.com/basics/create-decorators-using-classes-in-python

You might be knowing how to create decorators in python using functions. In this article, we will discuss ways to create decorators using classes in Python. First we will discuss what are callable obj
Real Python: Build and Submit HTML Forms With Django – Part 4

Link: https://realpython.com/django-social-forms-4/

In this four-part tutorial series, you’re building a social network with Django that you can showcase in your portfolio. This project is strengthening your understanding of relationships between Djang
Jaime Buelta: “Python Architecture Patterns” now available!

Link: https://wrongsideofmemphis.com/2022/01/13/python-architecture-patterns-now-available/

My new book is available! Current software systems can be extremely big and complex, and Software Architecture deals with the design and tweaking of fundamental structures that shape the big picture o
Python⇒Speed: Memory location matters for performance

Link: https://pythonspeed.com/articles/performance-memory-locality/

If you’re writing high-performance code, what matters is how many CPU instructions you run.
Right?
That’s what I learned long ago in school, anyway, when I took algorithms and data structures classes.
Python for Beginners: Detect Cycle in an Undirected Graph

Link: https://www.pythonforbeginners.com/basics/detect-cycle-in-an-undirected-graph

Graph traversal algorithms are used to perform various operations on a graph data structure. In this article, we will use the breadth-first graph traversal algorithm to detect cycle in an undirected g
Will Kahn-Greene: Everett v3.0.0 released!

Link: https://bluesock.org/~willkg/blog/dev/everett_3_0_0.html


What is it?
Everett is a configuration library for Python
apps.
Goals of Everett:

flexible configuration from multiple configured environments
easy testing with configuration
easy automated document
Python Bytes: #266 Python has a glossary?

Link: https://pythonbytes.fm/episodes/show/266/python-has-a-glossary

<p><strong>Watch the live stream:</strong></p>

<a href='https://www.youtube.com/watch?v=tS8ZsH2WOnk' style='font-weight: bold;'>Watch on YouTube</a><br>
<br>

<p><strong>About the show</strong></p>
Podcast.__init__: Generate Your Text Files With Python Using Cog

Link: https://www.pythonpodcast.com/cog-python-text-generation-episode-347/

Developers hate wasting effort on manual processes when we can write code to do it instead. Cog is a tool to manage the work of automating the creation of text inside another file by executing arbitra
ItsMyCode: [Solved] Pandas TypeError: no numeric data to plot

Link: https://itsmycode.com/solved-pandas-typeerror-no-numeric-data-to-plot/

ItsMyCode |
In Pandas, we can only plot values with the numeric data type. If you try to plot with any other Data Type other than numeric data, Python will raise TypeError: no numeric data to plot.
In
Will McGugan: Weeknotes

Link: https://www.willmcgugan.com/blog/tech/post/weeknotes/

I'm trialing the idea of Weeknotes, a weekly summary of what I've done / learned in the prior week. Inspired by Simon Willison who has an uncanny ability to respond to a tweet with a link to a weeknot