Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Real Python: Combining Data in Pandas With merge(), .join(), and concat()

Link: https://realpython.com/pandas-merge-join-and-concat/

Pandas’ Series and DataFrame objects are powerful tools for exploring and analyzing data. Part of their power comes from a multifaceted approach to combining separate datasets. With Pandas, you can me
Codementor: How to efficiently generate a random subset?

Link: https://www.codementor.io/alexanderswilliams/how-to-efficiently-generate-a-random-subset-150hbz3na4

Suppose you have an array with n elements and you want a random subset with k elements. What strategies can you think of to do this as efficiently as possible?
Take a moment.
Why should you care...
tryexceptpass: Episode 7 - Basic Practices to Secure Your Application Architecture

Link: https://tryexceptpass.org/podcast/ep7-secure-application-architecture/

Markets seem to reward fast product launches over secure one. This means that most organizations are not prioritizing security tasks early on. But following basic security practices early can yield gr
Anwesha Das: Internet Shutdown Panel at NullCon, 2020

Link: http://anweshadas.in/untitled-7/

Internet shutdown has become a pretty regular event in today’s world. India has seen the most number of shutdowns. Internet shutdowns are the “intentional disruption” of wired connection or mobile in
Codementor: Mimic

Link: https://www.codementor.io/praneethkumarpidugu/mimic-15hag29e1j

Here I’m sitting at coffeeshop late afternoon brushing few of core Linux concepts. All of sudden somehow my mind took me to read new content in hacker news. Its always like a celebration goin…
The No Title® Tech Blog: Just updated - Optimize Images v1.5

Link: https://no-title.victordomingos.com/articles/2020/updated_optimize-images_v1_5

If you are using Optimize Images, please notice that it has just been updated to version 1.5, which fixes a bug and adds some support to a JPEG sub-format known as MPO.
Podcast.__init__: Distributed Computing In Python Made Easy With Ray

Link: https://www.pythonpodcast.com/ray-distributed-computing-episode-258/

Distributed computing is a powerful tool for increasing the speed and performance of your applications, but it is also a complex and difficult undertaking. While performing research for his PhD, Rober
Moshe Zadka: Using Twisted to Massively Parallelize Web Clients

Link: https://orbifold.xyz/treq.html

The Twisted Requests
(treq)
package is an HTTP client built on the popular
Twisted library that is used for web requests.
Async libraries offer the ability to do large amounts of network
requests in p
Mike Driscoll: An Overview of Profiling Tools for Python

Link: https://www.blog.pythonlibrary.org/2020/04/14/an-overview-of-profiling-tools-for-python/

What does it mean to profile ones code? The main idea behind benchmarking or profiling is to figure out how fast your code executes and where the bottlenecks are. The main reason to do this sort of th
EuroPython: EuroPython 2020: Talk voting is open

Link: https://blog.europython.eu/post/615363800716263424

Talk voting is your chance to tell us what you’d like to see at EuroPython 2020. We will leave talk voting open until:Sunday, April 26 23:59:59 CESTIn order to vote, please log in to the website and t
Real Python: Inheritance and Composition: A Python OOP Guide

Link: https://realpython.com/courses/inheritance-composition-python/

In this course, you’ll explore inheritance and composition in Python. Inheritance and composition are two important concepts in object oriented programming that model the relationship between two clas
Learn PyQt: Implementing QPainter flood fill in PyQt5/PySide

Link: https://www.learnpyqt.com/blog/implementing-qpainter-flood-fill-pyqt5pyside/


Building Piecasso (a PyQt5 Paint clone) I was disappointed to discover that while QPainter comes with a huge number of paint methods, ranging from pixels and lines to fully-filled polygons, it doesn'
Evennia: Spring updates while trying to stay healthy

Link: http://evennia.blogspot.com/2020/04/spring-updates-while-trying-to-stay.html

So, spring grows nearer for those of us on the Northern hemisphere. With everyone hopefully hunkered down and safe from the Covid-19 pandemic, I thought it overdue to make another dev blog for the p
PyCoder’s Weekly: Issue #416 (April 14, 2020)

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

#416 – APRIL 14, 2020 View in Browser » Open Source Virtual Backgrounds With Python and OpenCV With so much of the world stuck at home thanks to the COVID-19 pandemic, more and more workplaces a
Quansight Labs Blog: PyTorch TensorIterator Internals

Link: https://labs.quansight.org/blog/2020/04/pytorch-tensoriterator-internals/

PyTorch is one of the leading frameworks for deep learning. Its core data
structure is Tensor, a multi-dimensional array implementation with many
advanced features like auto-differentiation. PyTorch i
Python Software Foundation: Thank you to donors & sponsors

Link: http://feedproxy.google.com/~r/PythonSoftwareFoundationNews/~3/aXLdY8G2-v8/thank-you-to-donors-sponsors.html

PyCon 2020 in Pittsburgh, PA was cancelled due to COVID-19 and that impacted the PSF's finances. Our blog from March 31st estimated that the PSF would need to use $627,000 of its financial reserve to
Robin Parmar: Visual Coding with Processing: COVID-19 Tracker

Link: http://www.theatreofnoise.com/2020/04/visual-coding-with-processing-covid-19.html

This project uses the public API for COVID-19 mortality data, and maps the regional totals. So long as you understand the basics of Processing, you should be prepared for the step-by-step instructions