Python Weekly (Issue 628 November 30 2023)

Python Weekly - Issue 628

Python Weekly

Welcome to issue 628 of Python Weekly. One of the

Y Combinator

companies is looking for a

Founding Engineer

with 6+ years of experience, expertise in ETL, graph DBs, and Python-based REST backends, ready to build cutting-edge solutions for B2B Sales Tech. This role is remote in the US. I know the founders of this company well. If you possess the necessary skills and experience and are interested, ping me with your resume.

From Our Sponsor 

Whether you're diving into AI-assisted applications, enhancing your AI-assisted development skills, or fine-tuning AI models,

cheat sheet is for you! Explore secure coding recommendations, practical security tips, and expert insights to develop vulnerability free applications while using AI.

Articles, Tutorials and Talks

Andrej Karpathy's talk on introduction to Large Language Models covering the core technical component behind systems like ChatGPT, Claude, and Bard. What they are, where they are headed, comparisons and analogies to present-day operating systems, and some of the security-related challenges of this new computing paradigm.

Join us on an enlightening journey that starts with opendal op.read() and unfolds with surprising twists, as the author shares their learnings along the way.

A quick overview of the new Numba engine in DataFrame.apply.

An educational resource produced by OpenAI that makes it easier to learn about deep reinforcement learning (deep RL).

Safer error handling, inspired by Go and Rust.

In a lot of my previous interpreter/compiler projects written in Python I hand-rolled a REPL (read-eval-print-loop). It turns out that Python comes with a bunch of batteries included and this is totally unnecessary—you get a lot of goodies for free. Let’s take a look at how to use them, starting from embedding a normal Python REPL in your project.

In this post, David Smith explores creating a Bootstrap-styled form in vanilla Django without relying on third-party packages. He discusses customizing form widgets, adding CSS classes, and creating a custom field template.

Python 3.12 introduced a new API for “sub interpreters”, which are a different parallel execution model for Python that provide a nice compromise between the true parallelism of multiprocessing, but with a much faster startup time. This post will explain what a sub interpreter is, why it’s important for parallel code execution in Python and how it compares with other approaches.

Understand how objects are implemented in CPython and how CPython emulates Inheritance and Polymorphism in C using struct embedding.

This is an article about a father who created a chatbot named Robot Dad to answer his son’s questions. The chatbot is able to access and process information from the real world through Google Search. Robot Dad can also be used to translate languages.

Interesting Projects, Tools and Libraries

Build ChatGPT over your data, all with natural language.

Easy Linux Kernel Builder.

A Terminal Kanban Application written in Python to boost your productivity.

From Robotic Process Automation to Agentic Process Automation.

Easily add metrics to your code that actually help you spot and debug issues in production. Built on Prometheus and OpenTelemetry.

Open-source subtitle generation for seamless content translation.

A Distributed Version Control System with a Friendly UI.

Flask-Muck is a batteries-included framework for automatically generating RESTful APIs with Create, Read, Update and Delete (CRUD) endpoints in a Flask/SqlAlchemy application stack.

A framework to enable multimodal models to operate a computer.

This project offers a demonstration of an Apple Home Key Reader built in Python.

Sysaidmin is a GPT-powered sysadmin for your machine. You can ask it to solve a problem, and it will run commands on your system (with your permission) to debug what's going on.

Meditron is a suite of open-source medical Large Language Models (LLMs).

Inline dependencies for small Python scripts.

Upcoming Events and Webinars

There will be a talk, Practical Detection Engineering in Cybersecurity using Polars.

There will be following talks

  • Smart Banking: Unraveling the Potential of Artificial Intelligence

  • Multi-Model Optimisation in Payment Processing

  • Model Selection in Fintech: The Pros and Cons

There will be following sessions

  • The Python Dependency Manager Showdown

  • Why I switched to Windows

There will be following talks

  • Requalification: How to Succeed as an Entry-Level Developer

  • Moving Python Projects to K8s

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.