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

Data Science Weekly - Issue 581

Thursday, January 9, 2025

Curated news, articles and jobs related to Data Science, AI, & Machine Learning ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

💻 Issue 444 - Check Out My New CV as a Full Stack .NET Developer!

Thursday, January 9, 2025

This week's Awesome .NET Weekly Read this email on the Web The Awesome .NET Weekly Issue » 444 Release Date Jan 09, 2025 Your weekly report of the most popular .NET news, articles and projects

💎 Issue 451 - Useful things you can do with Rails console

Thursday, January 9, 2025

This week's Awesome Ruby Newsletter Read this email on the Web The Awesome Ruby Newsletter Issue » 451 Release Date Jan 09, 2025 Your weekly report of the most popular Ruby news, articles and

💻 Issue 451 - The best way to iterate over a large array without blocking the main thread

Thursday, January 9, 2025

This week's Awesome JavaScript Weekly Read this email on the Web The Awesome JavaScript Weekly Issue » 451 Release Date Jan 09, 2025 Your weekly report of the most popular JavaScript news, articles

📱 Issue 445 - 🚀 Your Go-To List of 25 Swift Tools and Libraries for Any Project

Thursday, January 9, 2025

This week's Awesome iOS Weekly Read this email on the Web The Awesome iOS Weekly Issue » 445 Release Date Jan 09, 2025 Your weekly report of the most popular iOS news, articles and projects Popular

💻 Issue 369 - 17 Tips from a Senior React Developer

Thursday, January 9, 2025

This week's Awesome React Weekly Read this email on the Web The Awesome React Weekly Issue » 369 Release Date Jan 09, 2025 Your weekly report of the most popular React news, articles and projects

💻 Issue 451 - Mastering Express.js: A Deep Dive

Thursday, January 9, 2025

This week's Awesome Node.js Weekly Read this email on the Web The Awesome Node.js Weekly Issue » 451 Release Date Jan 09, 2025 Your weekly report of the most popular Node.js news, articles and

📱 Issue 448 - The Swift Runtime: Your Silent Partner

Thursday, January 9, 2025

This week's Awesome Swift Weekly Read this email on the Web The Awesome Swift Weekly Issue » 448 Release Date Jan 09, 2025 Your weekly report of the most popular Swift news, articles and projects

💻 Issue 446 - Great things about Rust that aren't just performance

Thursday, January 9, 2025

This week's Awesome Rust Weekly Read this email on the Web The Awesome Rust Weekly Issue » 446 Release Date Jan 09, 2025 Your weekly report of the most popular Rust news, articles and projects

JSK Daily for Jan 9, 2025

Thursday, January 9, 2025

JSK Daily for Jan 9, 2025 View this email in your browser A community curated daily e-mail of JavaScript news Advanced Query Building Techniques in Angular: Queries with Different Connectors The Query