Python Weekly (Issue 635 January 25 2024)

Python Weekly - Issue 635

Python Weekly

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

Articles, Tutorials and Talks

What is method chaining in Pandas? How does it work, and how can you use it? 

Learn how to implement a least recently used cache with priorities and expiry, using only the Python standard library.

The article introduces a small, pure, functional, content-addressable, network-first programming language designed to create small, shareable programs. It discusses the language's features and its implementation, highlighting its purpose and the collaborative effort behind its development. The article provides insights into the motivation and design principles of Scrapscript, as well as the collaborative process involved in its creation and implementation.

The talk explores the role of vector databases in enhancing AI applications like Retrieval-Augmented Generation (RAG), focusing on high-dimensional embeddings crucial for machine learning. Egor Romanov delves into creating a Postgres provider integrated with pgvector, utilizing a Python performance evaluation framework to simulate similarity search tests and unveil latent performance potential.

The post explores the differences between using dict() and {} in Python for creating dictionaries. It delves into their functionality, performance, and best practices, providing insights into when to use each method in Python coding.

The article from Slack Engineering discusses the fear of breaking production that holds many teams back from automating their deployments. It emphasizes the importance of understanding how deployment monitoring differs from normal monitoring and the iterative approach taken to ease these fears, ultimately leading to successful automated deployments. The article provides insights into the challenges and benefits of automating deployment processes, addressing the fear and concerns associated with automated systems in various domains, including cybersecurity and application deployment.

I “pip install”ed my app on Windows and everything just worked. Something is going right.

The article explores the development of an Augmented Markdown API by the Taipy R&D team, which extends the simplicity of Markdown by enabling the addition of tags to generate graphical interface elements directly within the content. This innovation aims to enhance the capabilities of Python developers in creating web-based interfaces, offering a unique approach to integrating graphical elements within Markdown documents.

Knowledge exploration and discovery with Semantic Graphs and RAG.

Learn data analysis, data visualizations, and image processing techniques using real-world astronomical data. The course offers a practical, hands-on approach to simplifying complex concepts in data analysis, making it great for beginners. 

We'll add Google sign-in to Django in the simplest possible way (No Django-all-auth or Django-social-auth or any other big packages).

Books

Machine Learning Engineering Open Book.

Interesting Projects, Tools and Libraries

Freeing data processing from scripting madness by providing a set of platform-agnostic customizable pipeline processing blocks.

A Rust HTTP server for Python applications.

Zero-shot Identity-Preserving Generation in Seconds.

A Python package for aggregating historical data from popular and free financial APIs, and for transforming that data into features for AI/ML.

Master Python typing (type hints) with interactive online exercises!

Outgoing Django webhooks triggered on model changes.

Unified Linux Wine Game Launcher.

Visualise and explore your RAG documents.

FastAPI and HTMX, the right way.

The open source platform for AI-native application development. 

Ultimate voice cloning tool, meticulously optimized for unrivaled power, modularity, and user-friendly experience.

Wafer is a simple but effective web application firewall (WAF) fuzzing tool. 

SGLang is a structured generation language designed for large language models (LLMs). It makes your interaction with LLMs faster and more controllable.

Upcoming Events and Webinars

There will be following talks

  • Meetings That Yield Results

  • f-strings: Could they get any better?

  • Measuring Software Delivery Performance at doctari

There will be following talks

  • Earth My Friend: Mapping a 1950s Circumnavigation with Open Source and Open Sources

  • From code banks to software

There will be a talk, Augmented retrieval in technical domains: challenges and opportunities of LLMs in action.

There will be following talks

  • MLOps with DVC and CML

  • Suppress testing nightmares: Easy and reliable tests with pytest

  • Forget the print statement: how to use VSCode’s debugger to simplify your life

There will be following talks

  • Understanding semantic search

  • An Exploration with Extractive Question-Answering Transformers by Bell Canada NLP-Speech Team

  • Introduction to llm fine-tuning and deployment

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.