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.

Key phrases

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

AI search engine startup Perplexity eyes a $3B valuation

Tuesday, April 23, 2024

Plus: It's Tesla earnings day and AWS wants to host your AI models View this email online in your browser By Cody Corrall Tuesday, April 23, 2024 Welcome back to TechCrunch PM. Today we have big

🎞️ We Tried 3D Printing a Photo — You'll Love This Secret Samsung Galaxy Bluetooth Feature

Tuesday, April 23, 2024

Also: Transferring Your Phone Number to a New Carrier, and More! How-To Geek Logo April 23, 2024 📩 Get expert reviews, the hottest deals, how-to's, breaking news, and more delivered directly to

You're invited – product sense, prioritization, careers

Tuesday, April 23, 2024

Product Sense Product Sense Wednesday, May 1st @ 01:00 PM EST Learn how to identify opportunities, assess risks, and make informed decisions that lead to successful product innovations by better

CTRL-C, Exceptions, Ruff Speed-up, and More

Tuesday, April 23, 2024

Asyncio Handle Control-C (SIGINT) #626 – APRIL 23, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Asyncio Handle Control-C (SIGINT) When the user presses CTRL-C on the keyboard, the OS raises an

Writing Contests Just Landed On Product Hunt 🔥

Tuesday, April 23, 2024

Upvote us to keep the $$$ coming! 👍 ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌ ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌ ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌ ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌ 

Daily Coding Problem: Problem #1421 [Hard]

Tuesday, April 23, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Uber. Given an array of integers, return a new array such that each element at index i

Ranked | The Top 10 EV Battery Manufacturers 🔋

Tuesday, April 23, 2024

Asia dominates this ranking of the world's largest EV battery manufacturers in 2023. See which battery makers feature in the top 10. View Online | Subscribe Presented by: EnergyX's

Bringing PGO to the build pipeline

Tuesday, April 23, 2024

Plus how Go grew at Google, cmp.Or, and ways to visualize makefiles, Go binaries, and live Go processes. | #​504 — April 23, 2024 Unsub | Web Version Together with Three Dots Labs Go Weekly How Dolt

Noonification: Leetcode: Two-sum an Intuitive Approach

Tuesday, April 23, 2024

Top Tech Content sent at Noon! Get Algolia: AI Search that understands How are you, @newsletterest1? 🪐 What's happening in tech this week: The Noonification by HackerNoon has got you covered with

The best AI chatbot for coding

Tuesday, April 23, 2024

9 video gadget must-haves; 6 things Linux should borrow from MacOS -- ZDNET ZDNET Tech Today - US April 23, 2024 placeholder Can Meta AI code? I tested it against Llama, Gemini and ChatGPT - it wasn