Python Weekly (Issue 626 November 16 2023)

Python Weekly - Issue 626

Python Weekly

Welcome to issue 626 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.

News

The audit was conducted by Trail of Bits, a cybersecurity firm, and it focused on the Warehouse codebase and the cabotage container orchestration framework. The auditors found 29 advisories, but none were classified as high severity. The PyPI team has remediated all of the advisories that posed a significant risk.

Articles, Tutorials and Talks

Monads are a well-known concept in functional programming languages like Haskell, but are they useful in other contexts? Stay tuned, and by the end of this video, you will understand what monads are.

Have you ever wondered how debuggers work? What happens when you set a breakpoint and hit it later? Debuggers are tools that we as developers use daily in our work, but few know how they are actually implemented. Here is a 4-part series on writing a Python debugger from scratch.

Picture this: you’re sitting there, writing a compiler, when all of a sudden you have to generate assembly. You have some intermediate representation (IR) but now you have to turn virtual registers into machine registers. This is called register allocation. Register allocation is tricky. It’s also slow. Even very fast register allocators like linear scan can dominate compile time. So let’s skip it. Let’s write a silly compiler in Python and see if we can improve the generated code without going full regalloc.

This is an article about querying a dataset of Python package information. It discusses how to download the dataset and what information it contains. The dataset can be used to answer questions about Python package trends. For example, it can be used to track the adoption of new packaging metadata standards.

Learn how to supercharge your Django app with full-text search using Django-Watson. Dive deep into Postgres magic and boost search functionality.

This post discusses the issue of PyPI package name squatting and how it can be exploited by attackers to distribute malicious code.

An in-depth analysis of how World of Warships obfuscates its game scripts and how to mostly deobfuscate them. 

Zac Hatfield-Dodds, the Assurance Team Lead at Anthropic, speaks with host Gregory M. Kapfhammer about property-based testing techniques and how to use them in an open-source tool called Hypothesis. They discuss how to define properties for a Python function and implement a test case in Hypothesis. They also explore some of the advanced features in Hypothesis that can automatically generate a test case and perform fuzzing campaigns.

Interesting Projects, Tools and Libraries

The easiest way to build scalable LLM-powered applications, which get cheaper and faster over time.

Video Editing as a Code.

Open-source digital stylus using camera tracking and inertial measurements.

David Attenborough narrates your life.

Hackable AI Powered Mirror on your laptop.

Query CSV, JSON and Parquet files with SQL.

Easily take an entire YouTube playlist and turn it into high quality transcripts using Whisper.

Browse the web with GPT-4V and Vimium.

Implementation of multi object tracking algorithms including PMBM (Poisson Multi Bernoulli Mixture filter) in Python.

Upcoming Events and Webinars

There will be following talks

  • Pinkie Pacts - Consumer Based Contract Testing

  • An Introduction to Risk Modelling in Reinsurance, with Python

There will be following talks

  • Unlocking insights about Women’s Health using the ClinicalTrials.gov API

  • Matching Patients to Clinical Trials Using Neo4j Vector Search

There will be following talks

  • Kubernetes Operators: the Pythonic Way

  • Vision Architectures on Edge Devices

There will be following talks

  • Become a Data Storyteller with Streamlit!

  • Retrieval Augmented Generation (RAG) In Practice

There will be following talks

  • Yours Sincerely, Streamlit

  • Fleet Monitoring: Building a Scalable Cloud App with Django and Plotly Dash

There will be following talks

  • Trends and Challenges in LLM Systems

  • AI-Pocalypse or AI-Revolution? - The role of Product Managers as AI guardians

There will be following talks

  • Intro to FastAPI: Tips and Tricks for ML

  • Who needs ChatGPT? Rock solid AI pipelines with Hugging Face and Kedro

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.