Python Weekly - Python Weekly - Issue 660

View this email in your browser

Python Weekly

Welcome to issue 660 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

Articles, Tutorials and Talks

How to Design a REST API That Doesn’t SUCK 
Learn 6 essential tips for designing a great REST API that even big companies often overlook. From following standards and maintaining consistency to writing clear documentation and simplifying integration, this video covers everything you need to create user-friendly and efficient APIs. Don't miss out on the key strategies for improving your API design!

Abstract interpretation in the Toy Optimizer
In this blog post, I’m going to write a small abtract interpreter for the Toy IR and then show how we can use it to do some simple optimizations.

Fast(er)API: Optimizing Processing Time
A few simple tips to make your REST API go faster.

Mining JIT traces for missing optimizations with Z3
In my last post I've described how to use Z3 to find simple local peephole optimization patterns for the integer operations in PyPy's JIT. An example is int_and(x, 0) -> 0. In this post I want to scale up the problem of identifying possible optimizations to much bigger instruction sequences, also using Z3.

The convoluted story behind `np.top_k`
In this blog post, I describe my experience as a first-time contributor and talk about the story behind np.top_k.

Annotated area charts with plotnine
The `plotnine` visualisation library brings the Grammar of Graphics to Python. This post walks through the process of creating a customised, annotated area chart of coal production data.

Module itertools overview
This article briefly describes the iterators available in the Python module itertools and how to use them.

Implementing Instant Search with Flask and HTMX
Step-by-step guide to making an interactive search bar with Flask and HTMX.

Beyond Hypermodern: Python is easy now
This is an article about setting up a modern Python project. It discusses using tools like Rye, Ruff, and Pyright for formatting, linting, and type checking.


Interesting Projects, Tools and Libraries

Mem0
The memory layer for Personalized AI.

modelsmith
Python library that allows you to get structured responses in the form of Pydantic models and Python types from Anthropic, Google Vertex AI and OpenAI models

DinkyDash
A family dashboard for kids.

PDF-Extract-Kit
A Comprehensive Toolkit for High-Quality PDF Content Extraction.

llama-agentic-system
Agentic components of the Llama Stack APIs. 


New Releases

Mypy 1.11 Released
Mypy is a static type checker for Python. This release includes new features, performance improvements and bug fixes.

Django 5.1 release candidate 1 released

Python 3.13.0 beta 4 released 


Upcoming Events and Webinars

PyData Manchester Meetup July 2024
There will be following talks
  • Mastering LLM Workflows: Benchmarking, Tools, and Best Practices
  • BI on a budget

Hybrid: Christchurch Python Meetup July 2024
Grace Morgan-Maxwell will speak on Flask and Django, walking through personal projects using the insights from her studies to discuss the good, the bad and the ugly.
 
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 659

Thursday, July 18, 2024

View this email in your browser Python Weekly Welcome to issue 659 of Python Weekly. Let's get straight to the links this week. News Binary secret scanning helped us prevent (what might have been)

Python Weekly - Issue 658

Thursday, July 11, 2024

View this email in your browser Python Weekly Welcome to issue 658 of Python Weekly. Let's get straight to the links this week. Articles, Tutorials and Talks PySkyWiFi: completely free,

Python Weekly - Issue 657

Thursday, July 4, 2024

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

Thursday, June 27, 2024

View this email in your browser Python Weekly Welcome to issue 656 of Python Weekly. Let's get straight to the links this week. Articles, Tutorials and Talks pgvector for Python developers Learn

Python Weekly - Issue 655

Thursday, June 20, 2024

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

Daily Coding Problem: Problem #1648 [Medium]

Wednesday, December 25, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Quora. Given an absolute pathname that may have . or .. as part of it, return the

🎮 The Best Games to Go With Your New Console — Streaming Services Could Learn From YouTube

Wednesday, December 25, 2024

Also: Don't Throw Christmas Gift Boxes on the Curb, and More! How-To Geek Logo December 25, 2024 Did You Know Years before The Nightmare Before Christmas, Tim Burton was sprinkling references to

Charted | Global Economic Confidence in 2025, by Country 🌎

Wednesday, December 25, 2024

While emerging markets in Asia have the strongest confidence in the global economy looking ahead, European countries are most pessimistic. View Online | Subscribe | Download Our App FEATURED STORY

Top Tech Deals 🎅 Sony Headphones, iPhone Cases, 4K Projector, and More!

Wednesday, December 25, 2024

The season of giving is upon us. How-To Geek Logo December 25, 2024 Top Tech Deals: Sony Headphones, iPhone Cases, 4K Projector, and More! The season of giving is upon us. Happy Holidays! If you're

Why the Race to AGI is Humanitys Defining Moment

Wednesday, December 25, 2024

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, December 25, 2024? The

Iran's Charming Kitten Deploys BellaCPP: A New C++ Variant of BellaCiao Malware

Wednesday, December 25, 2024

THN Daily Updates Newsletter cover The Data Science Handbook, 2nd Edition ($60.00 Value) FREE for a Limited Time Practical, accessible guide to becoming a data scientist, updated to include the latest

Software Testing Weekly - Issue 251

Wednesday, December 25, 2024

GitHub Copilot is free! 🤖 View on the Web Archives ISSUE 251 December 25th 2024 COMMENT Welcome to the 251st issue! In case you missed it — GitHub Copilot is free! The free version works with Visual

Daily Coding Problem: Problem #1647 [Medium]

Tuesday, December 24, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Square. In front of you is a row of N coins, with values v 1 , v 1 , ..., v n . You are

Sentiment Analysis, Topological Sort, Web Security, and More

Tuesday, December 24, 2024

Exploring Modern Sentiment Analysis Approaches in Python #661 – DECEMBER 24, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Exploring Modern Sentiment Analysis Approaches in Python What are the

🤫 Do Not Disturb Mode Is My Secret to Sanity — 8 Gadgets I Want To See Nintendo Make

Tuesday, December 24, 2024

Also: The Best Christmas Movies to Watch on Netflix, and More! How-To Geek Logo December 24, 2024 Did You Know Their association with the Christmas season might make you think poinsettias hail from a