Planet Python RSS
213 subscribers
17K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Real Python: The Real Python Podcast – Episode #104: Building a Hash Table in Python and Thoughtful REST API Design

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

Do you understand how a hash table works? What if you could learn about building one while practicing test-driven development? What are best practices when designing a REST API? This week on the show,
Kushal Das: Securing verybad web application with only systemd

Link: https://kushaldas.in/posts/securing-verybad-web-application-with-only-systemd.html


In my last blog post I talked about
verybad web application. It has
multiple major security holes, which allows anyone to do remote code execution
or read/write files on a server. Look at the source
Quansight Labs Blog: Making GPUs accessible to the PyData Ecosystem via the Array API Standard.

Link: https://labs.quansight.org/blog/2022/03/making-gpus-accessible-to-pydata-ecosystem-via-array-api/

GPUs have become an essential part of the scientific computing stack and with
the advancement in the technology around GPUs and the ease of accessing a GPU
in the cloud or on-prem, it is in the best
Python for Beginners: List of Strings to List of Integers in Python

Link: https://www.pythonforbeginners.com/basics/list-of-strings-to-list-of-integers-in-python

Lists are one of the most used container objects in python programming. In this article, we will discuss various approaches to convert a list of strings to a list of integers in python. 
List of Strin
PyBites: Give It Just Five Minutes

Link: https://pybit.es/articles/give-it-just-five-minutes/

You know those nights when you want to work on writing or your coding project or side gig? You want to grow outside of the confines of a day-to-day job but you feel like the job has taken everything o
Python Bytes: #277 It's a Python package showdown!

Link: https://pythonbytes.fm/episodes/show/277/its-a-python-package-showdown

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

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

<p><strong>About the show</strong></p>
PyPy: How is PyPy Tested?

Link: https://www.pypy.org/posts/2022/04/how-is-pypy-tested.html

How is PyPy Tested?
In this post I want to give an overview of how the PyPy project does and thinks
about testing. PyPy takes testing quite seriously and has done some from the
start of the project. H
TestDriven.io: Rapid Prototyping with Django, htmx, and Tailwind CSS

Link: https://testdriven.io/blog/django-htmx-tailwind/

This tutorial looks at how to add htmx and Tailwind CSS to Django to reduce the amount of time it takes to create and style an interactive front-end.
"Morphex's Blogologue": Ethereum (classic) accounting data generator for Python

Link: http://blogologue.com/blog_entry?id=1648974077X97

Here's a python tool to generate CSV files suitable for accounting purposes, for incoming and outgoing Ethereum (classic) transactions:https://github.com/morphex/ethereum-classic-taxmanIt will start w
Will McGugan: Exporting SVGs of terminal output with Rich

Link: https://www.willmcgugan.com/blog/tech/post/exporting-svgs-of-terminal-output-with-rich/

Rich recently added two interesting new features.
The first feature is SVG support. Anything printed to the terminal with Rich can be captured and exported to an SVG file. The output is somewhat like
Talk Python to Me: #359: Lifecycle of a machine learning project

Link: https://talkpython.fm/episodes/show/359/lifecycle-of-a-machine-learning-project

Are you working on or considering a machine learning project? On this episode, we'll meet three people from the MLOps community: Demetrios Brinkmann, Kate Kuznecova, and Vishnu Rachakonda. They are he
ItsMyCode: Solving environment: failed with initial frozen solve. retrying with flexible solve

Link: https://itsmycode.com/solving-environment-failed-with-initial-frozen-solve-retrying-with-flexible-solve/

The Solving environment: failed with initial frozen solve. retrying with flexible solve occurs if you try to download any package that already exists and it breaks the anaconda environment.
In this tu
Peter Bengtsson: How to sort case insensitively with empty strings last in Django

Link: http://www.peterbe.com/plog/sort-case-insensitively-empty-strings-last-django

Imagine you have something like this in Django:

class MyModel(models.Models):
last_name = models.CharField(max_length=255, blank=True)
...

The most basic sorting is either: queryset.order_by
ItsMyCode: [Solved] Deprecationwarning: find_element_by_* commands are deprecated. please use find_element() instead

Link: https://itsmycode.com/find-element-by-commands-are-deprecated/

If you use Selenium 4.0.0 or above and try to find the elements on the page using the find_element_by_*() method, you will get an error saying DeprecationWarning: find_element_by_* commands are deprec
ItsMyCode: [Solved] DeprecationWarning: executable_path has been deprecated, please pass in a Service object

Link: https://itsmycode.com/executable-path-has-been-deprecated/

The executable_path is deprecated in Selenium 4 and above if you are still using the executable_path=chrome_driver_path) then you will get DeprecationWarning: executable_path has been deprecated, plea
John Ludhi/nbshare.io: Install PySpark With MongoDB On Linux

Link: https://www.nbshare.io/notebook/88044204/Install-PySpark-With-MongoDB-On-Linux/

Install PySpark With MongoDB On LinuxWe will go through following topics in this tutorial.Install JavaInstall SparkInstall MongoDBInstall PySparkInstall Mongo PySpark ConnectorConnect PySpark to Mongo
eGenix.com: eGenix Antispam Bot for Telegram 0.2.0 GA

Link: https://www.egenix.com/company/news/eGenix-Antispam-Bot-for-Telegram-0.2.0-GA.html

Introduction

eGenix has long been running a local user group meeting in Düsseldorf
called Python Meeting Düsseldorf and we are using a Telegram group
for most of our communication.
In the early days
Mike Driscoll: PyDev of the Week: Jeremy Tuloup

Link: https://www.blog.pythonlibrary.org/2022/04/04/pydev-of-the-week-jeremy-tuloup/

This week we welcome Jeremy Tuloup (@jtpio) as our PyDev of the Week! Jeremy is a core developer of the Jupyter project. You can see Jeremy's other contributions on his GitHub profile. Jeremy also occ
Real Python: YAML: The Missing Battery in Python

Link: https://realpython.com/python-yaml/

Python is often marketed as a batteries-included language because it comes with almost everything you’d ever expect from a programming language. This statement is mostly true, as the standard library
Reuven Lerner: The “why” of object-oriented programming (in Python)

Link: https://lerner.co.il/2022/04/01/the-why-of-object-oriented-programming-in-python/

When I ask people — in my corporate training, or when they join my “Better developers” newsletter — what frustrations they have with Python, many people say that it’s object-oriented programming. Even
Python for Beginners: Convert String to Variable Name in Python

Link: https://www.pythonforbeginners.com/basics/convert-string-to-variable-name-in-python

While programming in python, there are several instances when we might need to convert a string to a variable name. For instance, consider that we need to take some user data as input where the user n