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 428 - C# different way to do a proof of concept

Thursday, September 19, 2024

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

💎 Issue 435 - Ruby-SAML pwned by XML signature wrapping attacks

Thursday, September 19, 2024

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

💻 Issue 435 - Oracle, it's time to free JavaScript

Thursday, September 19, 2024

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

📱 Issue 429 - iOS 18 breaks IMAPS self-signed certs

Thursday, September 19, 2024

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

💻 Issue 353 - Why React Won the Front-End Race

Thursday, September 19, 2024

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

💻 Issue 435 - DevSecOps Project: "Secure Full-Stack Node.js Web Application Deployment with Jenkins, Docker, Kubernetes, and HashiCorp Vault"

Thursday, September 19, 2024

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

📱 Issue 432 - Swift 6

Thursday, September 19, 2024

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

💻 Issue 430 - Days since last Minecraft server written in Rust was released

Thursday, September 19, 2024

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

Ranked | The Largest Producers of Wind Power, by Country ⚡

Thursday, September 19, 2024

Global wind power capacity hit fresh records in 2023 thanks to strategic government investment and lower technology costs. View Online | Subscribe | Download Our App Presented by: NEW REPORT: Brought

🧠 ChatGPT Passed the Turing Test — 5 Tips to Make Your Laptop Last Longer

Thursday, September 19, 2024

Also: How to Sideload Apps on Android TV, and More! How-To Geek Logo September 19, 2024 Did You Know Babies seem to have such large eyes because humans are born with eyes approximately 75 percent of