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

Import AI 399: 1,000 samples to make a reasoning model; DeepSeek proliferation; Apple's self-driving car simulator

Friday, February 14, 2025

What came before the golem? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Defining Your Paranoia Level: Navigating Change Without the Overkill

Friday, February 14, 2025

We've all been there: trying to learn something new, only to find our old habits holding us back. We discussed today how our gut feelings about solving problems can sometimes be our own worst enemy

5 ways AI can help with taxes 🪄

Friday, February 14, 2025

Remotely control an iPhone; 💸 50+ early Presidents' Day deals -- ZDNET ZDNET Tech Today - US February 10, 2025 5 ways AI can help you with your taxes (and what not to use it for) 5 ways AI can help

Recurring Automations + Secret Updates

Friday, February 14, 2025

Smarter automations, better templates, and hidden updates to explore 👀 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

The First Provable AI-Proof Game: Introducing Butterfly Wings 4

Friday, February 14, 2025

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? undefined The Market Today #01 Instagram (Meta) 714.52 -0.32%

GCP Newsletter #437

Friday, February 14, 2025

Welcome to issue #437 February 10th, 2025 News BigQuery Cloud Marketplace Official Blog Partners BigQuery datasets now available on Google Cloud Marketplace - Google Cloud Marketplace now offers

Charted | The 1%'s Share of U.S. Wealth Over Time (1989-2024) 💰

Friday, February 14, 2025

Discover how the share of US wealth held by the top 1% has evolved from 1989 to 2024 in this infographic. View Online | Subscribe | Download Our App Download our app to see thousands of new charts from

The Great Social Media Diaspora & Tapestry is here

Friday, February 14, 2025

Apple introduces new app called 'Apple Invites', The Iconfactory launches Tapestry, beyond the traditional portfolio, and more in this week's issue of Creativerly. Creativerly The Great

Daily Coding Problem: Problem #1689 [Medium]

Friday, February 14, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given a linked list, sort it in O(n log n) time and constant space. For example,

📧 Stop Conflating CQRS and MediatR

Friday, February 14, 2025

​ Stop Conflating CQRS and MediatR Read on: m​y website / Read time: 4 minutes The .NET Weekly is brought to you by: Step right up to the Generative AI Use Cases Repository! See how MongoDB powers your