PythonHub Logo Python Hub Weekly Digest for 2024-03-03

Cover by unsplash.com

đź’– Most Popular

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

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

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.

So Google's Gemini Doesn't Like Python Programming and Sanskrit?

Returns: Brings functional programming to Python land


đź“– Articles

Vega-Altair: Declarative Visualization in Python

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.

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 uti...

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 Pyt...

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.

Note Map: Effortlessly organize, visualize and chat about textual notes. Search, chat and brainstorm ideas with ease.

A simple MUD server in Python which can be run on a Raspberry Pi

Sqlbind a Python library to compose raw SQL

Hyperdiv – Reactive, immediate-mode web UI framework for Python

hustvl / Vim
Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Model

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 eli...

Neat Parallel Output in Python

Python Hub Weekly Digest for 2024-02-25

explodinggradients / ragas
Evaluation framework for your Retrieval Augmented Generation (RAG) pipelines


⚙️ Projects

uv
An extremely fast Python package installer and resolver, written in Rust. Here is a

magika
Detect file content types with deep learning.

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

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

Owl

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.

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

UFO
A UI-Focused Agent for Windows OS Interaction.


đź‘ľ Reddits

Cry Baby: A Tool to Detect Baby Cries


← Previous Next →

Project by Ruslan Keba. Since 2012. Powered by Python. Made in đź‡şđź‡¦Ukraine.