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

DeveloPassion's Newsletter #183 - Knowledge Management for All

Tuesday, January 7, 2025

A newsletter discussing Knowledge Management, Knowledge Work, Zen Productivity, Personal Organization, and more! Sébastien Dubois DeveloPassion's Newsletter DeveloPassion's Newsletter #183 -

CES 2025 ICYMI: 8 top reveals so far

Tuesday, January 7, 2025

Bluesky's most-needed feature; A mulching robot mower; Linux man pages -- ZDNET ZDNET Tech Today - US January 7, 2025 ces55gettyimages-2191705850 CES 2025: ZDNET's 8 most impressive products we

Post from Syncfusion Blogs on 01/07/2025

Tuesday, January 7, 2025

New blogs from Syncfusion Introducing the New Blazor Chat UI Component By Silambarasan Ilango Enhance real-time communication with the Blazor Chat UI. Discover its features and use cases for creating

⚙️ The ethics of AI

Tuesday, January 7, 2025

Part 2 of a special edition series ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Issue 163

Tuesday, January 7, 2025

🔬 🧪 Can nanotechnology finally deliver on its promise? Creating space's first artificial eclipse factory. PayPal's Honey app: sweet savings or digital sleight of hand? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

New EAGERBEE Variant Targets ISPs and Governments with Advanced Backdoor Capabilities

Tuesday, January 7, 2025

THN Daily Updates Newsletter cover JavaScript: Mastering JavaScript from Basics to Advanced Topics ($54.99 Value) FREE for a Limited Time This book provides a comprehensive introduction to JavaScript

The Sequence Knowledge #463: Wrapping Up our Series About Knowledge Distillation: Pros and Cons

Tuesday, January 7, 2025

9 installments in our series about knowledge distillation plus a final essay. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

My favorite new service

Tuesday, January 7, 2025

I want to tell you about a service that I've been using recently and that I love — Incogni. They automatically remove your personal data from data brokers and people-search websites. Here's why

Deep Thinking in a Fast World - The Case for Asynchronous Communication

Tuesday, January 7, 2025

Discover how embracing asynchronous communication can transform slow thinking from a perceived weakness into a professional strength, leading to deeper insights and better workplace contributions.

Want to earn easy money? Join Wynter.

Monday, January 6, 2025

Get paid to participate in research studies, customer interviews, and product demos. It's a way for you to give back to the community while having a low-key side hustle. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏