Python Weekly (Issue 607 July 6 2023)

Python Weekly - Issue 607

Python Weekly

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

From Our Sponsor 

A weekly newsletter featuring the best hand curated news, articles, tutorials, talks, tools and libraries etc for programmers.

Articles, Tutorials and Talks

GPT Engineer is another nail in the coffin of software developers. In this video, I'll show you how it works. The tool is crazy powerful. Just specify what you want it to build, and then, well, it just builds it. I’ll show you how it works in today's video and share my thoughts on where this technology might lead us.

The first installment of this series shows how to implement the lexer, parser and interpreter for a very simple version of the language that did only one thing: print numbers.

  • Part 2 - In the second part, we'll extend the language to support variables and mathematical expressions.

A primer on the pgvector’s Inverted File Flat (ivfflat) algorithm for approximate nearest neighbor search.

A comprehensive collection of practical tips and examples showcasing various command-line interface (CLI) tools available in the Python Standard Library, providing valuable guidance for developers looking to leverage these built-in functionalities for efficient scripting and automation.

Every now and then, I get a PR from a well-meaning contributor trying to add __all__ to a Python module for whatever reason. I always decline these, they are unnecessary (at least for the way I structure my code) and I thought I’d write a short post explaining why.

No, it’s not (just) run-parallel – let’s cut the local tox runtime by 75%!

In this article Mariusz Felisiak introduces concepts of Django's Managers and QuerySet to organize common database queries.

In this video I show I was able to install an open source Large Language Model (LLM) called h2oGPT on my local computer for 100% private, 100% local chat with a GPT.

Using the AWS Parameters and Secrets Lambda Extension can speed up your Lambda code and save you money. In this practical example we will go through a full example, complete with a couple of gotchas I found that could catch you out.

The article also provides some tips on how to make the code generated by ChatGPT more maintainable, such as using short functions, splitting the code into smaller files, and using comments to explain the code.

Interesting Projects, Tools and Libraries

Easily migrate your codebase from one framework or language to another.

A blazing fast, lightweight, and simple vector database written in less than 200 lines of code.

Reference implementations of several LangChain agents as Streamlit apps.

aider is GPT powered coding in your terminal.

Large-scale, Informative, and Diverse Multi-round Dialogue Data, and Models.

GitHub token permissions Monitor and Advisor actions.

A tiny nearest-neighbor embedding database built with SQLite and Pytorch.

A PyTorch Library for Efficient Neural Network Training

Data visualisation and ray tracing in Python based on NVIDIA OptiX framework.

FastAPI Dependency Injection system extracted from FastAPI and cleared of all HTTP logic. Async and sync modes are both supported.

New Releases

Upcoming Events and Webinars

There will be following talks

  • Modeling mental hops from one word to the next with NLP and Python

  • How to be a good reviewer: Be honest, nice and a bad ass

There will a talk, Exploring number theory with Python.

There will be a talk, Getting Started with watsonx and Caikit.

There will be a talk, AutoML as it Always Should Have Been.

Our Other Newsletters

 - A free weekly newsletter for programmers.

- A free weekly newsletter for entrepreneurs featuring best curated content, must read articles, how to guides, tips and tricks, resources, events and more.