Python Weekly - Python Weekly - Issue 650

View this email in your browser

Python Weekly

Welcome to issue 650 of Python Weekly. Let's get straight to the links this week.
From Our Sponsor 
  Learn how you can containerize and run your GenAI application using Docker.

Articles, Tutorials and Talks

The Unit of Work Design Pattern Explained 
This video explains the Unit of Work design pattern, a crucial concept for anyone who regularly interacts with databases. This pattern plays a key role by accumulating all transactions and executing them collectively. But why is this necessary? Find out in this video.

Homoiconic Python
The article explores the concept of homoiconicity in programming languages, where code and data are interchangeable, as exemplified by Lisp. It presents a Python implementation of a subset of the "Lisp in Lisp" code, showcasing how Python can be made homoiconic by treating code as data structures that can be manipulated and executed.

A first attempt at DSPy Agents from scratch
This post is going to take a first pass at creating Agents from scratch, using DSPy. The goal here is education, and to explore how one might build agents from scratch in DSPy.

Abusing Conda's YAML comments that are actually Python expressions
my favorite build system, jinja-preprocessed-eval-preprocessed YAML.

Parsing PNG images in Mojo
The post details the author's experience implementing a PNG parser in the Mojo programming language. It covers challenges faced, such as handling unsigned 8-bit integers and converting bytes to strings, while exploring idiomatic ways to write Mojo code for this task.

Tezos Blockchain Developer Course – Python Web3 Development 
Learn how to develop distributed applications on Tezos, from setting up wallets to understanding and managing smart contracts effectively. The course covers various tools and techniques essential for Tezos developers and highlights the community-driven innovations that support the platform's growth. 

High Impact Python Streamlit: Beautiful Interactive Maps and Charts
A step by step modular approach with UNFAO global food insecurity data.

How to use Postgres as a simple task queue for Django 
Using Postgres as a task queue for Django is fast to add. There are other big advantages over the traditional approach (e.g., Celery and Redis).

An Intro to Logging with Python and Loguru
Python’s logging module isn’t the only way to create logs. There are several third-party packages you can use, too. One of the most popular is Loguru. Loguru intends to remove all the boilerplate you get with the Python logging API. You will find that Loguru greatly simplifies creating logs in Python.

Lessons learned reinventing the Python notebook
The article discusses the key principles and lessons learned while developing marimo, a new Python notebook environment. It emphasizes staying true to the project's core pillars of reproducibility, maintainability, and multi-purpose design, even when faced with feature requests that could compromise those principles.

Real-Time Brainwave Visualization: Integrating Muse EEG with Python

Django: Getting a full model instance from a Subquery


Interesting Projects, Tools and Libraries

storm
An LLM-powered knowledge curation system that researches a topic and generates a full-length report with citations.

Frame
Frame is a markdown language for creating state machines (automata) in Python as well as generating UML documentation.

Pipecat
Open Source framework for voice and multimodal conversational AI.

UXsim
Vehicular traffic flow simulator in road network, written in pure Python.

itrm
This library provides several functions for nicely printing data to the terminal. 

drf-api-action
drf-api-action elevates Django Rest Framework testing with the action_api fixture, simplifying REST endpoint testing to a seamless, function-like experience.

TimesFM
TimesFM (Time Series Foundation Model) is a pretrained time-series foundation model developed by Google Research for time-series forecasting.

MindNLP
Easy-to-use and high-performance NLP and LLM framework based on MindSpore, compatible with models and datasets of Huggingface.

llmware
Providing enterprise-grade LLM-based development framework, tools, and fine-tuned models.


Upcoming Events and Webinars

Hybrid: PyMunich Meetup May 2024
There will be following talks
  • Become a Data Storyteller with Streamlit
  • Automated publishing of technical documentation (Git-to-Confluence)
  • Blending Perspectives: Crafting clean python code for diverse teams in today's projects

PyLadies Paris Meetup May 2024
There will be a talk, From ML model debugging to bot detection - The story of Sliceline.

Python Barcelona Meetup May 2024
There will be following talks
  • Using OpenCV in AI: Practical Image Processing in Python
  • cluster-experiments, a simulation library to design AB tests

BAyPIGgies Meetup May 2024
There will be following talks
  • Pandas & Pyspark for timeseries data processing from instrument data.
  • Developing Full Stack Python Web Apps with Reflex

PyData Berlin Meetup May 2024
There will be following talks
  • Beyond the Continuum: The Importance of Quantization in Deep Learning
  • A Meat-ing of Minds
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 649

Thursday, May 9, 2024

View this email in your browser Python Weekly Welcome to issue 649 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Learn how you can containerize and run your GenAI

Python Weekly - Issue 648

Thursday, May 2, 2024

View this email in your browser Python Weekly Welcome to issue 648 of Python Weekly. Let's get straight to the links this week. News Fake job interviews target developers with new Python backdoor A

Python Weekly - Issue 647

Thursday, April 25, 2024

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

Python Weekly - Issue 646

Saturday, April 13, 2024

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

Python Weekly - Issue 645

Thursday, April 4, 2024

View this email in your browser Python Weekly Welcome to issue 645 of Python Weekly. Let's get straight to the links this week. News Typosquatting Campaign Targets Python Developers Phylum's

You Might Also Like

The Northern Mariana Touchdown 🏝️

Tuesday, June 25, 2024

Considering Julian Assange's unusual day trip. Here's a version for your browser. Hunting for the end of the long tail • June 25, 2024 The Northern Mariana Touchdown After years in a British

More OpenAI M&A

Monday, June 24, 2024

Car dealership outages drag on and Target partners with Shopify View this email online in your browser By Christine Hall Monday, June 24, 2024 Welcome back to TechCrunch PM, bringing you the most

🚙 Easily Add CarPlay or Android Auto to Your Car — Why You Need a Portable Power Station

Monday, June 24, 2024

Also: Don't Overlook These Facetime Features, and More! How-To Geek Logo June 24, 2024 Did You Know In decades of service, the SR-71 "Blackbird" long-range aircraft was never hit by an

JSK Daily for Jun 24, 2024

Monday, June 24, 2024

JSK Daily for Jun 24, 2024 View this email in your browser A community curated daily e-mail of JavaScript news Level Up Your React Charts: Mastering Scrollbar Customization Charts are one of the most

Building (and testing) for the future

Monday, June 24, 2024

It's becoming a habit to open each TechCrunch Space newsletter with a bit of an update on Boeing's Starliner mission. View this email online in your browser By Aria Alamalhodaei Monday, June 24

Daily Coding Problem: Problem #1476 [Easy]

Monday, June 24, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Facebook. Given a array of numbers representing the stock prices of a company in

Charted | Visualizing Saudi Aramco’s Massive Oil Reserves 🛢️

Monday, June 24, 2024

This chart compares the proved reserves of major oil companies, highlighting the dominance of Saudi Arabia's national oil company. View Online | Subscribe Presented by: Which Minerals Will Drive

How I Organize My Work As a Solo Founder

Monday, June 24, 2024

Discover how I organize my work as a solo founder using systems that boost productivity, focus, maintain balance, and help me achieve mental clarity and consistent progress. Sébastien Dubois

Deepdive – Product-Led Growth

Monday, June 24, 2024

Product-Led Growth (PLG) has been a hot topic for the last few years in the world of product. But what exactly is it, and why should you care as a Product Manager or Product Leader? In this essay, we

Apple's Vision

Monday, June 24, 2024

Can a stripped-down, less expensive headset save 'Spatial Computing'? Apple's Vision Can a stripped-down, less expensive headset save 'Spatial Computing'? By MG Siegler • 24 Jun