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

Kotlin Weekly #439

Sunday, December 29, 2024

ISSUE #439 29th of December 2024 And that's a wrap! Thanks for being with us throughout 2024. We had the opportunity to meet many of you at KotlinConf and provide live coverage. We witnessed

Dark forest, bad art and paying to bike

Saturday, December 28, 2024

Neologism #24, 28.12.2024 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Weekend Reading — Happy New Year! 🥳

Saturday, December 28, 2024

Vitalis 🇺🇦 The most original and unusual landmark in Odesa, which has become a symbol of the creativity of Odesa residents. Tech Stuff Cursor I really really like Cursor. I had a great time using VS

Daily Coding Problem: Problem #1651 [Hard]

Saturday, December 28, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Apple. You are going on a road trip, and would like to create a suitable music playlist.

📺 There's Still A Place for Universal Remotes — 10 Apps I Always Install on a New Mac

Saturday, December 28, 2024

Also: How to Add Emails to Your Tasks To-Do List in Gmail, and More! How-To Geek Logo December 28, 2024 Did You Know In December 2014, two con men from Girona, Spain, agreed to sell a fake Francisco de

Ranked | The World's Top 30 Countries, by Automobiles Manufactured 🚙

Saturday, December 28, 2024

In 2023, China led global car production, contributing nearly a third of total output. Which countries followed in this competitive industry? View Online | Subscribe | Download Our App FEATURED STORY

🐍 New Python tutorials on Real Python

Saturday, December 28, 2024

Hey there, There's always something going on over at Real Python as far as Python tutorials go. Here's what you may have missed this past week: Learn From 2024's Most Popular Python

15,000+ Four-Faith Routers Exposed to New Exploit Due to Default Credentials

Saturday, December 28, 2024

THN Daily Updates Newsletter cover Resilient Cybersecurity ($39.99 Value) FREE for a Limited Time Reconstruct your defense strategy in an evolving cyber world Download Now Sponsored LATEST NEWS Dec 28,

Hands Down One Of The Best Cards For 2025 Offering 0% interest until 2026

Saturday, December 28, 2024

iPhoneLife Logo Sponsored email sent by iPhone Life Hands Down One Of The Best Cards For 2025 Offering 0% interest until 2026 If you have outstanding credit card debt, getting a new 0% intro APR credit

📧 What Rewriting a 40-Year-Old Project Taught Me About Software Development

Saturday, December 28, 2024

​ What Rewriting a 40-Year-Old Project Taught Me About Software Development Read on: m​y website / Read time: 7 minutes The .NET Weekly is brought to you by: As the year wraps up, it's clear API