Python Weekly - Python Weekly - Issue 639

View this email in your browser

Python Weekly

Welcome to issue 639 of Python Weekly. Let's get straight to the links this week.
From Our Sponsor 
 
  Take control of your software supply chain with Docker Scout! Enhance security, ensure compliance, and boost productivity. Seamlessly integrate with your developer tooling ecosystem for more reliable and secure development. Learn more about Docker Scout now!

Articles, Tutorials and Talks

Let's build the GPT Tokenizer 
The Tokenizer, essential for Large Language Models (LLMs), translates between strings and tokens, operating as a distinct stage with separate training sets and algorithms. This lecture builds the GPT series Tokenizer from scratch, uncovering peculiar behaviors in LLMs linked to tokenization. We explore these issues, attributing them to tokenization, and consider the ideal scenario of eliminating this stage altogether."

5 Tips to Safely Use Credentials in Your Python Project 
Learn 5 simple tips to help keep your Python credentials safe and fix problems quickly if they occur.

Building an LLM from scratch
Learn how to build a modern language model with all the bells and whistles completely from scratch: from vanilla Python to functional coding assistant

Tracing System Calls in Python
The article discusses the author's development of a tool added to Cirron that enables the tracing of system calls made by Python code. It provides an example of tracing the "print" function and explains the tool's implementation using the strace tool for effective analysis. The article also outlines the initial intention to use the ptrace syscall for implementation and the subsequent utilization of the strace tool for handling complexity.

Using IPython Jupyter Magic Commands to Improve the Notebook Experience
A post on creating a custom IPython Jupyter Magic command.

The simplest way to add a Django worker (Using AWS Chalice)
The article discusses the utilization of AWS Chalice to incorporate a Django worker, enabling the use of a lambda function as a serverless background worker for any application. This approach allows the lambda function to run in the background without blocking the main thread of the app, and it can call an endpoint on the Django app when completed, offering the advantage of using any Python library in the lambda function without requiring lambda layers or other AWS-specific configurations.

How to dockerize a Django, Preact, and PostgreSQL Application
Dockerizing your Django application can be intimidating, but the rewards outweigh the risks. In this guide, Charlie Macnamara walks you through the setup process so you can get the most out of your applications.

Algorithmic Art with Python 
In this talk we’re going to start from nothing and build out our own tools for making art in Python, no AI needed! We’ll show how Python’s expressiveness allows us to describe graphics elegantly and use that to make some unique art programmatically.

Deploy a Serverless FastAPI App with Neon Postgres and AWS App Runner at any scale
Create a serverless API using FastAPI, deployed on AWS App Runner and powered by Neon Postgres.


Interesting Projects, Tools and Libraries

uv
An extremely fast Python package installer and resolver, written in Rust. Here is a post that goes in to details of uv.


OS-Copilot
An self-improving embodied conversational agent seamlessly integrated into the operating system to automate our daily tasks.

Owl 
A personal wearable AI that runs locally.

Alto
Serverless for data practitioners. The fastest way to run your code in the cloud. Effortlessly run scripts, functions, and Jupyter notebooks in virtual machines.

magika
Detect file content types with deep learning.

Streamline-Analyst
An AI agent powered by LLMs that streamlines the entire process of data analysis.

minbpe
Minimal, clean, code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.

Hyperdiv
Build reactive web UIs in Python.

UFO
A UI-Focused Agent for Windows OS Interaction.


New Releases

Python 3.13.0 alpha 4


Upcoming Events and Webinars

Oxford Python Meetup February 2024
There will be a talk, Getting Started with PyO3.

PyLadies Amsterdam Meetup February 2024
There will be a workshop, Fine-tuning text-to-image diffusion models for personalization and more.

PyData Toronto Meetup February 2024
There will be following talks
  • Text Processing on Data for interacting with LLMs
  • Causal Inference: Creating counterfactuals and their applications in Paid Marketing

PyData Lisbon Meetup February 2024
There will be following talks
  • Mastering Python Projects with Poetry
  • LLMs in Production aka LLMOps

PyData Prague Meetup February 2024
There will be following talks
  • Unlocking Efficiency - The Power of Vectorization
  • Jupyter(Hub/Lab) - Journey from On-prem to AWS
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 638

Monday, February 19, 2024

View this email in your browser Python Weekly Welcome to issue 638 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Take control of your software supply chain with

Python Weekly - Issue 637

Thursday, February 8, 2024

View this email in your browser Python Weekly Welcome to issue 637 of Python Weekly. Let's get straight to the links this week. Articles, Tutorials and Talks Rye: a Hassle-Free Python Experience

Python Weekly - Issue 636

Thursday, February 1, 2024

View this email in your browser Python Weekly Welcome to issue 636 of Python Weekly. Let's get straight to the links this week. Articles, Tutorials and Talks Getting Started With CUDA for Python

Python Weekly - Issue 635

Thursday, January 25, 2024

View this email in your browser Python Weekly Welcome to issue 635 of Python Weekly. Let's get straight to the links this week. Articles, Tutorials and Talks Method chaining in Pandas What is

Python Weekly - Issue 634

Thursday, January 18, 2024

View this email in your browser Python Weekly Welcome to issue 634 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Get Your Weekly Dose of Programming A weekly

You Might Also Like

RD#454 API Layer & Fetch Functions

Sunday, May 5, 2024

ixing API and UI code quickly leads to messy and unmaintainable code ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

The Shiny Toy Syndrome & Tiny macOS utility apps I love

Sunday, May 5, 2024

Lex launching its redesign, Raycast shares another monthly update packed with AI updates, prompts should be designed not engineered, and a lot more in this week's issue of Creativerly. Creativerly

Hyundai antes up $1B for AV startup Motional and Elon unplugs the Tesla Supercharger team

Sunday, May 5, 2024

Plus, layoffs come for Luminar, Fisker and Ola View this email online in your browser By Kirsten Korosec Sunday, May 5, 2024 Image Credits: Motional Welcome back to TechCrunch Mobility — your central

C#504 Adventures serializing absolutely everything in C#

Sunday, May 5, 2024

A fantastic journey porting Newtonsoft.Json to System.Text.Json ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Sunday Digest | Featuring 'Which City Has the Most Billionaires in 2024?' 📊

Sunday, May 5, 2024

Every visualization published this week, in one place. Visual Capitalist Sunday Digest logo May 5, 2024 | View Online | Subscribe | VC+ The Best of This Week's Visuals Presented by Voronoi: The

The dark side of startup accelerators

Sunday, May 5, 2024

Plus: No easy solution to AI hallucinations View this email online in your browser By Anthony Ha Sunday, May 5, 2024 Image Credits: Bryce Durbin This Week, TechCrunch dug into the struggles at two

Android Weekly #621

Sunday, May 5, 2024

View in web browser 621 May 5th, 2024 Articles & Tutorials Sponsored Genius Scan SDK: a document scanner in your app Embed a reliable document scanner with OCR in your app, enabling your customers

This Week's Daily Tip Roundup

Sunday, May 5, 2024

Missed some of this week's tips? No problem. We've compiled all of them here in one convenient place for you to enjoy. Happy learning! iPhoneLife Logo View In Browser Your Tip of the Day is

NativePHP now supports Windows! - №511

Sunday, May 5, 2024

Your Laravel week in review ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Maybe Two Big Research Breakthroughs or Maybe Nothing

Sunday, May 5, 2024

Multi-token prediction and a multi-layer perceptron alternative. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏