Python Weekly (Issue 642 March 14 2024)

Python Weekly - Issue 642

Python Weekly

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

From Our Sponsor 

A weekly newsletter featuring the best hand curated news, articles, tutorials, talks, tools and libraries etc for programmers.

News

DjangoCon US 2024 CFP is now open. Submit your talk or tutorial proposal by April 24, 2024 at 12 PM EDT.

Articles, Tutorials and Talks

This article discusses the author's experience of participating in a hacking event in Las Vegas where vulnerabilities were discovered, leading to the successful hacking of Google. Despite the initial achievement, the Google VRP team extended the competition deadline to encourage more creative findings, highlighting the ongoing challenges and opportunities in the realm of cybersecurity

In this updated Pydantic tutorial, I’ll cover all the new features and how they can benefit your projects. Despite Python's dynamic type system being user-friendly, it's not without its data handling issues. That's where Pydantic comes in, providing the essential structure and validation for seamless data management.

This is an article about GGUF, a file format used for machine learning models. It discusses what machine learning models are and how they are produced.

Learn more about the common pitfalls of using the asynchronous Python library, Gevent, and how to resolve them in this article.

The post introduces Collectfasta, an updated fork of Collectfast designed to enhance the performance of Django's collectstatic command. By optimizing the repository and improving performance, Collectfasta offers faster execution and efficiency compared to the standard Django command, providing a valuable tool for developers seeking enhanced performance in their Django projects.

Dive into the fascinating world of machine learning and AI as we guide you through developing a model designed to predict NCAA tournament outcomes. From initial setup to final predictions, we’ll cover everything you need to create your own powerhouse model.

The post explores the challenges and benefits of sandboxing Python, particularly in scenarios like websites executing user code or preventing attacks on Large Language Models. Win32 App Isolation offers a unique approach to sandboxing Python at an application/OS level, creating a security boundary to prevent applications from compromising the operating system.

The post explores the effectiveness of Large Language Models (LLMs) in generating fuzz drivers for library API fuzzing. It discusses the challenges and benefits of LLM-based fuzz driver generation, highlighting its practicality, strategies for complex API usage, and areas for improvement based on a comprehensive study and evaluation.

A look at why Python is a great language for time-series analysis. Plus, tips for getting started today.

The article discusses the release of the experimental MediaPipe LLM Inference API, enabling Large Language Models (LLMs) to run fully on-device across platforms. This transformative capability addresses the significant memory and compute demands of LLMs, which are over a hundred times larger than traditional on-device models, achieved through optimizations like new ops, quantization, caching, and weight sharing.

Interesting Projects, Tools and Libraries

Open-source observability for your LLM application.

CBScript is a transpiled language, designed by SethBling. This compiler will compile CBScript files into Minecraft datapack zip files. It has many higher level language features that don't exist at the Minecraft command level.

Efficient data transformation and modeling framework that is backwards compatible with dbt.

The Universe of Data. All about data, data science, and data engineering.

Fine-tune LLM agents with online reinforcement learning.

Schedule iMessage or SMS texts from .txt files.

LLM calls as strongly-typed functions.

A framework for rapid development and deployment of production-ready RAG systems.

Syntax highlighting for Python Docstring in VSCode.

Lightweight framework for building HTML pages in pure Python.

New Releases

Upcoming Events and Webinars

There will be following talks

  • Navigating career path decisions

  • How Spotify personalises your search results with Machine Learning

There will be following talks

  • Python and Rust

  • Hands on Polars, an alternative to data frames leveraging in Rust

There will be following talks

  • The Fun World of SRE

  • Better Together: Unleashing the Synergy of Pandas, Polars, and Apache Arrow

  • Mock It Till You Make It: How to Verify Your External Mocks Without Ever Leaving Unittest

There will be following talks

  • Fine-Tune Your Own Stable Diffusion Model - Tips and Tricks Included

  • AI Tools in Action: Enhancing Customer Experience with LLMs at Polestar

There will be following talks

  • The Python Powered Modern Data Stack

  • Transformers Inside Out

  • Estimating cognitive workload using electroencephalography

  • Benchmarking Time-Series Databases

There will be a talk, Generative AI Enterprise Landscape - Past Present and Future.

There will be following talks

  • Deploy your Data Project on the Web using only Python

  • Get the best from your scikit-learn classifier: trusted probabilities and optimal binary decision

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.