Python Weekly - Python Weekly - Issue 647

View this email in your browser

Python Weekly

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

Learn RAG From Scratch 
Learn how to implement RAG (Retrieval Augmented Generation) from scratch, straight from a LangChain software engineer. This Python course teaches you how to use RAG to combine your own custom data with the power of Large Language Models (LLMs).

Announcing py2wasm: A Python to Wasm compiler
py2wasm converts your Python programs to WebAssembly, running them at 3x faster speeds.

7 Mind-Blowing Kubernetes Hacks
Kubernetes harbors capabilities that even seasoned developers might not be fully aware of. These hacks delve into the more esoteric, yet incredibly potent tricks that can significantly empower those who master them. These are not your everyday tips but profound insights into making Kubernetes do amazing things.

Python Big O: the time complexities of different data structures in Python
This article is primarily meant to act as a Python time complexity cheat sheet for those who already understand what time complexity is and how the time complexity of an operation might affect your code. 

Django from first principles
Many people don't realize you can start a Django project with a single file. This series walks through the process of building a simple but non-trivial project by starting with a single file. The project only expands to additional files when it makes sense to move code out of the main file. By the end of the series, we'll have a project with a structure similar to what's generated by startproject and startapp.

Run Llama 3 locally using Ollama and LlamaEdge 
Meta has unveiled Llama3, and now you can run it locally using Ollama. In this video, I explain how to use Ollama to operate various language models, specifically focusing on Llama2 and Llama3. I'll also guide you through the WebUI for the project, demonstrating how to serve models with Ollama and interact with them using Python.

Django: Pinpoint upstream changes with Git
In this post, we’ll cover Django’s branching structure, determining and searching through those commits, a worked example, and advanced behavioural searching with git bisect.

Building a Voice Notes App with Django and OpenAI
We'll build a voice notes app that uses OpenAI to perform speech to text. As a bonus, we'll use AlpineJS to manage state on the frontend.

Build a Connect Four game with HTMX and Django in 8 minutes
By the end, you'll have built a multiplayer game using HTMX, using neat server-side logic and storing all results in your database. HTMX is a great way to use javascript without writing javascript.

Trace complex LLM applications with the Langfuse decorator (Python)
When building RAG or agents, lots of LLM calls and non-LLM inputs feeds into the final output. The Langfuse decorator allows you to trace and evaluate holistically.

Learn to use Websockets with Django by building your own ChatGPT
Everything you need to know about websockets to use them in your applications, with Django, channels, and HTMX.

I accidentally built a meme search engine
Or: how to learn about clip/siglip and vector encoding images.

Llama 3: Get building with LLMs in 5 minutes
Get started building transformative AI-powered features within 5 minutes using Llama 3, Ollama, and Python.


Interesting Projects, Tools and Libraries

CoreNet
A library for training deep neural networks by Apple.

Cria
Cria is a library for programmatically running Large Language Models through Python. Cria is built so you need as little configuration as possible — even with more advanced features.

bridge
Automatic infrastructure for Django.

Penzai
A JAX research toolkit for building, editing, and visualizing neural networks.

BeyondLLM
Build, evaluate and observe LLM apps.

Hashquery
A Python framework for defining and querying BI models in your data warehouse.

torchtune
A Native-PyTorch Library for LLM Fine-tuning.

InstructLab
Command-line interface. Use this to chat with the model or train the model (training consumes the taxonomy data)

Portr
Open source ngrok alternative designed for teams

anthropic-cookbook
A collection of notebooks/recipes showcasing some fun and effective ways of using Claude.


New Releases

llama3
This release includes model weights and starting code for pre-trained and instruction tuned Llama 3 language models — including sizes of 8B to 70B parameters.

PyTorch 2.3
PyTorch 2.3 offers support for user-defined Triton kernels in torch.compile, allowing for users to migrate their own Triton kernels from eager without experiencing performance regressions or graph breaks. Tensor Parallelism improves the experience for training Large Language Models using native PyTorch functions, which has been validated on training runs for 100B parameter models. As well, semi-structured sparsity implements semi-structured sparsity as a Tensor subclass, with observed speedups of up to 1.6 over dense matrix multiplication.


Upcoming Events and Webinars

PyData Amsterdam Meetup May 2024
There will be following talks
  • How Generative AI will bring Schiphol's customer care to new heights
  • Unleashing Samurai: How Albert Heijn is Making Content Retrieval Hassle-free for Employees

Hybrid: Michigan Python Meetup May 2024
There will be a talk, Accelerating Python Data Analysis with DuckDB.

PyData Seattle Meetup May 2024
There will be following talks
  • Introducing DBRX: A new SOTA open LLM by Databricks
  • Fidelius DBRXus: Build your own private Hogwarts
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 646

Saturday, April 13, 2024

View this email in your browser Python Weekly Welcome to issue 646 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 645

Thursday, April 4, 2024

View this email in your browser Python Weekly Welcome to issue 645 of Python Weekly. Let's get straight to the links this week. News Typosquatting Campaign Targets Python Developers Phylum's

Python Weekly - Issue 644

Thursday, March 28, 2024

View this email in your browser Python Weekly Welcome to issue 644 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 643

Thursday, March 21, 2024

View this email in your browser Python Weekly Welcome to issue 643 of Python Weekly. Let's get straight to the links this week. Articles, Tutorials and Talks How to use PostgreSQL for (military)

Python Weekly - Issue 643

Thursday, March 21, 2024

View this email in your browser Python Weekly Welcome to issue 643 of Python Weekly. Let's get straight to the links this week. Articles, Tutorials and Talks How to use PostgreSQL for (military)

You Might Also Like

💻 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,

Ranked | The World's 30 Largest Exporters 🌎

Thursday, November 21, 2024

We show the largest exporters in the world amid a surge in trade restrictions, rising populism, and shipping route disruptions. View Online | Subscribe | Download Our App 5 DAYS LEFT! Learn Visual