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

💻 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