Python Weekly - Python Weekly - Issue 638

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

Why AI has a Python Problem 
Artificial Intelligence (AI) has propelled Python to unprecedented popularity, making it the go-to language for developers and researchers worldwide. Yet, beneath the surface, a significant challenge looms. Let's get into the specific difficulties Python poses for AI's evolution, backed by real-world examples and technical insights.

Meta loves Python 
Meta engineers discuss their contributions to Python 3.12, including new features such as custom JIT hooks, Immortal Objects, type system improvements, and faster comprehensions, highlighting their collaboration with the Python community and the company's support for open source

Counting CPU Instructions in Python
Did you know it takes about 17,000 CPU instructions to print("Hello") in Python? And that it takes ~2 billion of them to import seaborn?

Not just NVIDIA: GPU programming that runs everywhere
If you want to run GPU programs in CI, on Macs, and more, wgu-py is a good option.

The Many Ways to Deploy a Model
There are many ways to deploy models and perform inference. Here, we share our decision rubric for model deployments using LLM inference as an example.

The Math Behind the Adam Optimizer
Why is Adam the most popular optimizer in Deep Learning? Let’s understand it by diving into its math, and recreating the algorithm.

Visualizing Neural Network Internals 
Visualizing some of the internals of a neural network during training and inference.

Engineering Practices for LLM Application Development
LLM engineering involves much more than just prompt design or prompt engineering. In this article, we share a set of engineering practices that helped us deliver a prototype LLM application rapidly and reliably in a recent project. We'll share techniques for automated testing and adversarial testing of LLM applications, refactoring, as well as considerations for architecting LLM applications and responsible AI.

Everything You Can Do with Python's textwrap Module
Python has many options for formatting strings and text, including f-strings, format() function, templates and more. There's however one module that few people know about and it's called textwrap. This module is specifically built to help you with line-wrapping, indentation, trimming and more, and in this article we will look at all the things you can use it for.

How to avoid a count query in Django if you can

Handling Tasks in Asyncio Like a Pro


Interesting Projects, Tools and Libraries

modguard
A Python tool to enforce a modular, decoupled package architecture.

metavoice-src
Foundational model for human-like, expressive TTS.

logot
Test whether your code is logging correctly.

TriOTP
The OTP framework for Python Trio.

Toolong
A terminal application to view, tail, merge, and search log files (plus JSONL).

django-queryhunter
Hunt down the lines of your Django application code which are responsible for executing the most queries.

Lag-Llama
Towards Foundation Models for Probabilistic Time Series Forecasting.

HypoFuzz
Open source smart fuzzing for Python's best testing workflow.

mwmbl
An open source, non-profit search engine implemented in Python.

instld
The simplest package management.


Upcoming Events and Webinars

PyLadies Dublin Meetup February 2024
There will be a talk, Where Cybersecurity meets Python.

Spokane Python Meetup February 2024
There will be a talk, how to integrate Rust into your Python workflow by creating Rust bindings using PyO3.

Python Barcelona Meetup February 2024
There will be following talks
  • Pytest, a short hike.
  • Analysis of the use and the discourse of "Queering The Map"

PyData Southampton Meetup February 2024
There will be following talks
  • Combine geospatial data in 3D & beyond with TileDB arrays
  • Searching for gamma-ray sources in Space with GPU computing

PyData Berlin Meetup February 2024
There will be following talks
  • Exploiting Data Structure and Geometry with a Diffusion-based Graph Neural Network
  • Example Sampling Strategies for Large Language Models

PyData Stockholm Meetup February 2024
There will be following talks
  • Scraping 1.3 million home prices - and getting away with it
  • BYOSC Build Your Own Scalable Chatbots
  • Transitmap
  • DeLight - The Delay Flight Predictor
  • Where was this image taken? - Visual Geolocalization in the era of Deep Learning.
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 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

Python Weekly - Issue 633

Friday, January 12, 2024

View this email in your browser Python Weekly Welcome to issue 633 of Python Weekly. Let's get straight to the links this week. Articles, Tutorials and Talks Python 3.13 gets a JIT In late December

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