Planet Python RSS
212 subscribers
17K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Daniel Roy Greenfeld: Sendowl Consolidation Script

Link: https://daniel.feldroy.com/posts/2022-02-sendowl-consolidation-script

As self-published authors, Audrey and I use the awesome sendowl service to distribute our digital files. We had multiple storefronts accounts for different countries but now we only need one. This is
Python for Beginners: Number of Lines in a File in Python

Link: https://www.pythonforbeginners.com/basics/number-of-lines-in-a-file-in-python

File handling is one of the most critical operations in programming. Sometimes, we may need to count the number of lines in a file to perform any operation on it. In this article, we will see how we c
Real Python: Python's assert: Debug and Test Your Code Like a Pro

Link: https://realpython.com/python-assert-statement/

Python’s assert statement allows you to write sanity checks in your code. These checks are known as assertions, and you can use them to test if certain assumptions remain true while you’re developing
Python for Beginners: Select Random Element from A List in Python

Link: https://www.pythonforbeginners.com/basics/select-random-element-from-a-list-in-python

While programming in python, we may need to select a random element from a list in several situations. In this article, we will discuss different ways to select an element from a list in python.
Selec
Python Bytes: #272 The tools episode

Link: https://pythonbytes.fm/episodes/show/272/the-tools-episode

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

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

<p><strong>About the show</strong></p>
Talk Python to Me: #354: Sphinx, MyST, and Python Docs in 2022

Link: https://talkpython.fm/episodes/show/354/sphinx-myst-and-python-docs-in-2022

When you think about the power of Python, the clean language or powerful standard library may come to mind. You might certainly point to the external packages too. But what about the relative ease of
John Cook: Find log normal parameters for given mean and variance

Link: https://www.johndcook.com/blog/2022/02/24/find-log-normal-parameters/

Earlier today I needed to solve for log normal parameters that yield a given mean and variance. I’m going to save the calculation here in case I needed in the future or in case a reader needs it. The
Glyph Lefkowitz: A Better Pygame Mainloop

Link: https://glyph.twistedmatrix.com/2022/02/a-better-pygame-mainloop.html

This post recommends calling pygame.display.flip from a thread, which I
tested extensively on mac, windows, and linux before posting, but after some
feedback from readers, I realize that this strategy
Glyph Lefkowitz: Legitimizing Blockchain

Link: https://glyph.twistedmatrix.com/2022/02/legitimizing-blockchain.html

Yesterday, 1Password made the following announcement:
Cryptocurrency? We got you. 💸We’ve partnered with @phantom to create a simpler, more secure way to manage cryptocurrencies, tokens and NFTs on the
Daniel Roy Greenfeld: Blogger to Markdown Script

Link: https://daniel.feldroy.com/posts/2022-02-blogger-to-markdown-script

I started writing blog posts on Blogger in 2007. I did so on multiple accounts. On one blog I wrote about software programming, on another I wrote about fiction, and on yet another I wrote about perso
Real Python: The Real Python Podcast – Episode #99: OAuth 2 and Authentication Choices for Your Python Project

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

Have you thought about what authentication system you want to use for your Python project? Should you use an existing Python library or a third-party service? This week on the show, Dan Moore is here
TestDriven.io: Django vs. Flask in 2022: Which Framework to Choose

Link: https://testdriven.io/blog/django-vs-flask/

In this article, we'll look at the best use cases for Django and Flask along with what makes them unique, from an educational and development standpoint.
Thomas Guest: Priority queues in Python

Link: https://wordaligned.org/articles/priority-queues-in-python

In the previous article I noted that Python’s
heapq module is the
only part of standard Python I could think of which deals with sorting,
but which doesn’t give you full control over the sort order.
T
PyCon: PyCon US 2022 Schedule Launch

Link: https://pycon.blogspot.com/2022/02/pycon-us-2022-schedule-launch.html

We are thrilled to announce that the schedule for PyCon US 2022 has been published! Here you will find Tutorials, Talk Tracks, Charlas Track, and Sponsor Workshops. This year, posters will be displaye
Podcast.__init__: See The Structure Of Your Software At A Glance With Call Graphs From Code2Flow

Link: https://www.pythonpodcast.com/code2flow-call-graph-episode-354/

As software projects grow and change it can become difficult to keep track of all of the logical flows. By visualizing the interconnections of function definitions, classes, and their invocations you
Mike Driscoll: PyDev of the Week: Henry Schreiner III

Link: https://www.blog.pythonlibrary.org/2022/02/28/pydev-of-the-week-henry-schreiner-iii/

This week we welcome Henry Schreiner (@HenrySchreiner3) as our PyDev of the Week! Henry is an open-source maintainer/core contributor to multiple projects related to scikit, PyPA, and more. You can ge
Malthe Borch: Container Registry on a Budget using AWS S3

Link: https://maltheborch.com/2022/02/container-registry-on-a-budget-using-aws-s3.html


Inspired by Mike Cartmell's
Budget Kubernetes Hosting for Personal Use blog series, I wanted to set up my own Kubernetes cluster on DigitalOcean on a budget, mostl
Python⇒Speed: Docker builds in CircleCI: go faster, and support newer Linux versions

Link: https://pythonspeed.com/articles/circleci-docker/

If you’re using CircleCI to build your Docker images, you might find yourself using an old version of Docker without realizing it.
That means:

Slower builds.
Lack of support for newer Linux distribut