Python Weekly - Python Weekly - Issue 569

View this email in your browser

Python Weekly

Welcome to issue 569 of Python Weekly. Let's get straight to the links this week.
From Our Sponsor 
 
  Establishing a fast and non-intrusive bug catching process is vital for any organization. While assert statements are a great solution, they come with unexpected security risks. Check out our crash course to review the basics of assert, how to use it safely, and avoid common dangers in Python today.


News

TensorStore for High-Performance, Scalable Array Storage
Google has introduced TensorStore, an open-source C++ and Python software library designed for storage and manipulation of n-dimensional data.

Arch Linux removing python2 from the repositories
Python 2 went end of life January 2020. Since then we have been actively cutting down the number of projects depending on python2 in our repositories, and we have finally been able to drop it from our distribution.


Articles, Tutorials and Talks

Build a Reactive Data Streaming App with Python and Apache Kafka 
How do you get live notifications from a service that doesn’t support live notifications? Can you watch an online store for price drops? Or track comments on someone else’s YouTube video? Or at work, can you react to changes in another department’s system, when that system doesn’t have a notification API? How do you turn the question-and-answer model of the web into a live-streaming system?

Pandas Groupby Warning
Pandas groupby function can have surprising results when dealing with NaN values. This article is a warning to keep you out of trouble.

How to Build the World's Ugliest Podcast Search Engine with Python
In this post, you'll learn how to search podcast episode transcripts to find words and phrases that were discussed.

Writing REST With Django and Ninja 
Django Ninja is a FastAPI inspired library for turning your Django views into REST API end-points. Learn how to get started with Django Ninja, how the interface interacts with Django's URL and ORM mechanisms, and how to apply authentication controls to your REST API.

Use pandas DateOffsets for easy date manipulation
An easy way to manipulate dates is pandas DateOffsets. They handle a number of complicated scenarios, including holidays.

A Hands-on Tutorial for Bayesian Neural Networks
In this tutorial, you will implement various Bayesian neural network methods based on variational inference. We will go through regression tasks to see the applications of uncertainty estimation in practice, including a case study on Bayesian optimisation.

A Deep Dive Into Pathlib And The Magic Behind It 
If you’re not yet using pathlib for dealing with files and directories, you’re missing out. This video takes a close look at the pathlib library in Python and explains some of the magic that goes into it, as well as how you can use it in your own code.

5 ways to schedule Jupyter Notebook
Jupyter Notebook is an excellent tool for creating computational documents. There is often a requirement to update the notebook’s results at a selected time interval and publish it to the rest of the team. This post summarizes five different approaches for Jupyter Notebook scheduling.

Automated Deployment of TensorFlow Models with TensorFlow Serving and GitHub Actions
In this post, we will share how we serve a TensorFlow image classification model as RESTful and gRPC based services with TensorFlow Serving on a Kubernetes (k8s) cluster running on Google Kubernetes Engine (GKE) through a set of GitHub Actions workflow

Building a Realtime Chat App with Django Channels and WebSockets
Building stateful web applications can be tricky, unless you use a framework, of course—Django to the rescue! In this article, learn how to build a realtime chat app using Django Channels and WebSockets.

A Python security fix breaks (some) bignums
Typically, an urgent security release of a project is not for a two-year-old CVE, but such is the case for a recent Python release of four versions of the language. The bug is a denial of service (DoS) that can be caused by converting enormous numbers to strings—or vice versa—but it was not deemed serious enough to fix when it was first reported. Evidently more recent reports, including a remote exploit of the bug, have raised its importance—causing a rushed-out fix. But the fix breaks some existing Python code, and the process of handling the incident has left something to be desired, leading the project to look at ways to improve its processes.

High-performance image generation using Stable Diffusion in KerasCV
In this guide, we will show how to generate novel images based on a text prompt using the KerasCV implementation of stability.ai's text-to-image model, Stable Diffusion.

Algorithms in Python – Full Course for Beginners 
In this Introduction to Algorithms in Python course, you'll learn about algorithm basics like recursion and then go all the way to working with concepts like dynamic programming. The 5 main course segments include simple recursive algorithms, data structures, divide & conquer, greedy algorithms, and dynamic programming.

The Definitive Guide to Graph Problems
Do you want to learn how to solve graph problems? Are you preparing for a coding interview? Do you want to polish your problem-solving skills? In this article I will try to answer these questions and more, and you will learn the patterns necessary to deal with these problems.


Interesting Projects, Tools and Libraries

datasets-server
Integrate into your apps over 10,000 datasets via simple HTTP requests, with pre-processed responses and scalability built-in.

Rocketry
Rocketry is a modern statement-based scheduling framework for Python. It is simple, clean and extensive. It is suitable for small and big projects.

Refurb
A tool for refurbishing and modernizing Python codebases.

open-prompts
Open Prompts contains the data we use to build krea.ai. Now, you can get access to this data too. You can either download a (large) CSV file with image links and meta-data of >10M generations, or access it through our free API (still in development).

CodeGeeX
An Open Multilingual Code Generative Model.

OFRAK
OFRAK (Open Firmware Reverse Analysis Konsole) is a binary analysis and modification platform

SetFit
Efficient Few-shot Learning with Sentence Transformers.
 
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 568

Thursday, September 22, 2022

View this email in your browser Python Weekly Welcome to issue 568 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 567

Thursday, September 15, 2022

View this email in your browser Python Weekly Welcome to issue 567 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Ever wonder how your information stays secure? Dig

Python Weekly - Issue 566

Thursday, September 8, 2022

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

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

You Might Also Like

iOS Dev Weekly – Issue 694

Friday, January 10, 2025

Hopefully you won't see that much difference with receiving this issue, but it's ALL CHANGED behind the scenes! 😱 ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Daily Coding Problem: Problem #1664 [Easy]

Friday, January 10, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Twitter. A permutation can be specified by an array P , where P[i] represents the

Spyglass Dispatch: The Case for a For-Profit OpenAI

Friday, January 10, 2025

RIP Venu • A More Political and Real Time Threads • An OpenAI Auction • Apple's Tough 2025 The Spyglass Dispatch is a newsletter sent on weekdays featuring links and commentary on timely topics

⌨️ 10 Mods to Improve Your Mechanical Keyboard — How to Set Up Quick Share on Windows

Friday, January 10, 2025

Also: Why Are Tech Companies Trying to Sell Me Expensive Clocks? How-To Geek Logo January 10, 2025 Did You Know Famed biologist Charles Darwin and US President Abraham Lincoln were born on the same day

Your best friends in design

Friday, January 10, 2025

​ Working With Designers Product manager & UX designer collaboration guide. How members of your product team work together is just as important as the work itself. A fundamental relationship within

Charted | How Canada Would Rank as the 51st State 📊

Friday, January 10, 2025

Donald Trump has floated the idea that Canada should be the 51st state. Here's how it compares statistically. View Online | Subscribe | Download Our App Presented by: Global X ETFs Power AI's

Pinpointing The Actual Problem 🎯

Friday, January 10, 2025

WordPress accidentally diagnoses its own business problem. Here's a version for your browser. Hunting for the end of the long tail • January 10, 2025 Pinpointing The Actual Problem A blog post from

😱Major Azure Outage in EastUS2, 🚀New AI and Azure Developer CLI Courses, azureedge.net DNS retiring

Friday, January 10, 2025

͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏

iOS Cocoa Treats

Friday, January 10, 2025

View in browser Hello, you're reading Infinum iOS Cocoa Treats, bringing you the latest iOS related news straight to your inbox every week. Adopting Swift 6 across the app codebase I've been

Issue #575: Excalibird, bird’s eye metropolis, and Stimulation Clicker

Friday, January 10, 2025

View this email in your browser Issue #575 - January 10th 2025 Weekly newsletter about Web Game Development. If you have anything you want to share with our community please let me know by replying to