Python Weekly - Python Weekly - Issue 641

View this email in your browser

Python Weekly

Welcome to issue 641 of Python Weekly. Let's get straight to the links this week.
From Our Sponsor 
Get Your Weekly Dose of Programming
A weekly newsletter featuring the best hand curated news, articles, tutorials, talks, tools and libraries etc for programmers. Join For Free

Articles, Tutorials and Talks

Python Upgrade Playbook
In this post, we’ll cover how Lyft upgrades Python at scale — 1500+ repos spanning 150+ teams — and the latest iteration of the tools and strategy we’ve built to optimize both the overall time to upgrade and the work required from our engineers. We’ve successfully used (and evolved) this playbook over multiple upgrades, from Python 2 to Python 3.10.

Building an LLM fine-tuning Dataset 
The video shares insights on building a comprehensive dataset for AI model training using Reddit comments, highlighting challenges such as working with large datasets and filtering out low-quality comments. The creator discusses methods like loading, sorting, and filtering data to create training samples and models, emphasizing the abundance of comments available for analysis and the process of fine-tuning models for efficient training. Ultimately, they decide to use the llama 27b model and discuss plans for utilizing the 480 super GPU for faster fine-tuning and uploading datasets.

Better PC cooling with Python and Grafana
The article discusses improving PC cooling using Python and Grafana, focusing on finding the minimum and maximum fan speeds to optimize cooling performance by exploiting thermal mass and running fans at empirically derived speeds, resulting in enhanced cooling efficiency and reduced noise levels

Create a quiz app in 6 minutes with HTMX and Django
This guide shows you how to build a simple quiz application using Django and HTMX in 6 minutes. HTMX is great for creating dynamic web applications without writing JavaScript.

Multilingual Support In Django
The article delves into the complexities of implementing multilingual support in Django, exploring the challenges and processes involved in internationalization (i18n) and localization. It provides insights into how Django facilitates the translation of strings, the use of GNU gettext framework, and the overall framework for supporting multiple languages within Django projects.

Machine Learning in 2024 – Beginner's Course 
This machine learning course is created for beginners who are learning in 2024. The course begins with a Machine Learning Roadmap for 2024, emphasizing career paths and beginner-friendly theory. Then it the course moves on to hands-on practical applications and a comprehensive end-to-end project using Python.

Intro to DSPy: Goodbye Prompting, Hello Programming!
How the DSPy framework solves the fragility problem in LLM-based applications by replacing prompting with programming and compiling.

How fast can we process a CSV file
The article explores the speed of processing CSV files, highlighting the use of PyArrow to enhance CSV reading speed significantly. It compares different methods like pandas with C engine, pure Python looping, and pandas with PyArrow engine, showcasing the efficiency of PyArrow in processing CSV files faster and more effectively

Levels of Complexity: RAG Applications
This post is a comprehensive guide to understanding and implementing RAG applications across different levels of complexity. Whether you're a beginner eager to learn the basics or an experienced developer looking to deepen your expertise, you'll find valuable insights and practical knowledge to help you on your journey. Let's embark on this exciting exploration together and unlock the full potential of RAG applications.

Combining Rust and Python: The Best of Both Worlds? 
This video shows you how to seamlessly integrate Rust with Python using Pyo3. This library allows you to write Python modules with Rust. This means that we get the speed and safety of Rust along with Python's easy-to-use features!

Deploying Django Apps in Kubernetes
Learn you can optimize Django deployments seamlessly in a Kubernetes environment, whether you are a Django developer or a Kubernetes enthusiast.

Get started with conda environments
This post explains the benefits of virtual environments and how to use virtual environments in conda.

From Beeps to Toots: Reviving Pagers with Python and Mastodon
The article showcases a unique application of Python programming by connecting pagers with Mastodon, blending the reliability of pagers with modern social media interactions. It highlights the versatility of Python in bridging analog devices like pagers with digital platforms, demonstrating the enduring relevance of traditional communication methods in today's digital age.

Python environment management using JupyterLab Desktop CLI
The article discusses Python environment management using the JupyterLab Desktop CLI, which offers various commands and options to manage Python environments efficiently within the application. It covers setting up the JupyterLab Desktop CLI, creating new Python environments, and utilizing bundled environment installers or downloading packages from the registry to enhance the development process.

6 ways to improve the architecture of your Python project (using import-linter)
The article discusses six ways to enhance the architecture of Python projects, focusing on maintaining clear dependency relationships between packages and modules to avoid tangled inter-module dependencies. It addresses challenges like high architectural understanding costs for newcomers and reduced development efficiency due to difficulties in locating code within large projects.


Interesting Projects, Tools and Libraries

Hatchet
A Distributed, Fault-Tolerant Task Queue.

BlendSQL
Unified dialect for orchestrating SQLite logic and LLM reasoning.

django-admin-shellx
A Django Admin Web Shell using Xterm.js and Django Channels.

Bonito
A lightweight library for generating synthetic instruction tuning datasets for your data without GPT.

FastUI
Build better UIs faster.

Hancho
A simple pleasant build system in Python.

Cadwyn
Production-ready community-driven modern Stripe-like API versioning in FastAPI.

flect
A pure Python full-stack web apps framework inspired by Next.js.

pfl
Python framework for Private Federated Learning simulations.

EvalPlus
EvalPlus for rigourous evaluation of LLM-synthesized code.

polars_ds_extension
Polars extension for general data science use cases.


New Releases

Django security releases issued: 5.0.3, 4.2.11, and 3.2.25


Upcoming Events and Webinars

San Francisco Python Meetup March 2024
There will be following talks
  • Spreadsheet Does What?!?
  • Unstructured: an ETL for LLMs
  • Data Pipeline Scorecard
  • Helping Developers Help Themselves

Django London Meetup March 2024
There will be following talks
  • WASM-powered Django apps with PyScript
  • Navigating your job search in 2024

PuPPy Meetup March 2024
There will be following talks
  • Simulating the 3-Polarizer Experiment on a Quantum Computer
  • Why I love planning and you should too!
  • The Rising Sea

Virtual: PyMNtos Python Presentation Night #123
There will be following talks
  • Ideas for the Third Edition of "Introducing Python"
  • Multi-modal Image Search with CLIP

PyData NYC Meetup March 2024
There will be following talks
  • Building LLM Applications in Production
  • But, Did You Tune the Hyperparameters Enough?

PyData Johannesburg Meetup March 2024
There will be a talk, Demystifying Data Ingestion Challenges with Apache Nifi.

PyData Zurich Meetup March 2024
There will be a talk, The Versatility of Attention-Based Autoregressive Models.
 
Our Other Newsletters
Programmer Weekly - A free weekly newsletter for programmers.

Founder Weekly - A free weekly newsletter for entrepreneurs featuring best curated content, must read articles, how to guides, tips and tricks, resources, events and more.
 
Copyright © 2024 Python Weekly, All rights reserved.
You are receiving our weekly newsletter because you signed up at http://www.PythonWeekly.com.

Our mailing address is:
Python Weekly
Brooklyn
Brooklyn, NY 11209

Add us to your address book


Want to change how you receive these emails?
You can update your preferences or unsubscribe from this list.

Older messages

Python Weekly - Issue 640

Thursday, February 29, 2024

View this email in your browser Python Weekly Welcome to issue 640 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Take control of your software supply chain with

Python Weekly - Issue 639

Thursday, February 22, 2024

View this email in your browser Python Weekly Welcome to issue 639 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Take control of your software supply chain with

Python Weekly - Issue 638

Monday, February 19, 2024

View this email in your browser Python Weekly Welcome to issue 638 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Take control of your software supply chain with

Python Weekly - Issue 637

Thursday, February 8, 2024

View this email in your browser Python Weekly Welcome to issue 637 of Python Weekly. Let's get straight to the links this week. Articles, Tutorials and Talks Rye: a Hassle-Free Python Experience

Python Weekly - Issue 636

Thursday, February 1, 2024

View this email in your browser Python Weekly Welcome to issue 636 of Python Weekly. Let's get straight to the links this week. Articles, Tutorials and Talks Getting Started With CUDA for Python

You Might Also Like

📺 There's Still A Place for Universal Remotes — 10 Apps I Always Install on a New Mac

Saturday, December 28, 2024

Also: How to Add Emails to Your Tasks To-Do List in Gmail, and More! How-To Geek Logo December 28, 2024 Did You Know In December 2014, two con men from Girona, Spain, agreed to sell a fake Francisco de

Ranked | The World's Top 30 Countries, by Automobiles Manufactured 🚙

Saturday, December 28, 2024

In 2023, China led global car production, contributing nearly a third of total output. Which countries followed in this competitive industry? View Online | Subscribe | Download Our App FEATURED STORY

🐍 New Python tutorials on Real Python

Saturday, December 28, 2024

Hey there, There's always something going on over at Real Python as far as Python tutorials go. Here's what you may have missed this past week: Learn From 2024's Most Popular Python

15,000+ Four-Faith Routers Exposed to New Exploit Due to Default Credentials

Saturday, December 28, 2024

THN Daily Updates Newsletter cover Resilient Cybersecurity ($39.99 Value) FREE for a Limited Time Reconstruct your defense strategy in an evolving cyber world Download Now Sponsored LATEST NEWS Dec 28,

Hands Down One Of The Best Cards For 2025 Offering 0% interest until 2026

Saturday, December 28, 2024

iPhoneLife Logo Sponsored email sent by iPhone Life Hands Down One Of The Best Cards For 2025 Offering 0% interest until 2026 If you have outstanding credit card debt, getting a new 0% intro APR credit

📧 What Rewriting a 40-Year-Old Project Taught Me About Software Development

Saturday, December 28, 2024

​ What Rewriting a 40-Year-Old Project Taught Me About Software Development Read on: m​y website / Read time: 7 minutes The .NET Weekly is brought to you by: As the year wraps up, it's clear API

This Week in Rust #579

Saturday, December 28, 2024

Email isn't displaying correctly? Read this e-mail on the Web This Week in Rust issue 579 — 25 DEC 2024 Hello and welcome to another issue of This Week in Rust! Rust is a programming language

The Calm Voice Of Chaos 🏆

Friday, December 27, 2024

The protest singer whose songs shaped 2024. Here's a version for your browser. Hunting for the end of the long tail • December 27, 2024 The Calm Voice Of Chaos This year's Tedium awards start

JSK Daily for Dec 27, 2024

Friday, December 27, 2024

JSK Daily for Dec 27, 2024 View this email in your browser A community curated daily e-mail of JavaScript news Performance Optimization in React Pivot Table with Data Compression The Syncfusion React

Daily Coding Problem: Problem #1650 [Hard]

Friday, December 27, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Microsoft. Recall that the minimum spanning tree is the subset of edges of a tree that