Ptpython, Ruff Formatter, Lambdas, and More

#601 – OCTOBER 31, 2023 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Boost Your Coding Productivity With Ptpython
Learn how to enhance your Python development workflow with auto-completion, syntax highlighting, history navigation, and more. In this tutorial, you’ll walk through the fundamentals of ptpython, covering installation, basic usage, and advanced features.
REAL PYTHON

The Ruff Formatter: Python’s Fastest Formatter
You may have come across ruff the linter which has been on the scene for about a year, well it recently added formatting to its features. This article shows you how, including the configuration option to allow single-quote-style.
MIKE DRISCOLL

The Morning Paper for Hacker News Readers
Want a byte-sized version of Hacker News that takes a few minutes to read?  Try TLDR’s free daily newsletter. TLDR covers the most interesting tech, startup, and coding stories.  No sports, politics, or weather.  Read by 1,250,000 software engineers, founders, and tech workers.  Subscribe for free →
TLDRsponsor

What Are Lambda Expressions?
This post teaches you what lambda expressions are and how they get used in Python. It shows several examples and also covers when to avoid them.
TREY HUNNER

PyCon US 2024 Call for Proposals
PRETALX.COM

Django 5.0 Beta 1 Released
DJANGO SOFTWARE FOUNDATION


Discussions


PEP 703 (Making the GIL Optional in CPython) Acceptance
PYTHON.ORG


Articles & Tutorials


Efficient String Concatenation in Python
In this tutorial, you’ll learn how to concatenate strings in Python. You’ll use different tools and techniques for string concatenation, including the concatenation operators and the .join() method. You’ll also explore other tools that can also be handy for string concatenation in Python.
REAL PYTHON

From Chaos to Cohesion: Architecting Your Own Monorepo
A monorepo approach means keeping the code from all your projects in one place. It requires changing your tooling approach, but means better dependency management. This article shows you how to build a simple python monorepo using GitHub Actions as a CI/CD tool.
ANGEL REY AND HANNA JODREY • Shared by JDC

Innovate Faster With Ready-Made Edge AI Reference Kits
Build AI solutions that run efficiently at the edge. Raise throughput, lower latency, and speed up AI inference with the OpenVINO toolkit and our Edge AI Reference Kits.
INTEL CORPORATIONsponsor

PEP 727: Documentation in Annotated Metadata
There is no standard for providing doc strings for parameters, return values, variables, or type aliases. Tools like Sphinx and numpydoc have their own mechanisms. This PEP proposes adding typing.Doc as part of the Annotated type syntax.
PYTHON.ORG

Higher Order Functions in Python
Higher-order functions in Python take functions as arguments, or return them as results, making code more readable and reusable. This brief article shows you the concept and highlights examples in the standard library.
TECHBEAMERS

Deploying Conda-Based Docker Images
Conda is a popular package manager for science, data science, and machine learning, however, using it to install packages can lead to large Docker images. Here are some steps to get it back down to a reasonable size.
DILLON NIEDERHUT • Shared by Dillon Niederhut

Build a Blog From Scratch With Django
In this Django beginner project, you’ll build a blog from scratch with the Django web framework. You’ll leverage the Django admin site and explore how to work with forms so your visitors can comment on your posts.
REAL PYTHON

Why Python Is Better Than C++ for Algotrading
Even in high speed trading, time to market can be more important than the performance of the code. This blog post from a trading systems programmer outlines why he prefers Python to write his code.
PROFITVIEW.NET

Python Is a Compiled Language
Python is interpreted, but it interprets compiled code. This distinction can be confusing to students and this instructor does a deep dive on where the line between the concepts sit.
EDDIE ANTONIO

When Should You Upgrade to Python 3.12?
Python 3.12 has been released—when should you switch to using it?
ITAMAR TURNER-TRAURING


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 →

riffusion: Stable Diffusion for Real-Time Music Generation
GITHUB.COM/RIFFUSION

video-retalking: Lip Synch-ing for Talking Head Video Editing
GITHUB.COM/OPENTALKER

pypipe: Python Pipe Command Line Tool
GITHUB.COM/BUGEN

ExecuTorch: Run PyTorch Programs on Mobile
PYTORCH.ORG

📆🐍 Upcoming Python Events


Weekly Real Python Office Hours Q&A (Virtual)
November 1, 2023

Canberra Python Meetup
November 2, 2023

Sydney Python User Group (SyPy)
November 2, 2023

PyDelhi User Group Meetup
November 4, 2023

Toufu
November 5 to November 6, 2023

DjangoCon Africa 2023
November 6 to November 12, 2023

PyCon Ireland 2023
November 11 to November 13, 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

FastAPI Middleware, OOP, 3.12 Performance, and More

Tuesday, October 24, 2023

Building Custom Middleware in FastAPI #600 – OCTOBER 24, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Building Custom Middleware in FastAPI Middleware in a web stack framework is able to

Sorting Unicode, Functools, Payments, and More

Thursday, October 19, 2023

How to Sort Unicode Strings Alphabetically in Python #599 – OCTOBER 17, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo How to Sort Unicode Strings Alphabetically in Python In this tutorial, you

Tuples, CLI Tools, 3.12, and More

Tuesday, October 10, 2023

Python's `tuple` Data Type: A Deep Dive With Examples #598 – OCTOBER 10, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Python's tuple Data Type: A Deep Dive With Examples In Python, a

Special Python 3.12 Release Edition!

Tuesday, October 3, 2023

Python 3.12: Cool New Features for You to Try #597 – OCTOBER 3, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Python 3.12: Cool New Features for You to Try In this tutorial, you'll learn about

SOLID OOP, Code Metrics, Speed Up Your Code, and More

Tuesday, September 26, 2023

Design and Guidance: Object-Oriented Programming in Python #596 – SEPTEMBER 26, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Design and Guidance: Object-Oriented Programming in Python In this

You Might Also Like

Gemini in Android Studio and more: Android Studio Jellyfish is Stable!

Thursday, May 2, 2024

View in browser 🔖 Articles Gemini in Android Studio and more: Android Studio Jellyfish is Stable! Android Studio Jellyfish (2023.3.1) is making waves with its official stable release! 🪼🌊 Dive into

wpmail.me issue#665

Thursday, May 2, 2024

wpMail.me wpmail.me issue#665 - The weekly WordPress newsletter. No spam, no nonsense. - May 2, 2024 Is this email not displaying correctly? View it in your browser. News & Articles Why Should You

PHPWeekly May 2nd 2024

Thursday, May 2, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 2nd May 2024 Hi everyone, Hope you're all well. This week we

'No one should buy the Ai Pin'

Thursday, May 2, 2024

🖖 Star Trek fans weep ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Microsoft’s OpenAI partnership was born from Google AI envy

Thursday, May 2, 2024

The Morning After It's Thursday, May 02, 2024. Emails from the Department of Justice's antitrust case against Google revealed how Microsoft executives were alarmed by and even envious of

Top Tech 🏆 Are the Beats Solo 4 Worth Buying? — We Tested a Transparent Power Bank

Thursday, May 2, 2024

Also: Unistellar Odyssey Pro Telescope Review, and More! How-To Geek Logo May 2, 2024 🎧 Drop A Beat! The all-new Beats Solo 4 headphones are finally here, with improved acoustics and better battery

CISA Warns of Active Exploitation of Severe GitLab Password Reset Vulnerability

Thursday, May 2, 2024

THN Daily Updates Newsletter cover Webinar -- The Future of Threat Hunting Is Powered by Generative AI From Data to Defense: Step Into the Next Era of Cybersecurity with CensysGPT Download Now

The Future of Wallets: Introducing the Ridge Wallet for MagSafe

Thursday, May 2, 2024

Redefine convenience and security with MagSafe-compatible magnet arrays embedded in Ridge products. Upgrade what you carry and get Apple's® newest must-have accessory. Engineered for seamless

Edge 392: Meet RAFT: UC Berkeley's New Method to Improve RAG Patterns in LLMs

Thursday, May 2, 2024

The method brings the best of RAG and supervised fine tuning. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Airbnb Icons 🏠, Microsoft's OpenAI email leaks 🤖, software friction 👨‍💻

Thursday, May 2, 2024

Airbnb's Icons is a new collection of experiences hosted by big names in music, film, television, arts, sports, and more Sign Up |Advertise|View Online TLDR Together With Dollar Flight Club TLDR