Python Weekly (Issue 621 October 12 2023)

Python Weekly - Issue 621

Python Weekly

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

From Our Sponsor 

Compete solo or with a team of up to 5 players to solve 30 hacking challenges and compete for a chance to win a Nintendo Switch. Open to all skill levels. Sign up to join Snyk Fetch the Flag on Oct 27 at 9am ET.

Articles, Tutorials and Talks

In this video we will learn through doing! Build your very first PyTorch model that can classify images of playing cards.

While Mistral 7B is impressive out of the box, there's huge potential in its capacity for fine-tuning. This tutorial aims to guide you through the process of fine-tuning Mistral 7B for a specific use case - Python Coding! We will leverage powerful tools like HuggingFace's Transformers library, DeepSpeed for optimization, and Choline for streamlined deployment on Vast.ai.

Diving into the intricacies of data processing can often feel like navigating an intricate labyrinth. We build these elaborate processes, only to leave them untouched for fear of breaking them. But what if we could improve it? Here's my perspective on crafting a more maintainable, modular data processing workflow in Python which leans into the "pipe and filter" architectural pattern.

In this post, we will learn how to deal with missing data using pandas dropna by exploring the World Happiness Report.

In this post, learn three different ways to call Rust from Python: HTTP, IPC, and FFI.

The video will walk you through how large language models are being used in a SaaS platform called Learntail. Learntail is an easy-to-use AI-powered quiz-generating tool.

An explanation of a Django model field that returns an instance of a class depending on a key.

The author shares their experience adding type hints to Python code in their tool pyastgrep. They discuss the challenges and benefits of using static type checking and interactive programming help to catch errors and improve code readability.

Interesting Projects, Tools and Libraries

A Pythonic framework to simplify AI service building.

A robust, efficient, low-latency speech-to-text library with advanced voice activity detection, wake word activation and instant transcription. Designed for real-time applications like voice assistants.

A toolkit for building Python extensions in Zig.

Can large language models provide useful feedback on research papers? A large-scale empirical analysis.

This GenAI application stack will get you started building your own GenAI application in no time. The demo applications can serve as inspiration or as a starting point.

An AutoGPT agent that controls Chrome on your desktop.

Efficient Streaming Language Models with Attention Sinks.

Run PyTorch in JAX.

A FastAPI service for semantic text search using precomputed embeddings and advanced similarity measures, with built-in support for various file types through textract.

New Releases

This release includes the following announcements:

  • Python Debugger extension updates

  • Deprecation of Python 3.7 support

  • Lint on change option for Pylint extension

  • Mypy extension reporting scope and daemon mode

  • Grace Hopper Conference and Open Source Day Participation

Upcoming Events and Webinars

There will be following talks

  • Python GIL. Past and Future

  • 100X Speed Up with GPU

There will be following talks

  • Never too old to be a junior again

  • Print your own adventure game

There will be following talks

  • An Introduction to geospatial data & processing

  • MoleGazer: Where astronomy meets dermatology

There will be a talk, Leveraging open-source LLMs for production.

There will be a talk, Using AI techniques to design and play-test modern tabletop board games.

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.