MoreRSS

site iconPython WeeklyModify

A free weekly newsletter featuring the best hand curated news, articles, new releases, tools and libraries, events etc related to Python.
Please copy the RSS to your reader, or quickly subscribe to:

Inoreader Feedly Follow Feedbin Local Reader

Rss preview of Blog of Python Weekly

Python Weekly - Issue 681

2024-12-20 00:00:00

Python Weekly - Issue 681

View this email in your browser

Python Weekly

Welcome to issue 681 of Python Weekly. This is the final issue of 2024. We will be back after the holiday break. Wish you and your family Happy Holidays!

Articles, Tutorials and Talks

How the CIA Writes Python
The article explores the CIA's Python coding practices, including their style guide based on Google's, preferences for Python versions, and practical insights on development tools. It highlights unique aspects like using local PyPI servers, specific testing setups, and templates for CLI scripts, reflecting a blend of security considerations and pragmatic development approaches.

UV and Ruff: Next-gen Python Tooling 
UV and Ruff are presented as a powerful duo for modern Python development, with UV accelerating the development cycle and Ruff streamlining code review. This presentation promises to enhance coding practices and boost productivity for developers of all levels, showcasing these tools as essential for cleaner, faster, and more robust Python code.

Django security hardenings that are not happening
The post discusses several Django security vulnerabilities that, when combined, could lead to remote code execution. The author proposes various security hardenings to address these issues, but reports that Django maintainers have closed these suggestions as "wontfix," leading him to raise awareness through the blog post instead.

Creating the Foundation for a New Home Assistant 
Corey Quinn interviews Paulus Schoutsen, creator of Home Assistant, discussing its growth from a simple Python script to a leading open-source smart home platform with 1.6M users. Home Assistant emphasizes privacy, user control, and open standards, enabling sustainable and customizable home automation free from corporate influence.

Single-file Django Apps with nanodjango
Discover Nanodjango: a project simplifying Django development with single-file apps, APIs, and seamless transition to full projects. Perfect for quick experiments and sharing prototypes.

Build your Jupyter dashboard using Solara
This article demonstrates how to create an interactive dashboard in Jupyter using Solara, a Python framework built on ipywidgets. It guides readers through building a crime data visualization dashboard with filtering capabilities, charts, and maps, showcasing Solara's reactive and declarative nature for efficient dashboard development within Jupyter environments.

Debugging Python with VS Code and Sentry
Pairing VS Code and Sentry can lead to quicker resolved issues in your app. Learn how to debug your Python project with these two tools here.

Building an LLM-Powered Slackbot
This article describes Benchling's development of a Slackbot powered by a Large Language Model (LLM). The LLM taps into a knowledge base stored in Amazon Bedrock, allowing developers to ask questions and receive answers directly through the familiar Slack interface.


Interesting Projects, Tools and Libraries

Bruin
Build data pipelines with SQL and Python, ingest data from different sources, add quality checks, and build end-to-end flows. 

MarkItDown
Python tool for converting files and office documents to Markdown.

TypeScribe
TypeScribe is a tool that uses Machine Learning to convert typed text into realistic handwriting by introducing customizable degrees of randomness and variations, to make it all so believable.

WOWY
A full-featured e-commerce platform built with Django, featuring a robust admin panel and modern user interface.

FastVideo
FastVideo is an open-source framework for accelerating large video diffusion model. 

systemd-pilot
Desktop application for managing systemd services. 

CodeGate 
CodeGate encrypts secrets in your prompts to protect your privacy, and augments an LLM’s knowledge base with up-to-date risk insight to protect your code.

wozway
Easily control traffic between Apps and LLM using data security policies.
 
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.


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

Python Weekly - Issue 680

2024-12-13 00:00:00

Python Weekly - Issue 680

View this email in your browser

Python Weekly

Welcome to issue 580 of Python Weekly. Let's get straight to the links this week.
Articles, Tutorials and Talks

Try This if You Don’t Like Python’s Exception Handling 
Struggling with Python's unpredictable errors and None checks? This video shares a unique approach to making your code cleaner and more reliable using the returns package—no complicated try-except nests required.

Supply-chain attack analysis: Ultralytics
A recent attack on the popular Python library Ultralytics highlights the risks of supply-chain attacks in PyPI. The article explores the attack and suggests ways to improve security measures.

Helping Securing the Python with Mike Fiedler 
The episode discusses the security challenges faced by PyPI, including account takeovers and typo-squatting, highlighting the importance of measures like 2FA and collaboration with security researchers. It also explores the debate between maintaining legacy systems and greenfield development, emphasizing the complexities of managing critical infrastructure and the often underestimated role of social engineering in security.

A Deep Dive into Celery Task Resilience, Beyond Basic Retries
How to make your Celery tasks more resilient with best practices to prevent workflow interruptions and handle various failure scenarios.

Lazy self-installing Python scripts with uv
The article introduces UV, a Python tool that streamlines script execution by managing dependencies automatically. It enables self-installing scripts with metadata for dependencies, eliminating the need for manual virtual environment setups or packaging. UV also offers tools to replace pipx and pyenv for Python installations and CLI tools.

Building a Tiny CDN With pyinfra and Chimera Linux
The author set up a DIY content delivery network for his link blog using multiple servers worldwide, reducing average response time from 807ms to 189ms. He utilized pyinfra for automation, Chimera Linux as the host OS, and implemented GeoDNS for traffic routing, demonstrating significant performance improvements without relying on major CDN providers.

Django and Postgres for the Busy Rails Developer
The article compares Django and Ruby on Rails frameworks from a Rails developer's perspective, focusing on database interactions with PostgreSQL. It highlights similarities and differences in language runtime management, library management, migrations, models, and command-line tools, providing insights for developers familiar with Rails who are exploring Django.

Django: launch pdb when a given SQL query runs
This article discusses a technique for debugging Django applications by using database instrumentation to identify and break on specific SQL queries. This allows you to trace the execution flow back to the code that triggered the query, even when it's not immediately obvious.

Writing down (and searching through) every UUID
The post describes a creative project to generate and catalog every possible Version 4 UUID, creating a comprehensive searchable database of unique identifiers. The author developed a method to systematically generate all 2^122 possible UUIDs, enabling full-text search and exploration of these globally unique identifiers.


Interesting Projects, Tools and Libraries

Jules
Jules by Google is an experimental AI-powered code agent that can handle Python and JavaScript bug fixes and other coding tasks. It integrates with GitHub, creates detailed plans, and generates code, saving developers time and boosting productivity.

Vanir
Vanir is a source code-based static analysis tool that automatically identifies the list of missing security patches in the target system. By default, Vanir pulls up-to-date CVEs from Open Source Vulnerabilities (OSV) together with their corresponding signatures so that users can transparently scan missing patches for an up-to-date list of CVEs.

Parlant
A structured approach to building and guiding customer-facing AI agents.

MegaParse
File Parser optimised for LLM Ingestion with no loss. Parse PDFs, Docx, PPTx in a format that is ideal for LLMs.

gitingest
Turn codebases into prompt-friendly text.

Minima
Chat with RAG on local files.

flow_matching
A PyTorch library for implementing flow matching algorithms, featuring continuous and discrete flow matching implementations. It includes practical examples for both text and image modalities. 

htmy 
Async, pure-Python rendering engine.


New Releases

Python in Visual Studio Code – December 2024 Release
This release includes the following announcements:
  • Docstring generation features using Pylance and Copilot
  • Python Environments extension in preview
  • Pylance “full” language server mode

JupyterLab 4.3 and Notebook 7.3 are available!
 
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.


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

Python Weekly - Issue 679

2024-12-06 00:00:00

Python Weekly - Issue 679

View this email in your browser

Python Weekly

Welcome to issue 679 of Python Weekly. Let's get straight to the links this week.
News

PyCon Austria 2025 CFP
The Call for Papers is open. Submit your proposals for talks and workshops.


Articles, Tutorials and Talks

PyMyFlySpy: track your flight using its headrest data
The author describes a fun coding project where they wrote a Python script ("PyMyFlySpy") to extract flight data (like speed, direction) from the in-flight entertainment system using publicly available information on the payment page, even without paying for Wi-Fi.

Advanced Python Development Workflow in Emacs
This guide explores how to evolve Emacs into a robust Python IDE. Whether you’re writing simple scripts or managing large-scale projects, you’ll find a setup that aligns with your engineering needs and reflects the power of Emacs customization.

Build a Stable Diffusion VAE From Scratch using Pytorch 
Learn how to Build a Stable Diffusion VAE From Scratch using Pytorch. VAE stands for Variational Autoencoder. It's a type of Autoencoder and a neural network that trains using an unsupervised technique. They are widely used in Image generation models mainly on latent diffusion-based and GANs-based image generation models.

Better, Faster Python Projects: A Deep Dive into uv
A comprehensive guide on why and how to start using uv—the package manager (and much more) that's taken the Python world by storm.

I trained myself to run farther using the Strava API and an IOT dog food bowl full of M&Ms
David Mayer shares how he used an IoT dog food dispenser filled with M&Ms and connected to the Strava API to reward himself for running. This experiment in classical conditioning helped him form a lasting running habit, culminating in completing a half marathon without relying on the dispenser anymore.

Creating a Web App using only Python with Taipy 
This tutorial teaches you how to create a web application with interactive charts and multiple pages using Python and the Taipy library. Taipy allows you to build these features without needing extensive web development experience.

Building a Chat Backend for Wikipedia Articles in Django
Learn how to build a scalable chat backend using Django, Wikipedia data, OpenAI embeddings, and FAISS. This step-by-step guide covers data ingestion, embedding generation, and building a conversational interface for intelligent querying.

Now I Know Why Most People Don’t Use gRPC 
This video explores gRPC, a compelling alternative to REST that’s gaining traction in distributed systems. Watch until the end of the video to find out if it’s worth ditching REST for it.

Squashing Django Migrations the Easy Way
The article outlines a step-by-step process for safely squashing Django migrations in large projects, using tools like django-model-info to visualize migration dependencies and identify safe linear paths for squashing. It emphasizes the importance of maintaining the migration graph's integrity, updating dependencies, and carefully deploying changes to reduce migration count without breaking the project's structure.

Solving Boolean satisfiability and integer programming with Python packaging
The author explores a creative approach to solving Boolean satisfiability (SAT) and integer programming problems. He demonstrates how by cleverly utilizing Python's package dependency resolution capabilities, you can achieve these computations purely with the pip package manager, bypassing the need for specialized libraries.

PyCon Australia 2024 Videos 
PyCon Australia 2024 talks videos are available now.

PyData NYC 2024 Videos 
PyData NYC 2024 talks videos are available now.


Interesting Projects, Tools and Libraries

PydanticAI
PydanticAI is a Python Agent Framework designed to make it less painful to build production grade applications with Generative AI.

RAGLite
RAGLite is a Python toolkit for Retrieval-Augmented Generation (RAG) with PostgreSQL or SQLite.

agenta
The open-source LLMOps platform: prompt playground, prompt management, LLM evaluation, and LLM Observability all in one place.

keep
The open-source alert management and AIOps platform.

ai-hedge-fund
An AI-powered hedge fund that uses multiple agents to make trading decisions. The system employs several specialized agents working together.

FAESM
A Drop-in Efficient Pytorch Implementation of ESM.

judges
A small library of LLM judges.

HunyuanVideo
A Systematic Framework For Large Video Generation Model Training.

Progresspal
A decentralized python iterable, function and log tracker.

MatterSim 
MatterSim is a deep learning atomistic model across elements, temperatures and pressures.


New Releases

Python 3.13.1, 3.12.8, 3.11.11, 3.10.16 and 3.9.21 are now available

Django security releases issued: 5.1.4, 5.0.10, and 4.2.17


Upcoming Events and Webinars

Python Hrvatska Meetup December 2024
There will be a talk, The Mysterious Case of Vanishing Revenues: Let's talk about Sales Analytics.

Python Frederick Meetup December 2024
There will be a talk, UV and Ruff: Next-gen Python Tooling.

PyData Johannesburg Meetup December 2024
There will be a talk, Hacking Your Way to Freedom: A Software Engineers Guide To E-Commerce.

PyData Milano Meetup December 2024
There will be following talks
  • Observability for Large Language Models with OpenTelemetry
  • End-to-End Recommender Systems: Training to Deployment

PyData Chicago Meetup December 2024
There will be a talk, Merging Monte Carlo Methods with Machine Learning.
 
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.


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

Python Weekly - Issue 678

2024-11-29 00:00:00

Python Weekly - Issue 678

View this email in your browser

Python Weekly

Welcome to issue 678 of Python Weekly. Let's get straight to the links this week.
Articles, Tutorials and Talks

Let's build a AI Photo Generator with Python and FastAPI 
This course teaches how to fine-tune the Flux AI model using Replicate to create personalized image generation. It also covers building a FastAPI service to access and utilize this model efficiently.

A Comprehensive Guide to Python Project Management and Packaging: Concepts Illustrated with uv – Part II
In this second part, we’ll delve into the building and publishing part of the workflow. We’re going to follow a similar structure as in the first article where we first present the high-level overview of the concepts and we illustrate them using uv then we cover the in-depth details by studying the related PEPs and specifications.

Hiding a message in my PyTorch weights
This post explains how to embed an arbitrary message into a tensor that contains floating-point numbers, and how to detect the presence of such a message.

The Best No-Nonsense VSCode Setup for Python Devs 
Setting up VSCode for Python development doesn't have to be a headache! This video walks you through a complete and practical VSCode setup that tackles common pain points—like missing imports, mismatched Python versions, and pytest issues with finding tests. 

Constraints are Good: Python's Metadata Dilemma
Some of the issues of why Python packaging is unnecessarily hard.

Abusing Talon to use my eye tracker in a project
The author describes how they used Talon, a voice control software, to access eye tracker data for a game project. They created a Python script within Talon to expose eye gaze data via a local web server, allowing integration with a Rust program

Pushing the boundaries of Streamlit
How I learned to stop worrying and love Streamlit's execution model.

Ollama Course – Build AI Apps Locally
Learn how to set up and use Ollama to build powerful AI applications locally. This hands-on course covers pulling and customizing models, REST APIs, Python integrations, and real-world projects like a Grocery List Organizer, RAG System, and an AI Recruiter Agency. Perfect for developers and AI enthusiasts ready to bring their ideas to life with local LLMs. 


Interesting Projects, Tools and Libraries

open-interpreter
A natural language interface for computers.

fast-graphrag
Streamlined and promptable Fast GraphRAG framework designed for interpretable, high-precision, agent-driven retrieval workflows.

Bagels
Powerful expense tracker that lives in your terminal.

Automated-AI-Web-Researcher-Ollama
A python program that turns an LLM, running on Ollama, into an automated researcher, which will with a single query determine focus areas to investigate, do websearches and scrape content from various relevant websites and do research for you all on its own! And more, not limited to but including saving the findings for you!

moka-py
A high performance caching library for Python written in Rust.

bionemo-framework
A framework for building and adapting AI models in drug discovery at scale.

smollm
Everything about the SmolLM & SmolLM2 family of models.

Marco-o1
An Open Large Reasoning Model for Real-World Solutions.

Promptic
Promptic aims to be the "requests" of LLM development -- the most productive and pythonic way to build LLM applications.

aisuite
Simple, unified interface to multiple Generative AI providers.

opennb 
Open Jupyter notebooks from GitHub repositories or URLs directly in Jupyter.

ridgeplot
Beautiful ridgeline plots in Python.

Argilla 
Argilla is a collaboration tool for AI engineers and domain experts to build high-quality datasets


Upcoming Events and Webinars

Virtual: PyLadiesCon 2024
The event features talks, panels, and networking opportunities focused on Python development and career growth.

Hybrid: Michigan Python December 2024
There will be a talk, Simplifying Python Development with uv.

PyData London Meetup December 2024
There will be a talk, Transforming Language Understanding Using Generative AI.

VilniusPY #27 
There will be a talk, Simplifying Python Development with uv.
  • Fantastic FastAPI features you want to use
  • AI case-study of scoris.lt

PyData Manchester Meetup December 2024
There will be following talks
  • Beyond Traditional Recommenders: Leveraging Graph Neural Networks for Food Delivery Platforms
  • Building Seamless Pipelines with DBT and Python

Hybrid: PyData Rhein-Main Meetup December 2024
There will be following talks
  • Boosting Time Series Accuracy: The Power of Ensemble Methods
  • Unleashing Confidence in SQL Development through Unit Testing

PyData Prague Meetup December 2024
There will be following talks
  • Processing problematic plants with Python
  • Beyond Accuracy: Engineering EU-Compliant LLM Systems
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.


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

Python Weekly - Issue 677

2024-11-22 00:00:00

Python Weekly - Issue 677

View this email in your browser

Python Weekly

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

News

PyPI now supports digital attestations
PyPI package maintainers can now publish signed digital attestations when publishing, in order to further increase trust in the supply-chain security of their projects. Additionally, a new API is available for consumers and installers to verify published attestations.


Articles, Tutorials and Talks

Why You Should Switch to SQLModel for FastAPI Projects 
When you develop an API, you might feel like you’re writing a lot of boilerplate code: routes, database schemas, the API interface, and so on. In this video, I’ll show you how to drastically reduce that boilerplate with SQLModel and FastAPI.

Playground Wisdom: Threads Beat Async/Await 
Musings about async await again and why I think virtual threads are a better model. 

Final Encoding in RPython Interpreters
The article discusses implementing a final encoding approach in RPython for interpreter design, focusing on a Brainf**k interpreter as an example. It explores the benefits of using final encoding over initial encoding, including potential performance improvements and a different architectural approach to building interpreters in RPython.

Introducing DjangoVer
The article introduces DjangoVer, a versioning system for Django-related packages that aligns the package version with the latest supported Django feature release. It provides clarity on compatibility, signaling maintenance and compatibility status through the version number while addressing limitations of traditional versioning systems like Semantic Versioning.

Python Tutorial: Stock Trading Bot 
This tutorial teaches how to build a stock trading bot using Django and TimescaleDB, covering data extraction from APIs, analysis, and automated recommendations. It integrates Celery for background processing and demonstrates advanced database queries in Django, showcasing the power of time series data handling for various applications beyond stock market analysis.

Is Python Really That Slow?
The post explores Python's perceived slowness, highlighting that it stems from its interpreted nature and focus on developer productivity rather than raw performance. By leveraging tools like C extensions, async programming, or just-in-time compilers, developers can often overcome performance concerns effectively.

PyPIM: Integrating Digital Processing-in-Memory from Microarchitectural Design to Python Tensors
PyPIM is an end-to-end architectural integration for digital memristive processing-in-memory (PIM), bridging the gap from high-level Python tensor operations to low-level microarchitecture. It includes an efficient microarchitecture, ISA, Python development library, and PIM driver, simplifying PIM application development and enabling easy conversion of existing Python programs to PIM.

Is async django ready for prime time?
Explore async Django's readiness for production use, its benefits, challenges, and how AI workloads can leverage its capabilities effectively.

PyData Tel Aviv 2024 Videos 
The videos of the talks from PyData Tel Aviv 2024 are now available.


Interesting Projects, Tools and Libraries

Deply
Keep your Python architecture clean.

garak
garak checks if an LLM can be made to fail in a way we don't want. garak probes for hallucination, data leakage, prompt injection, misinformation, toxicity generation, jailbreaks, and many other weaknesses. 

LAMBDA
A local AI-powered email automation system that learns from your email style and creates draft responses for every unread email in your (Gmail) inbox.

Ultravox
A fast multimodal LLM for real-time voice.

EasyAnimate
An End-to-End Solution for High-Resolution and Long Video Generation Based on Transformer Diffusion.

open-notebook
An Open Source implementation of Notebook LM with more flexibility and features.

browser-use
Make websites accessible for AI agents.

boltz
Democratizing Biomolecular Interaction Modeling.

MagicQuill
An Intelligent Interactive Image Editing System.

FireDucks
Compiler Accelerated DataFrame Library for Python with fully-compatible pandas API.


New Releases

Python 3.14.0 alpha 2 released


Upcoming Events and Webinars

PyBerlin Meetup November 2024
There will be following talks
  • If You Know Python, You Know Blockchain
  • Enterprise-ready FastAPI 
  • Python in music: OSC, MIDI and asyncio

PyLadies Paris Meetup November 2024
There will be following talks
  • Let’s exploit pickle, and `skops` to the rescue!
  • Privacy-Preserving Machine Learning With Fully Homomorphic Encryption (FHE)

PyData Amsterdam Meetup November 2024
There will be following talks
  • Using Bayesian modeling to Overcome Low Data Coverage
  • Adapting to change: dealing with data drift in energy waste prevention

PyCologne #2
There will be following talks
  • From chaos to clarity: Using LLMs to structure and validate your data
  • Designing & Deploying a Machine Learning Pipeline for E-Commerce Order Predictions
  • Introduction to AI Language Agents
  • Omelette Surprise de Python - Why managing wording in proper namespaces is key to success of a project

PyData Trojmiasto Meetup November 2024
There will be following talks
  • Low-Precision Data Formats for High-Performance AI
  • Make Llamas Run Faster: How to Speed Up LLM Inference

PyData Cluj-Napoca: Meetup #23
There will be following talks
  • Watt's Next? Using Python to Analyze and Cluster Energy Consumption Data
  • A Practical Introduction to RAGs

PyData Calgary Meetup November 2024
There will be a talk, Parallel Python for Data Processing: Embracing the Embarrassingly Parallel
.
PyData Exeter Meetup November 2024
There will be following talks
  • Pathway to Net Zero: Utilising Open Source Data to Gain Insights into Risks and Rewards of Net Zero Technologies,
  • Using Python to Help Optimize AAA Games
  • Enhancing Retrieval-Augmented Generation for Financial Document Processing
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.


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

Python Weekly - Issue 676

2024-11-15 00:00:00

Python Weekly - Issue 676

View this email in your browser

Python Weekly

Welcome to issue 676 of Python Weekly. Let's get straight to the links this week.
Articles, Tutorials and Talks

Python dependency management is a dumpster fire
This article is all about fire safety techniques and tools. It's about how you should think about dependency management, which tools you should consider for different scenarios, and what trade offs you'll have to make. Finally, it exposes the complexity and lingering problems in the ecosystem.

NanoDjango - single-file Django apps | uv integration 
NanoDjango is a cool package that lets you build small scripts using all the power of Django, and also supports django-ninja for APIs. We'll dive into NanoDjango in this video, and will use uv and inline script metadata for dependency management.

Everything I've learned so far about running local LLMs
A post about running large language models (LLMs) locally on a computer. It discusses what LLMs are and how to set them up to run on your own machine. The article also covers some of the limitations of LLMs, but highlights their potential for tasks like proofreading and creative writing.

Thoughts on Django’s Core
Django's longevity is attributed to its stable core, time-based releases, and API stability policy. While there's enthusiasm for expanding Django's features, the author argues that the core should remain focused and prioritize stability. Instead, the community should embrace third-party packages as a way to innovate and extend Django's capabilities without compromising its core.

Understanding Multimodal LLMs
An introduction to the main techniques and latest models.

The Polars vs pandas difference nobody is talking about
A closer look at non-elementary group-by aggregations.

The Practical Guide to Scaling Django
Most Django scaling guides focus on theoretical maximums. But real scaling isn’t about handling hypothetical millions of users - it’s about systematically eliminating bottlenecks as you grow. Here’s how to do it right, based on patterns that work in production.

Proposal for a Django project template
The author's take on what could be a project template for Django advanced usage, with modern tooling (for Python and UI dependencies, as well as configuration/environment management), but not too opinionated.

Flash Attention derived and coded from first principles with Triton (Python) 
This video provides an in-depth, step-by-step explanation of Flash Attention, covering its derivation, implementation, and underlying concepts. The presenter explains CUDA, Triton, and autograd from scratch, then derives and codes both the forward and backward passes of Flash Attention.


Interesting Projects, Tools and Libraries

chonkie
The no-nonsense RAG chunking library that's lightweight, lightning-fast, and ready to CHONK your texts.

Muon
Muon optimizer for neural networks: >30% extra sample efficiency, <3% wallclock overhead.

Protenix
A trainable PyTorch reproduction of AlphaFold 3.

Cosmos-Tokenizer
A suite of image and video neural tokenizers.

alphafold3
AlphaFold 3 inference pipeline.

TinyTroupe 
LLM-powered multiagent persona simulation for imagination enhancement and business insights.

pipe-operator
Elixir's pipe operator in Python.

weft 
A vim-like terminal reader to chat with your books.

TransformerEngine
A library for accelerating Transformer models on NVIDIA GPUs, including using 8-bit floating point (FP8) precision on Hopper and Ada GPUs, to provide better performance with lower memory utilization in both training and inference.

BeamerQt
PyQt-based application to create Beamer-LaTeX Presentations.


New Releases

Flask 3.1.0 Released


Upcoming Events and Webinars

PyData Berlin Meetup November 2024
There will be following talks
  • Running Python data transformations at scale with dbt and Astronomer Cosmos
  • Anomaly Detection in Track Scenes

Hybrid: PyMunich Meetup November 2024
There will be following talks
  • Beginner Friendly IoT in Python – Object Oriented design for writing IoT servers
  • Transforming Jupyter Notebooks into Web Apps: A Python-Powered Approach to Heat Planning

Portland Python User Group November 2024
There will be a talk, HTMX with Python.

PyData Milano Meetup November 2024
There will be following talks
  • From stringly typed to strongly typed: Insights from re-designing a library
  • Foundational Models for Time Series Forecasting: Are We There Yet?

PyData Munich Meetup November 2024
There will be following talks
  • Robust and Efficient Coupling of Perception to Actuation with Metric and Non-Metric Scene Representations
  • Understanding Context in the Wild - AI Testing Automated Driving Systems
  • Strategies Towards Reliable Scene Understanding for Autonomous Driving and Beyond
  • How to Unlock More Value from Self-Driving Datasets

PyDataMCR Meetup November 2024
There will be following talks
  • Developing High-Resolution Models for Future UK Climate Extremes
  • From Data Science to Data Engineering
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.


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