Python Weekly - Python Weekly - Issue 664

View this email in your browser

Python Weekly

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

Python's Preprocessor
Every now and then you hear outrageous claims such as “Python has no preprocessor”. This is simply not true. In fact, Python has the best preprocessor of all languages - it quite literally allows us to do whatever we want, and a lot more. It’s just a little tricky to (ab)use.

Try LangChain with Python and Upstash Vector 
The video covers setting up a Lang chain for custom data sets using a variety of tools like Python, Jupyter, and OpenAI, demonstrating API creation, embedding models, and vector database integration. It also discusses implementing rate limiting in a FastAPI application and setting up agents for querying and handling data.

How to build a query language in Python
The article discusses the complexities and challenges of building a custom query language, highlighting key considerations such as syntax design, parsing, and execution. It provides insights and practical tips for developers looking to create or improve their own query languages.

Rye and uv: August is Harvest Season for Python Packaging
The post discusses the evolution of Python packaging tools, highlighting the recent advancements in uv and its potential to become the dominant tool in the space. 

Coding a Multimodal (Vision) Language Model from scratch in PyTorch with full explanation 
The video explains how to code a visual language model from scratch using PyTorch, covering topics such as vision transformers, contrastive learning, and language models. It provides a detailed walkthrough of implementing various components, including the vision encoder, language model, and how to combine image and text embeddings, with explanations of key concepts like attention mechanisms and normalization.

Gemma for Streaming ML with Dataflow
The article demonstrates how to integrate Google's Gemma 2 language model into a Dataflow pipeline for real-time sentiment analysis and response generation in customer support chats. It provides a practical example of using Gemma to process streaming data, including code snippets for creating prompts, running inference, and handling model outputs within a scalable data processing framework.

Saving Scrapy Crawl Stats to PostgreSQL with a Custom Extension and SQLAlchemy
The post explains how to extend Scrapy to save crawl statistics directly into a PostgreSQL database, detailing the implementation process and configuration needed. It provides a guide for integrating Scrapy with PostgreSQL to enhance data management and analysis.


Interesting Projects, Tools and Libraries

RAG_Techniques
This repository showcases various advanced techniques for Retrieval-Augmented Generation (RAG) systems.

LabelU
Data annotation toolbox supports image, audio and video data.

awaitless 
Making asyncio less painful in ipython.

NomadNet
Off-grid, resilient mesh communication with strong encryption, forward secrecy and extreme privacy.

Qik
Qik is a command runner that understands the import graph, allowing you to cache commands and only run the things that matter. Can dramatically speed up CI/dev in large monorepos.

Pare
Pare is the easiest way to deploy Python Lambdas alongside your primary web application.

llmio
A Lightweight Library for LLM I/O.


Upcoming Events and Webinars

BayPIGgies Meetup August 2024
There will be following talks
  • Zero Code Change GPU-Accelerated Data Science in Python
  • Scalene to keep your code fast enough

Virtual: Python New Zealand Meetup August 2024
There will be following talks
  • The mechanics of matplotlib and how one could embed charts into various outputs
  • ReportLab PDF Toolkit

Virtual: PyLadies Amsterdam Meetup August 2024
There will be a workshop, Build a Data Science Portfolio that Gets You Noticed.

PyData Amsterdam Meetup August 2024
There will be following talks
  • Payments Data Science at Uber
  • Exploring ESG performance in job ads through AI and Data Science
  • Polar Expedition: Speed and Developer Experience Insights of transitioning ML pipelines to Polars

PyData Zurich Meetup August 2024
There will be following talks
  • Streamlining Python Development: A Practical Approach to CI/CD with GitHub Actions
  • Fast and user-friendly GLMs with glum 3

PyData Calgary Meetup August 2024
There will be a talk, AI Beyond the hype: Applying Large Language Models and Agentic AI to simplify knowledge curation and retrieval.
 
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 663

Tuesday, August 20, 2024

View this email in your browser Python Weekly Welcome to issue 663 of Python Weekly. Let's get straight to the links this week. Articles, Tutorials and Talks From Boring Object-Oriented to INSANE

Python Weekly - Issue 662

Thursday, August 8, 2024

View this email in your browser Python Weekly Welcome to issue 662 of Python Weekly. Let's get straight to the links this week. Articles, Tutorials and Talks FINALLY Python is Getting Rid of the

Python Weekly - Issue 661

Thursday, August 1, 2024

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

Thursday, July 25, 2024

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

Thursday, July 18, 2024

View this email in your browser Python Weekly Welcome to issue 659 of Python Weekly. Let's get straight to the links this week. News Binary secret scanning helped us prevent (what might have been)

You Might Also Like

💻 Issue 435 - Microsoft Introduces Modern Web App Pattern for .NET: Accelerating App Modernization to the Cloud

Thursday, November 7, 2024

This week's Awesome .NET Weekly Read this email on the Web The Awesome .NET Weekly Issue » 435 Release Date Nov 07, 2024 Your weekly report of the most popular .NET news, articles and projects

💎 Issue 442 - Low-poly image generation using evolutionary algorithms in Ruby

Thursday, November 7, 2024

This week's Awesome Ruby Newsletter Read this email on the Web The Awesome Ruby Newsletter Issue » 442 Release Date Nov 07, 2024 Your weekly report of the most popular Ruby news, articles and

💻 Issue 437 - Feds: Critical Software Must Drop C/C++ by 2026 or Face Risk

Thursday, November 7, 2024

This week's Awesome Rust Weekly Read this email on the Web The Awesome Rust Weekly Issue » 437 Release Date Nov 07, 2024 Your weekly report of the most popular Rust news, articles and projects

💻 Issue 442 - JavaScript's ??= Operator

Thursday, November 7, 2024

This week's Awesome JavaScript Weekly Read this email on the Web The Awesome JavaScript Weekly Issue » 442 Release Date Nov 07, 2024 Your weekly report of the most popular JavaScript news, articles

📱 Issue 436 - iOS 18.1: Take a Hearing Test with AirPods Pro 2

Thursday, November 7, 2024

This week's Awesome iOS Weekly Read this email on the Web The Awesome iOS Weekly Issue » 436 Release Date Nov 07, 2024 Your weekly report of the most popular iOS news, articles and projects Popular

📱 Issue 439 - GitHub Copilot for Xcode is now available! ✈️ Am I late to talk about this ? 😅

Thursday, November 7, 2024

This week's Awesome Swift Weekly Read this email on the Web The Awesome Swift Weekly Issue » 439 Release Date Nov 07, 2024 Your weekly report of the most popular Swift news, articles and projects

💻 Issue 360 - Why Virtual DOM: Faster Rendering and Performance

Thursday, November 7, 2024

This week's Awesome React Weekly Read this email on the Web The Awesome React Weekly Issue » 360 Release Date Nov 07, 2024 Your weekly report of the most popular React news, articles and projects

💻 Issue 442 - Node.js Frameworks Roundup 2024 — Elysia / Hono / Nest / Encore — Which should you pick?

Thursday, November 7, 2024

This week's Awesome Node.js Weekly Read this email on the Web The Awesome Node.js Weekly Issue » 442 Release Date Nov 07, 2024 Your weekly report of the most popular Node.js news, articles and

💻 Why I Still Buy Hard Drives for My PC — Avoid Filling Your iPhone Up With Screenshots

Thursday, November 7, 2024

Also: Perfecting Your PlayStation 5 Remote Play Setup, and More! How-To Geek Logo November 7, 2024 Did You Know It's not the coloration or flavor that gives grapefruit its name, but the way that

JSK Daily for Nov 7, 2024

Thursday, November 7, 2024

JSK Daily for Nov 7, 2024 View this email in your browser A community curated daily e-mail of JavaScript news Unveiling the New Angular 3D Circular Charts Component The Angular 3D Circular Charts