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 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.

Python Weekly - Issue 675

2024-11-08 00:00:00

Python Weekly - Issue 675

View this email in your browser

Python Weekly

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

PyCon US 2025 Call for Proposals
PyCon US 2025 is now accepting proposals for Talks, Charlas, Tutorials and Posters until December 19, 2024. 

Octoverse: AI leads Python to top language as the number of global developers surges
The Octoverse 2024 report highlights significant growth in global developer activity on GitHub, with Python overtaking JavaScript as the most popular language and a surge in AI-related projects.


Articles, Tutorials and Talks

Basilisp: Clojure on the Python VM 
Everyone knows Clojure runs on the JVM and CLR, in Node, and in the browser, but what about Python? Basilisp is a mostly-compatible implementation of Clojure for Python, enabling users who may not be familiar with Java or JavaScript to experience the joy of Clojure.

Don't return named tuples in new APIs
Named tuples should generally be avoided in new APIs, as they add unnecessary complexity by supporting both index-based and attribute-based data access, leading to potential misuse and added maintenance. Instead, using options like data classes or typed dictionaries can offer clearer, more structured code with similar benefits.

OLMo: Accelerating the Science of Language Modeling (COLM) 
The OLMo project aims to create powerful, fully open language models accessible to researchers, including open-source code for data, training, and inference. This initiative addresses the need for transparency in AI research by providing a comprehensive framework for building and studying language models, enabling investigation of biases, risks, and fundamental challenges in current models.

A Comprehensive Guide to Python Project Management and Packaging: Concepts Illustrated with uv – Part I
The goal of this guide is to provide a comprehensive guide to Python project management and packaging. We’ll explore concepts in the standard, like the different tables in pyproject.toml by revisiting the PEPs that led to what we have today. We’ll explain what was used before, why it needed to change, and how the changes provided by the PEPs solved the issues. This walkthrough of the historical context is important to understand current practices.

Step-by-Step Python Package Deployment with GitHub Actions 
Publishing a Python package doesn't have to be overwhelming! This video walks you through the entire deployment process step-by-step. You'll learn how to automate releases with GitHub Actions and how to successfully publish your package on PyPi.

Why Durable Execution Should Be Lightweight
How to make your programs crashproof without changing the way they're built.

Tiny GraphRAG (Part 1)
A tiny 1000 line implementation of GraphRAG in Python.

Host a FastAPI Application Without a Server
FastAPI, true to its name, is among the fastest frameworks for building APIs. It is a go-to choice for developers aiming to create APIs with speed and ease. Traditionally, hosting and sharing a FastAPI server involves setting up cloud environments, which can be time-consuming. In this article we’ll demonstrate how to bypass that complexity and instantly share your FastAPI server from localhost with a single command using Pinggy.


Interesting Projects, Tools and Libraries

hertz-dev
First base model for full-duplex conversational audio.

Integuru
The first AI agent that builds third-party integrations through reverse engineering platforms' internal APIs.

Docling
Get your documents ready for gen AI.

digit360
Digit 360 is a modular platform that unlocks new capabilities, and enables future research on the nature of touch.

mac_computer_use
A fork of Anthropic Computer Use that you can run on Mac computers to give Claude and other AI models autonomous access to your computer.

tinylangs
Real programming languages in 50 lines of code.

ToolGit
ToolGit is a collection of scripts that extend Git with various sub-commands to make life easier.

terminal-tree
An experimental filesystem navigator for the terminal, built with Textual.

browser-use
Open-Source Web Automation library with any LLM.

venvstacks
Virtual environment stacks for Python.

code-embedder
Keep your code snippets in README up-to-date!


New Releases

Django bugfix release issued: 5.1.3


Upcoming Events and Webinars

PyData NYC Meetup November 2024
There will be following talks
  • Connecting the Dots - From Network Science to Spatial Analytics
  • Build a local AI co-pilot using open-source Granite Code, Ollama, and Continue

Hybrid: PyMNtos Python Presentation Night #130
There will be following talks
  • Build Reliable Python Applications, Faster: Durable Execution with Temporal
  • Improving - Temporal in the Wild

Hybrid: IndyPy - AI & Data for Good
Data science experts Amrutha Pulikottil and Zach Cardwell will share insights on how AI and data are driving progress in health equity and resource distribution. Discover how Python and other technologies are creating real social impact.

Hybrid: PyData Chicago Meetup November 2024
There will be following talks
  • Validation-Driven Development
  • AI-Powered Wardrobe Optimization: Merging Fashion with Machine Learning

PuPPy Meetup November 2024
There will be following talks
  • Elevating Conversational AI: Best Practices for Developing Effective GenAI Systems
  • Introduction to GraphRAG

Cleveland Python Meetup November 2024
There will be a talk, Medcopia: Automating Alerts for Drug Shortages Using Python.
 
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 674

2024-10-31 23:00:00

Python Weekly - Issue 674

View this email in your browser

Python Weekly

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

Be Careful With Removing Code Duplication 
This video refactors some tricky, hard-to-detect code duplication, provides an example of when it’s best to leave duplicated code as is, and shares a few tips on how to avoid duplication altogether.

Investigation of a Workbench UI Latency Issue
Netflix engineers investigated a JupyterLab UI latency issue in their Workbench product, tracing it to an unexpected interaction between a resource usage extension and memory allocation. The root cause was identified as the extension's performance degrading linearly with increased virtual memory usage, despite available physical memory.

From Python to CPU instructions: Part 1
In the first part of a two-part series, we’ll compare the same program written in C and Python to reveal what Python hides from us. 
  • Part 2 - In the second part, we’ll dive into how the C program translates into CPU instructions, exploring what the computer does with our human-readable code.

Embeddings are underrated 
The article provides an introduction to embeddings in machine learning, explaining their role in converting data (like text) into numerical representations that capture semantic meaning. It covers various types of embeddings and techniques, showing how they improve tasks such as search and recommendation systems.

You Should Probably Pay Attention to Tokenizers
This article emphasizes the importance of understanding tokenizers in AI applications, particularly for Retrieval-augmented generation (RAG) systems. The author demonstrates how different tokenizers handle various types of text input, including emojis and misspelled words, and explains how tokenization affects embedding quality and overall performance in natural language processing tasks.

Zero Downtime Django Deployments with Multistep Database Changes
Preventing downtime during deployments is crucial for maintaining service availability and ensuring a positive user experience. Blue-green deployments have emerged as a popular strategy to achieve this goal. However, they introduce challenges, especially when dealing with database changes. This article delves into what blue-green deployments are, why database changes can be tricky in this context, and how to navigate common change scenarios effectively in Django.

PyBay 2024 Videos 
The talks from PyBay 2024 are now available online.

Adding keyboard shortcuts to the Python REPL
The article discusses how to enhance the Python REPL (Read-Eval-Print Loop) by adding custom keyboard shortcuts to improve efficiency and user experience. It provides step-by-step instructions for implementing these shortcuts, enabling users to navigate and execute commands more effectively.


Interesting Projects, Tools and Libraries

ClickPy
PyPI analytics powered by ClickHouse.

sudoku-in-python-packaging
Solve sudokus not in python, but in python packages.

Mochi 1
The best OSS video generation models.

Moonshine
Fast and accurate automatic speech recognition (ASR) for edge devices.

llm-jq
Write and execute jq programs with the help of LLM.

Wimsey 
A fast, lightweight and easy data contract library.

Finstruments
Financial instrument definitions built with Python and Pydantic.

Mininterface 
A minimal interface to Python application.


Upcoming Events and Webinars

Michigan Python Meetup November 2024
There will be a talk, Build Multi-Platform Apps with Flet and Python.

PyData London Meetup November 2024
There will be following talks
  • Valuable lessons learned on Kaggle's ARC AGI (LLM) Challenge
  • Unlocking Scalability: Building High-Capacity Vector Databases with Open-Source Techniques 
  • Turn YouTube videos & podcasts into readable Markdown with Whisper and LLMs 

PyData Stockholm Meetup November 2024
There will be following talks
  • How do LLMs work? Building intuition on Neural Networks, Transformers, and LLMs
  • Building RAG for Financial Data: LLM-Powered Hackathon Success in 36 Hours

PyData Prague Meetup November 2024
There will be following talks
  • Multi-Agent Frameworks: Teaming Up Specialized AI Models to Tackle Complex Tasks
  • Low-Tech ETL
  • Peek into Threat Intelligence

PyData Montreal Meetup November 2024
There will be following talks
  • Python as an orchestrator for a RAG (retrieval-augmented generation) Architecture
  • Advancing Deep Learning and Vision Efficiency with Mamba, VMamba, and Vim
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.