- Python Weekly
- Posts
- Python Weekly (Issue 648 May 2 2024)
Python Weekly (Issue 648 May 2 2024)
Python Weekly - Issue 648
Python Weekly
Welcome to issue 648 of Python Weekly. Let's get straight to the links this week.
News
A new campaign called "Dev Popper" is targeting software developers with fake job interviews in an attempt to trick them into installing a Python remote access trojan (RAT). The developers are asked to perform tasks supposedly related to the interview, like downloading and running code from GitHub, in an effort to make the entire process appear legitimate.
Articles, Tutorials and Talks
In this episode we explore why Mojo was created, and what it offers to Python programmers and non-Python programmers alike. How is it built for performance, and which performance features matter? What’s its take on functional programming and type systems? And can it marry the high-level programming of Python with the low-level programming of LLVM/MLIR?
Here’s a small protection I added to a project a few years ago. I was considering it again since I saw a similar potential bug in a Django middleware.
This post examines how different software components came together to allow LLM-as-judge evaluation without the need for expensive GPUs. All the components were built with and chosen for their user control, open source nature, and interoperability.
A demonstration of how to build an application to store and query data on crystals and precious stones using Astra DB. Built with RAGStack, this web app leverages the CLIP model to provide multi-modal search to retrieve data on all kinds of crystals.
The article describes a simple Python server that provides automatic browser page reload on content change, without requiring any additional setup or configuration. The server acts as a regular file server but also serves WebSocket messages over a specified path to trigger the page reload.
In this article, we’ll examine vector embeddings in depth, including the types of vector embeddings, how neural networks create them, how vector embeddings work, and how you can create embeddings for your data.
What is data leakage, why is it problematic, and how can you prevent it when working on a supervised Machine Learning problem in Python?
Because life is too short to spam calls to SSL_CTX_load_verify_locations().
The post introduces the "sleepsort" algorithm, a quirky sorting method that utilizes thread sleep times to sort integers in ascending order. It provides a playful yet insightful exploration of the algorithm's functionality and limitations.
We'll turn your voice into an infinitely-scalable instrument with Django.
We can define coroutine methods on custom Python objects. This allows methods on custom Python objects to use async/await syntax, such as awaiting other coroutines and tasks and allows the custom coroutine methods themselves to be awaited within our asyncio programs. In this tutorial, you will discover how to define object methods as coroutines.
The article discusses the differences between the TypeGuard and TypeIs type annotations in Python. It explains that TypeIs has more intuitive behavior compared to TypeGuard, especially when dealing with union types, and recommends using TypeIs over TypeGuard in most cases.
Interesting Projects, Tools and Libraries
Llama-3 agents that can browse the web by following instructions and talking to you.
Unify Efficient Fine-Tuning of 100+ LLMs.
Drag & drop in Figma to create a Python GUI with ease.
A file and photo management application and system.
A native PyTorch Library for large model training.
LMDeploy is a toolkit for compressing, deploying, and serving LLMs.
Toolkit is a collection of prebuilt components enabling users to quickly build and deploy RAG applications.
RAG (Retrieval Augmented Generation) Framework for building modular, open source applications for production by TrueFoundry
Clean & curate your data with LLMs.
A Python tool to enforce a modular, decoupled package architecture.
Upcoming Events and Webinars
There will be following talks
Using Python in Excel and Power BI
Deploy a Python API to the Cloud
There will be following talks
Modular AI Systems with Feature, Training, Inference Pipelines on Hopsworks - a LLMOps Tutorial
Introduction to Modal
There will be following talks
Microsoft Fabric for Python Data Developers
Desert Island Docker: Python Edition
Why You Should Be Afraid of Pickles
ASCII Art with Python
There will be following talks
Using data science to get personal health insights from smart wearables
Has Python found its Mojo? A New language for ML and AI
There will be following talks
Computer Vision IRL: from the idea to the on-premise deployment
Geospatial Data Integration with Jupyter Notebook and OS software
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.