Planet Python RSS
213 subscribers
17K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
ItsMyCode: How to enable CORS on Django REST Framework?

Link: https://itsmycode.com/enable-cors-on-django-rest-framework/

 If we are building an API layer using the Django REST framework and accessing these APIs in the front-end application we need to enable the CORS on Django Rest Framework otherwise we will get an erro
EuroPython: EuroPython March 2022 Newsletter

Link: https://blog.europython.eu/europython-march-2022-newsletter/

Hey hey!To say that March went by quickly would be an understatement. Our volunteers have been working round the clock to put together a fantastic conference. We’ve been busy launching the Call for Pr
ItsMyCode: Calculate Standard Error in R

Link: https://itsmycode.com/calculate-standard-error-in-r/

The standard error (SE) of a statistic is the standard deviation of its sampling distribution or an estimate of that standard deviation. The standard error is calculated by dividing the standard devia
Stack Abuse: Graphs in Python: Breadth-First Search (BFS) Algorithm

Link: https://stackabuse.com/graphs-in-python-breadth-first-search-bfs-algorithm/

Introduction
Graphs are one of the most useful data structures. They can be used to model practically everything - object relations and networks being the most common ones. An image can be represented
Zero to Mastery: Python Monthly Newsletter 💻🐍 March 2022

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

28th issue of the Python Monthly Newsletter! Read by 20,000+ Python developers every month. This monthly Python newsletter covers the latest Python news so that you stay up-to-date with the industry a
Matt Layman: PDF Courses Report - Building SaaS with Python and Django #132

Link: https://www.mattlayman.com/blog/2022/pdf-courses-report-building-saas-with-python-and-django-132/

In this episode, we added a final PDF report to the PDF bundle. This report was different than the other because there wasn’t a pre-existing HTML report to mimic. I built a report that shows all the c
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