Python Weekly (Issue 624 November 2 2023)

Python Weekly - Issue 624

Python Weekly

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

This tutorial will guide you through API testing using FastAPI, complete with a full code example. Use this as a template for testing your own APIs!

In this post, we will go through a journey of profiling and iteratively speeding up the code, in Python.

This article discusses the challenges of porting a Python package from setup.py to pyproject.toml and the lack of clear guidance. 

This course covers three advanced trading strategies. First, it focuses on Unsupervised Learning with S&P 500 data, followed by a Twitter Sentiment Investing Strategy for NASDAQ stocks, and an Intraday Strategy using the GARCH model and technical indicators to identify daily and intraday trading signals, enriching your financial skill set.

Latent consistency models (LCMs) are based on Stable Diffusion, but they can generate images much faster, needing only 4 to 8 steps for a good image (compared to 25 to 50 steps). By running an LCM on your M1 or M2 Mac you can generate 512x512 images at a rate of one per second.

This article discusses why the Django admin is not designed to be beautiful. It discusses the history of the Django admin and the reasons why it was designed the way it is. Some of the important points are that the Django admin is intended for internal use and not intended for building an entire front end around.

If you're interested in the practical applications of AI and Large Language Models (LLMs), you'll find value in this talk and live demo. The presentation goes beyond theory to include real-world examples and best practices, including a GitHub repository packed with Python code and ChatGPT-like app examples that will help you spin up your own app. 

This post discusses the limitations of using requirements.txt for package management in Python projects. The author suggests using Poetry instead, which is a package manager that simplifies dependency management and provides additional features such as virtual environments and lock files.

Build a simple monorepo using GitHub Actions as a CI/CD tool.

Interesting Projects, Tools and Libraries

Bring AI to your favourite database! Integrate, train and manage any AI models and APIs directly with your database and your data.

Esmerald is a modern, powerful, flexible, high performant, web framework designed to build not only APIs but also full scalable applications from the smallest to enterprise level.

A code generation tool to help you build cloud backend services.

De4py are an Advanced python deobfuscator with a beautiful UI and a set of Advanced features that enables malware analysts and reverse engineers to deobfuscate python files and more.

An LLM-powered advanced RAG pipeline built from scratch.

A bootloader and experimentation playground for Apple Silicon.

A cross-domain diffusion model for 3D reconstruction from a single image.

LearnHouse is an open source platform that makes it easy for anyone to provide world-class educational content and it offers a variety of content types : Dynamic Pages, Videos, Documents & more.

A modern shell.

lea is a minimalist alternative to tools like dbt, SQLMesh, and Google's Dataform.

An Autonomous LLM Agent for Complex Task Solving.

CI/CD Security Analyzer.

New Releases

Upcoming Events and Webinars

There will be a talk, Selenium and Python.

There will be following talks

  • Simplifying Real-Time ML Pipelines with Quix Streams

  • Transformers Inside Out

  • Python in Excel

  • Sometimes the music and playlists we hear don't hit our mood we are feeling, can AI help with this ? 

There will be following talks

  • TensorRT LLM Nvidia

  • CTranslate2 and vLLM

  • LLM state at the moment I stopped reading Twitter today

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.