Python Weekly (Issue 653 June 6 2024)

Python Weekly - Issue 653

Python Weekly

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

News

The Socket Research Team has identified a malicious Python package that is typosquatting the popular crytic-compile utility, frequently used in popular toolkits and development environments for smart contracts and crypto applications.

Articles, Tutorials and Talks

The article introduces FineWeb, a Hugging Face project aimed at extracting high-quality text data from the web at scale. It highlights the methodology and tools used to ensure the gathered data is of the finest quality for training AI models, emphasizing the importance of clean and relevant text data for machine learning applications.

The `bytes` data type looks a bit like a string, but it isn't a string. Let's explore it and also look at the main Unicode encoding, UTF-8.

The article demonstrates how to create a dashboard to visualize traffic data for a Read the Docs documentation project using Vizro for building the dashboard layout and Vizro-AI to generate individual charts from natural language instructions and data. This low-code approach enables creating visualizations without extensive design or Python skills.

If you are designing an API that loads data into a standard format, consider the from_ and to_ syntax to describe data loaders. from_ data loaders should read data and serialise it into a class for processing, and to_ data loaders should convert data to another format, or save data to disk.

The simplest way to set up a React.js frontend and a Django REST API backend.

The article demonstrates how to use Python 3.12's new type alias and union type syntax to define a simple expression-based language with dataclasses, and then implements an evaluator function using pattern matching to evaluate expressions in that language.

The article explores achieving Python's ease of use with Julia's speed, illustrating how to optimize Python code using Julia for high-performance computing tasks. It provides examples and insights on integrating both languages to enhance computational efficiency without sacrificing Python's simplicity.

Python Notebooks for Fundamentals of Music Processing.

Discover the Django framework's popularity through statistics and learn the latest trends in Django development for 2024.

Every command-line tool included with Python. These can be run with python -m module_name.

Sometimes the best way to speed up your algorithm is to adjust it to the specifics of your data.

Interesting Projects, Tools and Libraries

Runbook automation platform with deep observability integrations & Jupyter-notebooks style interface.

Generate entire books in seconds using Groq and Llama3.

The Open Source DevOps Assistant - solve problems twice as fast with an AI teammate.

Cross-platform keep-awake with Python.

The fastest caching Python library written in Rust.

WebApps in pure Python. No JavaScript, HTML and CSS needed.

Omost is a project to convert LLM's coding capability to image generation (or more accurately, image composing) capability.

A research paper for generative cartoon interpolation.

A Generalizable World Model for Autonomous Driving.

Collection of awesome LLM apps with RAG using OpenAI, Anthropic, Gemini and opensource models.

A fast and user friendly way to interact with SMB shares.

Open-source alternative to Assistant's API with a managed backend for memory, RAG, tools and tasks. ~Supabase for building AI agents.

Build delightful web apps quickly in Python.

ChatTTS is a generative speech model for daily dialogue.

Exploring the classical regression capabilities of LLMs.

Prettypretty helps build awesome terminal user interfaces in Python. Notably, it incorporates a powerful and general color library.

Upcoming Events and Webinars

There will be following talks

  • A Python App to Explore how Covid Changed America

  • Introduction to RAG

  • Deploying Embeddings Inference in Production

There will be following talks

  • Let's make Python better: The most awesome "Hello, World!" 

  • Intro to Retrieval Augmented Generation (RAG)

  • Evaluating RAG applications with Phoenix

A panel discussion that will dive into the evolving landscape of AI, explore Python's pivotal role in modern AI solutions, and uncover effective strategies for AI deployment.

There will be a talk, Wagtail: the Python CMS taking the world by storm.

There will be following talks

  • RAG: Using Translation Augmented Generation to Break Language Barriers in the LLM Ecosystem

  • Multi-Modal Machine Learning and Image Visualization/Segmentation

There will be following talks

  • Innovations with LLMs at Microsoft HLS Montreal: From Dynamic Data Pruning to Clinical Error Detection

  • Introduction and Applications of Vision-Language Models

There will be following talks

  • How Data Improves Your Life in Prague

  • DuckDB Intro with Case Study from Keboola

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.