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

Weekend Reading — Objection-oriented programming

Saturday, May 18, 2024

This week we find a power-up box, replace GitHub Actions with Maven XMLs, avoid the worst website in the world, revisit RTO policies, “listen” to OpenAI employees, watch our Slack private messages, do

Daily Coding Problem: Problem #1445 [Easy]

Saturday, May 18, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Jane Street. The United States uses the imperial system of weights and measures, which

You don’t have to take our word for it…

Saturday, May 18, 2024

You can probably tell how excited we are to re-launch our Gigantic courses – which bring on-demand product management training for today's modern Product Managers and Product Leaders. In fact, we

🐍 New Python tutorials on Real Python

Saturday, May 18, 2024

Hey there, There's always something going on over at realpython.com as far as Python tutorials go. Here's what you may have missed this past week: What Is the __pycache__ Folder in Python? In

Visualized | Life Expectancy by Region (1950-2050F) 📊

Saturday, May 18, 2024

This map shows life expectancy at birth for key global regions, from 1950 to 2050F. View Online | Subscribe Presented by Voronoi: The App Where Data Tells the Story FEATURED STORY Life Expectancy by

New Wi-Fi Vulnerability Enables Network Eavesdropping via Downgrade Attacks

Saturday, May 18, 2024

THN Daily Updates Newsletter cover The DevSecOps Playbook: Deliver Continuous Security at Speed ($19.00 Value) FREE for a Limited Time A must-read guide to a new and rapidly growing field in

🐍 New Python tutorials on Real Python

Saturday, May 18, 2024

Hey there, There's always something going on over at realpython.com as far as Python tutorials go. Here's what you may have missed this past week: What Is the __pycache__ Folder in Python? In

Toward 'local' AI w/ Apple's new chip

Saturday, May 18, 2024

faster than the cloud ☁️ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

OpenAI and Google lay out their competing AI visions

Saturday, May 18, 2024

Plus: Is Mark Zuckerberg a style icon now? View this email online in your browser By Cody Corrall Saturday, May 18, 2024 Welcome back to TechCrunch's Week in Review. This week had two major events

Noonification: Dear America, I Am Breaking Up With You

Saturday, May 18, 2024

Top Tech Content sent at Noon! Get Algolia: AI Search that understands How are you, @newsletterest1? 🪐 What's happening in tech today, May 18, 2024? The HackerNoon Newsletter brings the HackerNoon