Python Weekly - Python Weekly - Issue 618

View this email in your browser

Python Weekly

Welcome to issue 618 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

Compiling ML models to C for fun
ML models can be compiled to graphs, which can be traversed to perform forward and backward passes. This approach can improve performance and make it easier to debug ML models.

Optimizing LLMs From a Dataset Perspective
This article focuses on improving the modeling performance of LLMs by finetuning them using carefully curated datasets. Specifically, this article highlights strategies that involve modifying, utilizing, or manipulating the datasets for instruction-based finetuning rather than altering the model architecture or training algorithms (the latter will be topics of a future article). This article will also explain how you can prepare your own datasets to finetune open-source LLMs.

Why Are There So Many Python Dataframes?
This post explores the proliferation of Python dataframes, dissecting the reasons behind their prevalence in data science and analysis, shedding light on the various libraries and frameworks that contribute to their abundance.

I made a transformer by hand (no training!) 
This  article delves into the creation of a handmade Transformer model, providing a detailed walkthrough of building this popular deep learning architecture from scratch, offering insights into its inner workings and structure.

EuroPython 2023 Videos 
Here are all the videos for the conference, brought to you by the EuroPython 2023 Team and the EuroPython Society.

How to add serverless functions to Django in 6 minutes (with HTMX and AWS Lambda)
This article discusses the integration of serverless functions with Django, highlighting how developers can leverage the benefits of serverless computing for specific tasks in a Django application. It explores the advantages of serverless architecture and provides practical insights for implementation.

Simulate the Monty Hall problem in Python
Use Python to solve this classic probability puzzle that has stumped mathematicians and Nobel Prize winners!

PyO3 Exceptions 
This video discusses the problem of handling exceptions in Python when using Rust. In Rust, errors are handled differently, using response types, while in Python, exceptions are used. The video demonstrates how to raise exceptions in Python using Rust by creating a Python exception instance and raising it. It also shows how to handle exceptions by using mapping functions to convert Rust errors into Python exceptions. 

Django: Move a template tag library into builtins
Django’s template engine has an underappreciated builtins option that selects libraries to preload in every template. Making a library a builtin avoids the need for an explicit {% load %} tag whenever you use its tags or filters. Putting key libraries in builtins can shorten your templates and make development a little bit faster. In this post, we’ll cover how to add a template library to builtins and remove existing {% load %} tags from your templates.

Speeding up Floyd-Steinberg dithering: an optimization exercise
A worked out example: optimizing low-level code to get significant performance and memory improvements.

Python Tutorial for Beginners (with mini-projects) 
Learn Python programming in this complete course for beginners. This tutorial features mini-projects throughout so you can put what you learn into use immediately.

19X faster response time
Lincoln Loop optimized a large publishing platform's database performance. Overall, the database performance increased 19 times.

Building RAG-based LLM Applications for Production (Part 1)
In this guide, we will learn how to develop and productionize a retrieval augmented generation (RAG) based LLM application, with a focus on scale, evaluation and routing. 


Interesting Projects, Tools and Libraries

EvoDiff
Generation of protein sequences and evolutionary alignments via discrete diffusion models.

every-breath-you-take
Heart Rate Variability Training with the Polar H10 Monitor.

Galactic
Galactic provides cleaning and curation tools for massive unstructured text datasets. It's designed to help you curate fine-tuning datasets, create document collections for retrieval-augmented generation (RAG), and even perform deduplication of web-scale datasets for LLM pre-training. This

Logparser
Logparser provides a machine learning toolkit and benchmarks for automated log parsing, which is a crucial step for structured log analytics

HTTP-Shell
MultiPlatform HTTP Reverse Shell.

llm-guard
The Security Toolkit for LLM Interactions.

Temporian
Temporian is a Python library for feature engineering and data augmentation of temporal data (e.g. time-series, transactions) in machine learning applications.

vpselector
Visual Pandas Selector: Visualize and interactively select time-series data.

QuasiQueue
QuasiQueue is a MultiProcessing library for Python that makes it super easy to have long running MultiProcess jobs. QuasiQueue handles process creation and cleanup, signal management, cross process communication, and all the other garbage that makes people hate dealing with multiprocessing.

PyGraft
Configurable Generation of Schemas and Knowledge Graphs at Your Fingertips.

PYOBD
Open source obd2 car diagnostics program.

reinette-II-plus-dot-py
Apple II emulator in Python.

PyLLMCore
A pythonic library providing light-weighted interface with LLMs

HomeHarvest
Python package for real estate scraping, supporting Zillow, Realtor.com & Redfin.


New Releases

Django 5.0 alpha 1 released

Python 3.12.0 release candidate 3 now available


Upcoming Events and Webinars

PyLadies London Meetup September 2023
There will be following talks
  • Outside Technology: Building bridges between engineers and non-engineers
  • Rapid prototyping with Django

Python Barcelona Meetup September 2023
There will be following talks
  • The two language problem in vectorized python expressions
  • AI image generative algorithm in fashion design

PyLadies Paris Meetup September 2023
There will be following talks
  • Machine-learning and causal inference: Toward new clinical evidence?
  • Project Feedback: Reduce your permissions management time while protecting your users!

VilniusPy Meetup September 2023
There will be following talks
  • How we sped up our Django test-suite 10x
  • Python Generators: Light on Memory, Heavy on Power
  • Deadcode - a tool to find and fix dead (unused) Python code

PyData Stockholm  Meetup September 2023
There will be following talks
  • How to realize value from AI by bridging cross-domain knowledge to develop the right solutions?
  • Automate everything: using Python to extend the power of dbt at Voi
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 © 2023 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 617

Sunday, September 17, 2023

View this email in your browser Python Weekly Welcome to issue 617 of Python Weekly. Let's get straight to the links this week. Articles, Tutorials and Talks Vector Embeddings Tutorial – Create an

Python Weekly - Issue 616

Thursday, September 7, 2023

View this email in your browser Python Weekly Welcome to issue 616 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Get Your Weekly Dose of Programming A weekly

Python Weekly - Issue 615

Thursday, August 31, 2023

View this email in your browser Python Weekly Welcome to issue 615 of Python Weekly. Let's get straight to the links this week. News The Python Software Foundation has been authorized by the CVE

Python Weekly - Issue 614

Thursday, August 24, 2023

View this email in your browser Python Weekly Welcome to issue 614 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Get Your Weekly Dose of Programming A weekly

Python Weekly - Issue 613

Thursday, August 17, 2023

View this email in your browser Python Weekly Welcome to issue 613 of Python Weekly. Let's get straight to the links this week. Articles, Tutorials and Talks How to write Python code people

You Might Also Like

Recording: 'Data Storytelling: What Organizations Need to Know Going Into 2025'

Friday, November 22, 2024

Thank you for your interest in our latest webinar. As promised here is your recording of the event. View email in browser Recording Now Available Thank you for your interest in receiving a recording of

💻 Issue 437 - Introducing local Azure Service Bus Emulator

Thursday, November 21, 2024

This week's Awesome .NET Weekly Read this email on the Web The Awesome .NET Weekly Issue » 437 Release Date Nov 21, 2024 Your weekly report of the most popular .NET news, articles and projects

💎 Issue 444 - Why did people rub snow on frozen feet? (2017)

Thursday, November 21, 2024

This week's Awesome Ruby Newsletter Read this email on the Web The Awesome Ruby Newsletter Issue » 444 Release Date Nov 21, 2024 Your weekly report of the most popular Ruby news, articles and

💻 Issue 444 - JavaScript Dos and Donts

Thursday, November 21, 2024

This week's Awesome JavaScript Weekly Read this email on the Web The Awesome JavaScript Weekly Issue » 444 Release Date Nov 21, 2024 Your weekly report of the most popular JavaScript news, articles

📱 Issue 438 - Reverse Engineering iOS 18 Inactivity Reboot

Thursday, November 21, 2024

This week's Awesome iOS Weekly Read this email on the Web The Awesome iOS Weekly Issue » 438 Release Date Nov 21, 2024 Your weekly report of the most popular iOS news, articles and projects Popular

💻 Issue 362 - React Anti-Pattern: Stop Passing Setters Down the Components Tree

Thursday, November 21, 2024

This week's Awesome React Weekly Read this email on the Web The Awesome React Weekly Issue » 362 Release Date Nov 21, 2024 Your weekly report of the most popular React news, articles and projects

💻 Issue 444 - Building simple event-driven applications with Pub/Sub

Thursday, November 21, 2024

This week's Awesome Node.js Weekly Read this email on the Web The Awesome Node.js Weekly Issue » 444 Release Date Nov 21, 2024 Your weekly report of the most popular Node.js news, articles and

📱 Issue 441 - Shift Left Is the Tip of the Iceberg

Thursday, November 21, 2024

This week's Awesome Swift Weekly Read this email on the Web The Awesome Swift Weekly Issue » 441 Release Date Nov 21, 2024 Your weekly report of the most popular Swift news, articles and projects

💻 Issue 439 - Async/Await Is Real And Can Hurt You

Thursday, November 21, 2024

This week's Awesome Rust Weekly Read this email on the Web The Awesome Rust Weekly Issue » 439 Release Date Nov 21, 2024 Your weekly report of the most popular Rust news, articles and projects

📲 Why I Ditched Linux for Samsung DeX — Buy This Instead of a Gaming Headset

Thursday, November 21, 2024

Also: Taking Instagram Stories to the Next Level, and More! How-To Geek Logo November 21, 2024 Did You Know Thurl Ravenscroft was both the voice behind the Christmas song "You're a Mean One,