ItsMyCode: How to 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 error...
View ArticleEuroPython: 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...
View ArticleStack Abuse: Graphs in Python: Breadth-First Search (BFS) Algorithm
IntroductionGraphs 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...
View ArticleZero to Mastery: Python Monthly Newsletter 💻🐍 March 2022
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...
View ArticleItsMyCode: 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...
View ArticleMatt Layman: 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...
View ArticleTryton News: Newsletter April 2022
Close to the future release 6.4, we still have a lot of new features landing in Tryton:Changes for the UserStock moves without quantity are no longer required to be put in a package.The volume...
View ArticleReal Python: The Real Python Podcast – Episode #104: Building a Hash Table in...
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,...
View ArticleKushal Das: Securing verybad web application with only systemd
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...
View ArticleQuansight Labs Blog: Making GPUs accessible to the PyData Ecosystem via the...
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...
View ArticlePython for Beginners: 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 Strings...
View ArticlePyBites: 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...
View ArticlePython Bytes: #277 It's 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>...
View ArticlePyPy: How is PyPy Tested?
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....
View ArticleTestDriven.io: Rapid Prototyping with Django, htmx, and Tailwind CSS
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.
View Article"Morphex's Blogologue": Ethereum (classic) accounting data generator for Python
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...
View ArticleTalk Python to Me: #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...
View ArticleWill McGugan: 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 a...
View ArticleItsMyCode: Solving environment: failed with initial frozen solve. retrying...
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...
View ArticlePeter Bengtsson: How to sort case insensitively with empty strings last in...
Imagine you have something like this in Django:classMyModel(models.Models):last_name=models.CharField(max_length=255,blank=True)...The most basic sorting is either: queryset.order_by('last_name') or...
View Article