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

💻 Issue 437 - Introducing local Azure Service Bus Emulator

Thursday, November 21, 2024

This week's Awesome .NET Weekly Read this email on the Web The Awesome .NET Weekly Issue » 437 Release Date Nov 21, 2024 Your weekly report of the most popular .NET news, articles and projects

💎 Issue 444 - Why did people rub snow on frozen feet? (2017)

Thursday, November 21, 2024

This week's Awesome Ruby Newsletter Read this email on the Web The Awesome Ruby Newsletter Issue » 444 Release Date Nov 21, 2024 Your weekly report of the most popular Ruby news, articles and

💻 Issue 444 - JavaScript Dos and Donts

Thursday, November 21, 2024

This week's Awesome JavaScript Weekly Read this email on the Web The Awesome JavaScript Weekly Issue » 444 Release Date Nov 21, 2024 Your weekly report of the most popular JavaScript news, articles

📱 Issue 438 - Reverse Engineering iOS 18 Inactivity Reboot

Thursday, November 21, 2024

This week's Awesome iOS Weekly Read this email on the Web The Awesome iOS Weekly Issue » 438 Release Date Nov 21, 2024 Your weekly report of the most popular iOS news, articles and projects Popular

💻 Issue 362 - React Anti-Pattern: Stop Passing Setters Down the Components Tree

Thursday, November 21, 2024

This week's Awesome React Weekly Read this email on the Web The Awesome React Weekly Issue » 362 Release Date Nov 21, 2024 Your weekly report of the most popular React news, articles and projects

💻 Issue 444 - Building simple event-driven applications with Pub/Sub

Thursday, November 21, 2024

This week's Awesome Node.js Weekly Read this email on the Web The Awesome Node.js Weekly Issue » 444 Release Date Nov 21, 2024 Your weekly report of the most popular Node.js news, articles and

📱 Issue 441 - Shift Left Is the Tip of the Iceberg

Thursday, November 21, 2024

This week's Awesome Swift Weekly Read this email on the Web The Awesome Swift Weekly Issue » 441 Release Date Nov 21, 2024 Your weekly report of the most popular Swift news, articles and projects

💻 Issue 439 - Async/Await Is Real And Can Hurt You

Thursday, November 21, 2024

This week's Awesome Rust Weekly Read this email on the Web The Awesome Rust Weekly Issue » 439 Release Date Nov 21, 2024 Your weekly report of the most popular Rust news, articles and projects

📲 Why I Ditched Linux for Samsung DeX — Buy This Instead of a Gaming Headset

Thursday, November 21, 2024

Also: Taking Instagram Stories to the Next Level, and More! How-To Geek Logo November 21, 2024 Did You Know Thurl Ravenscroft was both the voice behind the Christmas song "You're a Mean One,

Ranked | The World's 30 Largest Exporters 🌎

Thursday, November 21, 2024

We show the largest exporters in the world amid a surge in trade restrictions, rising populism, and shipping route disruptions. View Online | Subscribe | Download Our App 5 DAYS LEFT! Learn Visual