Python Weekly - Python Weekly - Issue 652

View this email in your browser

Python Weekly

Welcome to issue 652 of Python Weekly. Let's get straight to the links this week.
From Our Sponsor 
Get Your Weekly Dose of Programming
A weekly newsletter featuring the best hand curated news, articles, tutorials, talks, tools and libraries etc for programmers. Join For Free

News

Django Enhancement Proposal 14: Background Workers
Django web applications require background task handling for activities like sending emails and interacting with external services. Although Django lacks a built-in solution for long-running tasks, the ecosystem offers various frameworks that integrate differently with Django. Unlike Laravel, which includes background workers, Django library maintainers must separately implement support for background task backends. This proposal aims to establish a standard interface and base implementation for managing long-running tasks in Django.


Articles, Tutorials and Talks

Streamlit Explained: Python Tutorial for Data Scientists 
This Python tutorial will dive into Streamlit, a tool that simplifies the creation of web applications for data science projects. Additionally, it will discuss the differences between Streamlit and other libraries like Dash and Taipy.

How Python Compares Floats and Ints: When Equals Isn’t Really Equal
Another Python gotcha and an investigation into its internals to understand why this happens.

If You Wish to Truly Understand Frappe's Scheduler, You Must First Invent the Universe
The post explains the inner workings of Frappe's scheduler, which allows scheduling recurring jobs and custom code. It delves into the complexities involved, such as handling scheduling delays efficiently without busy looping, and emphasizes the importance of understanding fundamental operating system concepts.

Don't worry about LLMs
The post argues that while large language models (LLMs) are receiving a lot of hype, the engineering systems built around them are similar to previous machine learning systems. It advises practitioners to cut through the hype and treat LLMs as regular engineering and ML problems.

Writing fast string ufuncs for NumPy 2.0
The post details the performance improvements made to string operations in NumPy 2.0 by reworking how they are handled, moving from creating Python objects to operating directly on the raw C data buffers. It provides guidance on writing efficient ufuncs that work with the data buffers and handle data type resolution.

Rapidly creating smoke tests for Django views
A management command for quickly generating tests based off Django's URL routing mechanism.

How good is GPT-4o at generating Flask apps? Surprisingly promising
This article summarizes the findings when asking GPT-4o to generate Flask applications, ranging from a simple "Hello, World!" app to a full-fledged CRUD app with three database models and HTML pages with Tailwind. With careful prompting, GPT-4o can produce working Flask applications and follow (some) best coding practices. 

DataFrames at Scale Comparison: TPC-H
We run benchmarks derived from the TPC-H benchmark suite on a variety of scales, hardware architectures, and dataframe projects, notably Apache Spark, Dask, DuckDB, and Polars. No project wins. This post analyzes results within each project and between projects.

pyastgrep and custom linting
Methodology and sample code for using pyastgrep to do custom linting tasks on Python source code.

How AI Can Help Deaf People Hear 
This project facilitates communication between Deaf individuals and hearing individuals who do not understand American Sign Language (ASL). It is designed to respect and preserve ASL as the primary language.

Build Interactive Data Apps of Scikit-learn Models Using Taipy
A low-code data pipeline interface to compare various models.


Interesting Projects, Tools and Libraries

LlamaFS
A self-organizing file system with llama 3.

Elia
A snappy, keyboard-centric terminal user interface for interacting with large language models. Chat with ChatGPT, Claude, Llama 3, Phi 3, Mistral, Gemma and more.

Gloe
Gloe is a general-purpose library made to help developers create, maintain, document, and test both operational and flow-oriented code.

mistral-finetune
mistral-finetune is a light-weight codebase that enables memory-efficient and performant finetuning of Mistral's models. 

Pandora
Towards General World Model with Natural Language Actions and Video States.

Seismometer
Predictive model evaluation with a focus on healthcare.

Terminal Text Effects
Visual effects applied to text in the terminal.

Zango
Build microservices as tenants on a Django monolith. Avoid the infra & operational overheads. Scale effortlessly.

Koheesio
Python framework for building efficient data pipelines. It promotes modularity and collaboration, enabling the creation of complex pipelines from simple, reusable components.


Upcoming Events and Webinars

Python Milano Meetup June 2024
There will be following talks
  • PyScript: Python on the browser and beyond
  • 10 hidden traps of Python

PyData Leeds Meetup June 2024
There will be following talks
  • What shall we watch? Recommender systems at Channel 4
  • Please AI, What is this?
  • How Python Empowers Short-Term Innovation in NHS England: Unveiling the Wrapper Magic

PyData Tallinn Meetup June 2024
There will be following talks
  • Automating customer support with LLMs
  • Handling Document Signatures at Veriff
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 651

Thursday, May 23, 2024

View this email in your browser Python Weekly Welcome to issue 651 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 650

Friday, May 17, 2024

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

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

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