Python Weekly - Python Weekly - Issue 566

View this email in your browser

Python Weekly

Welcome to issue 566 of Python Weekly. Last week, our 11 years old Twitter account @PythonWeekly all of a sudden got suspended and I really don't understand why. We never had any issues whatsoever before. I immediately appealed via their standard process and also I followed up again, but haven't heard back yet. If you work at Twitter or know someone who does and can help me get our account reinstated, I will highly appreciate it.
From Our Sponsor 
 
  Want to get started with Capture the Flag (CTF) security competitions? Join Snyk's CTF 101 Workshop on September 14 at 11am EDT to learn how to solve web & pwn CTF challenges. Get live support from CTF experts in the hands-on lab as you solve your first challenge. Register now!

News

Python Packaging User Survey 
Do you have ideas on improving Python packaging? Here is an opportunity to get your opinions heard.


Articles, Tutorials and Talks

5 Tips To Achieve Low Coupling In Your Python Code 
In this video I share 5 tips to help you write code that has low coupling. I'll show you several examples and also share a story of a technique I used several times in the past that has really helped me reduce coupling and solve more complex software design problems.

Someone’s Been Messing With My Subnormals!
After noticing an annoying warning, I went on an absurd yak shave, and discovered that because of a tiny handful of Python packages built with an appealing-sounding but dangerous compiler option, more than 2,500 Python packages—some with more than a million downloads per month—could end up causing any program that uses them to compute incorrect numerical results.

Accelerate Python code 100x by import taichi as ti
There is no universal solution to all optimization problems. That's partially why Python is fascinating. You can always find/create an easy-to-use tool that can precisely solve your problem at hand. In terms of scientific computing, Taichi is an ideal option within Python that can help you achieve performance comparable to C/C++.

Python String Methods to Know
Python's strings have dozens of methods, but some are much more useful than others. Let's discuss the dozen-ish must-know string methods and why the other methods aren't so essential.

Indoor Asset Tracking using Wi-Fi Triangulation
Build a complete indoor asset tracking IoT solution using the Blues Wireless Notecard, an ESP32 host MCU, the Notecarrier-F, and Datacake.

25 Nooby Pandas Coding Mistakes You Should Avoid 
This video goes over a list of 25 mistakes commonly made my beginners learning pandas in python. Pandas is a great tool, but there are some pitfalls to avoid!

Python List Comprehensions Are More Powerful Than You Might Think
Python's list comprehensions (and generators) are an awesome feature that can greatly simplify your code. Most of the time however, we only use them to write a single for loop, maybe with addition of one if conditional and that's it. If you start poking around a bit though, you will find out that there are many more features of Python's comprehensions that you don't know about, but can learn a lot from.

Lazy imports for Python
Starting a Python application typically results in a flurry of imports as modules from various locations (and the modules they import) get added into the application process. All of that occurs before the application even gets started doing whatever it is the user actually launched it for; that delay can be significant—and annoying. Beyond that, many of those imports may not be necessary at all for the code path being followed, so eagerly doing the import is purely wasted time. A proposal back in May would add a way for applications to choose lazy imports, where the import is deferred until the module is actually used.

Using a Raspberry Pi as a Bluetooth speaker with PipeWire
Do you have an old pair of PC speakers, or an old Hi-Fi, that you would like to convert into a pair of Bluetooth® speakers to play music from your phone? A Raspberry Pi can be easily used as an audio bridge between a Bluetooth® device and an analog speaker system, to make this possible. In this quick guide, I will show you how to set up the software on a Pi, using PipeWire, to achieve this.


Interesting Projects, Tools and Libraries

docquery
An easy way to extract information from documents.

WakaQ
Distributed background task queue for Python backed by Redis, a super minimal Celery.

stable-diffusion-videos
Create videos with Stable Diffusion by exploring the latent space and morphing between text prompts.

ai-art-generator
Automate the creation of large batches of AI-generated artwork locally.

Cog
Cog is an open-source tool that lets you package machine learning models in a standard, production-ready container.

Marqo
Tensor search for humans.

exporters
Export Hugging Face models to Core ML and TensorFlow Lite.

Regressio
A Python library for univariate regression, interpolation, and smoothing.

django-htmx-patterns
Sharing patterns I use with Django and htmx.

Pyrun
Run Python code from Tweets.

Unicaps
A unified Python API for CAPTCHA solving services.

DevCase
A privacy-focused and secure CMS, Blog and Portfolio made with Python & Django. Designed with developers and IT professionals in mind.


New Releases

Python in Visual Studio Code – September 2022 Release
This release includes the following announcements:
  • Improved IntelliSense support for Jupyter Notebooks
  • A new Flake8 extension
  • Internship highlight: improved unittest support and notebook image pasting

Django bugfix release: 4.1.1

Python releases 3.10.7, 3.9.14, 3.8.14, and 3.7.14 are now available


Upcoming Events and Webinars

Hybrid Panel: Hot Takes on CI Tools We Use
Experts from Azure DevOps, GitHub Actions, GitLab CI/CD and JFrog Pipelines will join IndyPy for a panel: “Hot Takes on CI Tools We Use.” The lively discussion, moderated by Calvin Hendryx-Parker (Six Feet Up), will feature the pros and cons of your favorite tools and, as always, awesome door prizes.

PyData Pittsburgh Meetup September 2022
This month, PyData Pittsburgh is convening a panel discussion of data science managers and leaders to share their perspectives and advice on what it takes to get a job in data science or machine learning.
 
Our Other Newsletters
Programmer Weekly - A free weekly newsletter for programmers.

Founder Weekly - A free weekly newsletter for entrepreneurs featuring best curated content, must read articles, how to guides, tips and tricks, resources, events and more.
 
Copyright © 2022 Python Weekly, All rights reserved.
You are receiving our weekly newsletter because you signed up at http://www.PythonWeekly.com.

Our mailing address is:
Python Weekly
Brooklyn
Brooklyn, NY 11209

Add us to your address book


Want to change how you receive these emails?
You can update your preferences or unsubscribe from this list.

Older messages

Python Weekly - Issue 565

Thursday, September 1, 2022

View this email in your browser Python Weekly Welcome to issue 565 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Deepnote is a collaborative data science notebook.

Python Weekly - Issue 564

Thursday, August 25, 2022

View this email in your browser Python Weekly Welcome to issue 564 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Get Your Weekly Dose of Programming A weekly

Python Weekly - Issue 563

Thursday, August 18, 2022

View this email in your browser Python Weekly Welcome to issue 563 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Get Your Weekly Dose of Programming A weekly

Python Weekly - Issue 562

Friday, August 12, 2022

View this email in your browser Python Weekly Welcome to issue 562 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Deepnote is a data science notebook that's built

Python Weekly - Issue 561

Thursday, August 4, 2022

View this email in your browser Python Weekly Welcome to issue 561 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Retool offers a component library and app-building

You Might Also Like

Import AI 399: 1,000 samples to make a reasoning model; DeepSeek proliferation; Apple's self-driving car simulator

Friday, February 14, 2025

What came before the golem? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Defining Your Paranoia Level: Navigating Change Without the Overkill

Friday, February 14, 2025

We've all been there: trying to learn something new, only to find our old habits holding us back. We discussed today how our gut feelings about solving problems can sometimes be our own worst enemy

5 ways AI can help with taxes 🪄

Friday, February 14, 2025

Remotely control an iPhone; 💸 50+ early Presidents' Day deals -- ZDNET ZDNET Tech Today - US February 10, 2025 5 ways AI can help you with your taxes (and what not to use it for) 5 ways AI can help

Recurring Automations + Secret Updates

Friday, February 14, 2025

Smarter automations, better templates, and hidden updates to explore 👀 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

The First Provable AI-Proof Game: Introducing Butterfly Wings 4

Friday, February 14, 2025

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? undefined The Market Today #01 Instagram (Meta) 714.52 -0.32%

GCP Newsletter #437

Friday, February 14, 2025

Welcome to issue #437 February 10th, 2025 News BigQuery Cloud Marketplace Official Blog Partners BigQuery datasets now available on Google Cloud Marketplace - Google Cloud Marketplace now offers

Charted | The 1%'s Share of U.S. Wealth Over Time (1989-2024) 💰

Friday, February 14, 2025

Discover how the share of US wealth held by the top 1% has evolved from 1989 to 2024 in this infographic. View Online | Subscribe | Download Our App Download our app to see thousands of new charts from

The Great Social Media Diaspora & Tapestry is here

Friday, February 14, 2025

Apple introduces new app called 'Apple Invites', The Iconfactory launches Tapestry, beyond the traditional portfolio, and more in this week's issue of Creativerly. Creativerly The Great

Daily Coding Problem: Problem #1689 [Medium]

Friday, February 14, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given a linked list, sort it in O(n log n) time and constant space. For example,

📧 Stop Conflating CQRS and MediatR

Friday, February 14, 2025

​ Stop Conflating CQRS and MediatR Read on: m​y website / Read time: 4 minutes The .NET Weekly is brought to you by: Step right up to the Generative AI Use Cases Repository! See how MongoDB powers your