Python Weekly (Issue 510 July 29 2021)

Python Weekly - Issue 510

Python Weekly

Welcome to issue 510 of Python Weekly. Let's get straight to the links this week.

In This Complete Python 3 Ethical Hacking Course You Will Learn To Code 10+ Penetration Testing Tools From Scratch!

Articles, Tutorials and Talks

Baked Data pattern provides many of the advantages of static site generators while avoiding most of their limitations. With Baked Data, the data is deployed as part of the application bundle. Any time the content changes, a fresh copy of the site is deployed that includes those updates. It is suitable for many content-oriented sites that update their content at most a few times a day. Consider blogs, documentation sites, project websites—anything where content is edited by a small group of authors.

Learn how to find the moment of inertia for 3D objects in two different ways. The first technique defines a 3D object mathematically and evaluates integrals to get the moment of inertia tensor. The second technique loads the coordinates of a general 3D object and evaluates the tensor that way. 

Overview of common NLP tasks using Python.

Triton is an open-source Python-like programming language which enables researchers with no CUDA experience to write highly efficient GPU code—most of the time on par with what an expert would be able to produce. Triton makes it possible to reach peak hardware performance with relatively little effort.

With Pandas 1.3, there’s a new option that can save memory on a large number of strings as well, simply by changing to a new column type. Let’s see how.

Make your code faster, concise, more readable and more functional with help of Python’s little known operator module.

In this tutorial, learn how to do various operations like: Extracting and Adding Pages, Texts, Images, Tables, Watermark and much more on a PDF file using Python.

A reply-to-mention Twitter bot that can reply to every tweet where it got mentioned with a specific keyword with an auto-generated image

This video explains details of Python's import system (import protocol) involving modules and packages (regular and namespace packages). 

In this guide, you will learn how to create your own command line interfaces that can pass context, with commands that can take mandatory or optional arguments, and nested commands. 

How to Use Any AWS Service with Python.

Good unit tests laser focus on the smallest possible scope and are crafted to isolate the functionality from as much external interference  as possible. In this post we show how a seemingly harmless test might be misleading and not be actually capturing what you expect. We then show how to improve it by "testing the diff".

How to make comical visualizations in Matplotlib? Explained using a Netflix Movie and TV Show dataset.

This article will help you understand Django’s pagination limitations and offer three alternative methods that will improve your application’s performance. Along the way, you’ll see the tradeoffs and use cases for each method so you can decide which is the best fit for your application.

Books

Learn Python basics quickly- while enjoying a beautifully illustrated picture book!

Interesting Projects, Tools and Libraries

The Easiest Way To Identify Birds By Sound.

A cross-platform text editor. It starts quite fast: ~0.3 sec with ~30 plugins, on Linux on CPU Intel Core i3 3GHz. It is extensible by Python add-ons: plugins, linters, code tree parsers, external tools.

Play more than 30K radio stations from your terminal.

CodeFlare is a framework to simplify the integration, scaling and acceleration of complex multi-step analytics and machine learning pipelines on the cloud.

borb is a library for reading, creating and manipulating PDF files in python.

Get recipes instantly with this CLI tool. Choose specific meals or ingredients to cater to your appetite!

Python SQL Parser and Transpiler.

Remove Background from Video and Images with a simple command line interface.

Upcoming Events and Webinars

It is free to attend and welcomes anyone with an interest in Python. Content ranges from beginner to advanced and is intended to be relevant to all types of Python users: students, software professionals, scientists, hobbyists, and anyone looking to learn more.

There will be a talk, Machine Learning and its Potential to Improve Epilepsy Diagnosis.

Our Other Newsletters

 - A free weekly newsletter for programmers.

- A free weekly newsletter for entrepreneurs featuring best curated content, must read articles, how to guides, tips and tricks, resources, events and more.