Evaluating Packages, PyTorch 2.0, Lazy Recursion, and More

#569 – MARCH 21, 2023 VIEW IN BROWSER
The PyCoder’s Weekly Logo
How to Evaluate the Quality of Python Packages
Just like you shouldn’t download any file from the Internet, you shouldn’t blindly install third-party Python packages without evaluating them first. This tutorial will give you the toolset to evaluate the quality of external Python packages before you implement them into your Python projects.
REAL PYTHON

New Library Updates in PyTorch 2.0
Learn what’s changed in the newly released PyTorch 2.0 library. Includes new data collectors, augmentation operators, vision features, and loads more.
PYTORCH.ORG

Generating Meaningful Tests for Busy Devs
With CodiumAI’s TestGPT, you can ensure that your code works exactly as you meant it to. TestGPT analyzes your code, docstring, comments, and interacts with you to suggest tests while you code. You only need to accept and commit to these tests to ensure the quality of your code →
CODIUM AIsponsor

Lazy Recursion, With Generators
This article introduces your to mixing generators with recursion to improve memory usage. Includes a short snippet on using yield and yield from.
TUSHAR SADHWANI


Discussions


Codon Achieves Orders-of-Magnitude Speedups
HACKER NEWS


Articles & Tutorials


Python 3.12: A Game-Changer in Performance and Efficiency
Work on Python 3.12 is well under way and much of it focuses on performance improvements. This article gives you a tour of the changes to come, including improved parallelism, better memory management, even more improved error reporting, and more.
AI TUTOR

Documenting Python Projects With Sphinx and Read the Docs
In this video series, you’ll create project documentation from scratch using Sphinx, the de facto standard for Python. You’ll also hook your code repository up to Read The Docs to automatically build and publish your code documentation.
REAL PYTHON course

The New Notification Stack for Python Developers
Get the Python resources you need to build your notifications infrastructure, faster. Everything from code tutorials, to an SDK and docs all in one place. See for yourself →
COURIERsponsor

Code Review: What and What Not to Automate?
This post tries to come up with some guidelines: Which parts of the review can be done well by our current tools? Which parts benefit from human intuition? We’re looking in details at reviewing tests, docs, code quality, and names.
REKA HORVATH • Shared by Reka

Building a Bloom Filter
Bloom filters are a data structure used to test whether an element is a member of a set. They’re commonly used in data science and are often part of interview questions. Learn how to build one and where you might use them.
KIRILL B.

How Virtual Environments Work
This article attempts to demystify virtual environments, why they exist and how they work. It even delves into why Brett is heading down this alley: running into challenges with cross platform tools and microenv.
BRETT CANNON

Django: How to Profile and Improve Startup Time
“Your Django project’s startup time impacts how smooth it is to work with. Django has to restart your project every time you run a management command and when runserver reloads.” Learn how to make this faster.
ADAM JOHNSON

Data Validation in Python: Pandera and Great Expectations
Data validation is a vital step in any data-oriented workstream. This post investigates and compares two popular Python data validation packages: Pandera and Great Expectations
LIAM MOONEY

Tutorial: Build a Terminal-Based TODO App
Learn how to build a simple TODO app in Python using the Textual library. The app runs inside the terminal and can be controlled from the comfort of your keyboard.
MATHSPP.COM • Shared by Rodrigo Girão Serrão

Using Python 3.11 With AWS Lambda
AWS Lambda currently limits Python to version 3.9. This article shows you how to get around that and use a more recent version of your favorite language.
ISTVAN SZUKACS

Apify Python SDK: Build and Manage Web Scraping Solutions in the Cloud
Build scrapers in the cloud and rely on the Apify platform(https://apify.com/?utm_source=newsletter&utm_medium=email&utm_campaign=PythonSDK) for data storage, scheduling runs, and proxies.
APIFYsponsor

Python’s list Constructor: How to Use It and How Not To
When should you use the built-in list(…) function in Python? And when shouldn’t you? The list constructor is both underused and overused in Python.
PYTHONMORSELS.COM • Shared by Trey Hunner

More Batteries Please
This brief opinion piece from Carlton Gibson states why he thinks we need more functionality in the Python standard library rather than less.
CARLTON GIBSON


Projects & Code


Brought to you by Real Python for Teamssponsor
Online Python training created by a community of experts. Give your team the real-world Python skills they need to succeed →

evals: Evaluate and Benchmark OpenAI Models
GITHUB.COM/OPENAI

Generate Tests for Django REST Framework
GITHUB.COM/SAADMK11 • Shared by Maksudul Haque

pybroker: Algorithmic Trading in Python With ML
GITHUB.COM/EDTECHRE

guardrails: Large Language Model Validator
GITHUB.COM/SHREYAR

duckargs: Code Generator for argparse Boilerplate
GITHUB.COM/ERIKNYQUIST

📆🐍 Upcoming Python Events


PyKla Monthly Meetup
March 22, 2023

Python Meeting Düsseldorf
March 22, 2023

Weekly Real Python Office Hours Q&A (Virtual)
March 22, 2023

Heidelberg Python Meetup
March 22, 2023

PyDelhi User Group Meetup
March 25, 2023

PythOnRio Meetup
March 25, 2023
Happy Pythoning!
Copyright © 2023 PyCoder’s Weekly, All rights reserved.
You are receiving this email because you opted in on our website at pycoders.com
Our mailing address: DevCademy Media Inc. · #720-999 West Broadway, Vancouver BC V5Z 1K5, Canada

Unsubscribe | Update Email Address

Older messages

BeeWare, Asyncio Overhead, Python & Julia, and More

Tuesday, March 14, 2023

Sharing Your Python App Across Platforms With BeeWare #568 – MARCH 14, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Sharing Your Python App Across Platforms With BeeWare Are you interested in

Inlined Comprehensions PEP, Iterators, Pandas 2.0, and More

Tuesday, March 7, 2023

PEP 709: Inlined Comprehensions #567 – MARCH 7, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo PEP 709: Inlined Comprehensions Python Enhancement Proposal 709 covers a change to how comprehensions

NumPy for Speed, Multiprocessing Performance, XML to YAML, and More

Tuesday, February 28, 2023

Using NumPy and Linear Algebra for Faster Python Code #566 – FEBRUARY 28, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Using NumPy and Linear Algebra for Faster Python Code Are you still using

Buffer Flushing, Async Bugs, SQLAlchemy 2.0, and More

Tuesday, February 21, 2023

How to Flush the Output of the Python Print Function #565 – FEBRUARY 21, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo How to Flush the Output of the Python Print Function In this tutorial, you

Monorepos, SpiffWorkflow, Functional Python, and More

Tuesday, February 14, 2023

Monorepos in Python #564 – FEBRUARY 14, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Monorepos in Python A monorepo is a source control pattern in some organizations where a single code

You Might Also Like

The Power of an Annual Review & Grammarly acquires Coda

Sunday, December 22, 2024

I am looking for my next role, Zen Browser got a fresh new look, Flipboard introduces Surf, Campsite shuts down, and a lot more in this week's issue of Creativerly. Creativerly The Power of an

Daily Coding Problem: Problem #1645 [Hard]

Sunday, December 22, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Facebook. Implement regular expression matching with the following special characters: .

PD#606 How concurrecy works: A visual guide

Sunday, December 22, 2024

A programmer had a problem. "I'll solve it with threads!". has Now problems. two he ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌

RD#486 (React) Things I Regret Not Knowing Earlier

Sunday, December 22, 2024

Keep coding, stay curious, and remember—you've got this ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

🎶 GIFs Are Neat, but I Want Clips With Sound — Your Own Linux Desktop in the Cloud

Sunday, December 22, 2024

Also: 9 Games That Were Truly Ahead of Their Time, and More! How-To Geek Logo December 22, 2024 Did You Know Dextrose is another name for glucose, so if you see it listed prominently on the ingredients

o3—the new state-of-the-art reasoning model - Sync #498

Sunday, December 22, 2024

Plus: Nvidia's new tiny AI supercomputer; Veo 2 and Imagen 3; Google and Microsoft release reasoning models; Waymo to begin testing in Tokyo; Apptronik partners with DeepMind; and more! ͏ ͏ ͏ ͏ ͏ ͏

Sunday Digest | Featuring 'The World’s 20 Largest Economies, by GDP (PPP)' 📊

Sunday, December 22, 2024

Every visualization published this week, in one place. Dec 22, 2024 | View Online | Subscribe | VC+ | Download Our App Hello, welcome to your Sunday Digest. This week, we visualized public debt by

Android Weekly #654 🤖

Sunday, December 22, 2024

View in web browser 654 December 22nd, 2024 Articles & Tutorials Sponsored Solving ANRs with OpenTelemetry While OpenTelemetry is the new observability standard, it lacks official support for many

😸 Our interview with Amjad Masad

Sunday, December 22, 2024

Welcome back, builders Product Hunt Sunday, Dec 22 The Roundup This newsletter was brought to you by AssemblyAI Welcome back, builders Happy Sunday! We've got a special edition of the Roundup this

C#537 Automating Santa's Workshop with NServiceBus

Sunday, December 22, 2024

Using event-driven architecture for effective gift delivery 🎄🎁 ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌