Python Weekly - Python Weekly - Issue 594

View this email in your browser

Python Weekly

Welcome to issue 594 of Python Weekly. Let's get straight to the links this week.
From Our Sponsor 
 
Build developer-first automations with Retool Workflows
Retool Workflows gives you a code-first way to power automations across your entire data stack. Connect to any database or API, customize logic with JavaScript, Python, or natural language with GPT-4, and transform one-off scripts into automated tasks––no extra infra required.


Articles, Tutorials and Talks

How to Create and Use Virtual Environments in Python With Poetry 
It can be tricky when different packages in Python don't play nice. The solution to this problem is to create an isolated, virtual environment. In this video, I’ll show you how to set up a virtual environment with poetry, a package manager for Python that simplifies dependency management and project packaging.

Limiting concurrency in Python asyncio – the story of async imap_unordered() 
So, you're doing some async stuff, repeatedly, hundreds of thousands of times. How do you *not* do it all at once? Hint: asyncio.Semaphore is not the best way, despite what Stack Overflow may tell you.

Hello Dolly: Democratizing the magic of ChatGPT with open models
Introducing Dolly, a breakthrough in LLM from Databricks. Learn how Databricks open sourced the model and all its training code, enabling organizations to re-create Dolly at a minimal cost.

Python Again with Jason C. McDonald 
A second Jason joins this episode of Programming Throwdown! Jason McDonald – Python evangelist, author, and more – talks to Patrick and Jason about his experience with the programming language, how his disability helped and hindered his software career, and where its strengths and weaknesses lie. 

Introducing Zeno
An Interactive Framework for Behavioral Evaluation of Machine Learning.

Using "any" and "all" in Python
Python's any and all functions are very helpful, but often overlooked. You can combine any and all with generator expressions to check whether all (or any) items within a list match a specific condition.

Speeding up text processing in Python (is hard)
How do you speed up Python string parsing and formatting? We’ll consider Cython, mypyc, Rust, and PyPy.

Comparing List Comprehensions vs. Built-In Functions in Python: Which Is Better?
An in-depth analysis of syntax, readability, and performance.

SimulatedRides: How Lyft uses load testing to ensure reliable service during peak events
We know what you’re thinking — testing in production is one of the cardinal sins of software development. However, at Lyft we have come to realize that load testing in production is a powerful tool to prepare systems for unexpected bursty traffic and peak events. We’ll explore why Lyft needed a custom performance testing framework that worked in production, how we built a cross-functional solution, and how we’ve continued to improve this testing platform since its launch in 2016.

Ban 1+N in Django
I always thought of 1+N as a thing that you just keep in your head, catch on code reviews or via performance regressions. This worked well for a long time, however, the less control we have over our SQL queries the more likely it will sneak through those guards.

Effortlessly Test Your Python Method Calls with pytest-compare: A Comprehensive Guide
The pytest-compare package provides a useful tool for testing complex data structures, such as Pandas data frames, and enables you to write custom comparison methods to suit your specific testing needs. By using pytest-compare, you can simplify your testing process, reduce errors, and save time by automating comparison tasks that would otherwise be tedious or impossible to do manually.

Rust in Anger: high-performance web applications
It’s been great to leverage a fast, memory-safe, and versatile programming language like Rust in our Python, Rust and Node.js code-bases. Here we’ve collected our insights so that others can benefit from our experience.

Django: Avoid database queries in template context processors

Unravelling `global`

Reduce - The Power of a Single Python Function


Interesting Projects, Tools and Libraries

Marvin
A batteries-included library for building AI-powered software.

chatgpt-retrieval-plugin
The ChatGPT Retrieval Plugin lets you easily search and find personal or work documents by asking questions in everyday language.

serge
A web interface for chatting with Alpaca through llama.cpp. Fully dockerized, with an easy to use API.

ckit
A command line utility to help you organise and quickly run frequently used commands.

xturing
Build and control your own LLMs.

reflexion-human-eval
An implementation of a Reflexion agent for SOTA Human-Eval Python results.

Untitled Goose Tool
Untitled Goose Tool is a robust and flexible hunt and incident response tool that adds novel authentication and data gathering methods in order to run a full investigation against a customer’s Azure Active Directory (AzureAD), Azure, and M365 environments.

Text2Room
Text2Room generates textured 3D meshes from a given text prompt using 2D text-to-image models.

swingmusic
Open-source music player for local audio files, built with both visual coolness and functionality in mind.

ml-ane-transformers
Reference implementation of the Transformer architecture optimized for Apple Neural Engine (ANE).

audioflux
A library for audio and music analysis, feature extraction.

scrapeghost
Experimental library for scraping websites using OpenAI's GPT API.

OpenFlamingo
An open-source framework for training large multimodal models.

megamock
The Developer Experience Upgrade for Python Mocking.

django-admin-site-search
A search (cmd+k) modal, for the Django admin UI, that searches your entire site.


Upcoming Events and Webinars

PyData London Meetup April 2022
There will be following talks
  • ArcticDB Adventures
  • The journey of building a public-facing and low-maintenance Wordle Solver

PyData Genève Meetup April 2022
There will be a talk, Building Recommendation Systems in Python.
 
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 © 2023 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 593

Thursday, March 23, 2023

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

Thursday, March 16, 2023

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

Thursday, March 9, 2023

View this email in your browser Python Weekly Welcome to issue 591 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Snyk is hosting a hands-on, virtual workshop to

Python Weekly - Issue 590

Thursday, March 2, 2023

View this email in your browser Python Weekly Welcome to issue 590 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Build business software 10x faster with Retool

Python Weekly - Issue 589

Thursday, February 23, 2023

View this email in your browser Python Weekly Welcome to issue 589 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Calling all developers! Join Snyk in The Big Fix

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