BeeWare, Asyncio Overhead, Python & Julia, and More

#568 – MARCH 14, 2023 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Sharing Your Python App Across Platforms With BeeWare
Are you interested in deploying your Python project everywhere? This week on the show, Russell Keith-Magee, founder and maintainer of the BeeWare project, returns. Russell shares recent updates to Briefcase, a tool that converts a Python application into native installers on macOS, Windows, Linux, and mobile devices.
REAL PYTHON podcast

Overhead of Python Asyncio Tasks
The Textual library uses a lot of asyncio tasks. In order to determine whether to spend time optimizing them, Will measured the cost of creating asyncio tasks. TLDR; optimize something else. This article also spawned a conversation on Hacker News.
WILL MCGUGAN

Retire Your Legacy CMS With ButterCMS
ButterCMS is your new content backend. We’re SaaS so we host, maintain, and scale the CMS. Enable your marketing team to update website + app content without needing you. Try the #1 rated SaaS Headless CMS for your Python app today. Free for 30 days →
BUTTERCMSsponsor

Julia and Python Better Together
Julia is a popular programming language among data scientists, but if you ever code in that space and miss some of the key Python libraries, this article is for you. Julia packages can wrap other languages, so you can have the best of both worlds.
BOGUMIŁ KAMIŃSKI

Python 3.12.0 Alpha 6 Released
CPYTHON DEV BLOG

Django Developers Survey 2022 Results Available
DJANGO SOFTWARE FOUNDATION


Discussions


Nearly 40% of Software Engineers Will Only Work Remotely
HACKER NEWS


Articles & Tutorials


Predicting Wine Quality Using Chemical Properties
Alfredo discovered some datasets about wine quality including chemical properties and decided it was time to do some predictive model building. This article walks you through what he did with torch, sklearn, numpy, pandas, and seaborn to predict wine quality.
ALFREDO GONZÁLEZ-ESPINOZA

Are Those Numbers Realistic or Fake? Try Using Benford’s Law
How can you tell whether a set of figures is trustworthy? It’s not always simple, but Benford’s Law gives you one way to find out. There’s even a Python Package to help you check: randalyze.
JASON ROSS

The Best Way to Structure Your NoSQL Data Using Python
Data modeling can be challenging. The question that most often comes up is, “How do I structure my data?” The short answer: it depends. That’s why the Redis folks wrote a comprehensive e-book that goes through 8 different optimal scenarios and shows how to model them in Redis →
REDIS LABSsponsor

Building a ChatGPT-based Assistant With Python
This article demonstrates a workflow for integrating multiple AI services to perform speech-to-text (STT), natural language processing (NLP), and text-to-speech (TTS) using OpenAI’s ChatGPT and Whisper API’s in Python.
FAIZANBASHIR.ME • Shared by Faizan Bashir

How to Strangle Old Code Using Python Decorators
The “strangler pattern” is a way of simultaneously running old and replacement code to determine through live behavior whether the replacement works. This article shows you how to use decorators to help.
JON JAGGER

Deploying a Django App to Azure App Service
This tutorial looks at how to deploy a Django application to Azure App Service. Includes details on configuring your Django and what Azure services to use to get going quickly.
NIK TOMAZIC

Python’s Mutable vs Immutable Types: What’s the Difference?
In this tutorial, you’ll learn how Python mutable and immutable data types work internally and how you can take advantage of mutability or immutability to power your code.
REAL PYTHON

Formatting Gone Wrong
Your code formatter may have reformatted your API key. This can cause confusing errors. Read Kojo’s tale to learn what happened and how he figured it out.
KOJO IDRISSA

De-Duplicating a List While Maintaining Order
There’s more than one way deduplicate an iterable in Python. Which approach you take will depend on whether you care about the order of your items.
TREY HUNNER • Shared by Trey Hunner

Find Your Next Tech Job Through Hired
Hired is home to thousands of companies, from startups to Fortune 500s, that are actively hiring the best engineers, designers, data scientists, and more. Create a profile to let hiring managers extend interview requests to you. Sign up for free today!
HIREDsponsor

Python Assertions, or Checking if a Cat Is a Dog
The articles explains the rules of using assertions in Python, and when not to use them. Includes details on the __debug__ object.
MARCIN KOZAK • Shared by Marcin

XKCD-style Plots in Python With Matplotlib
This short article shows how to add a twist to your matplotlib plots by styling them like the web-famous comic xkcd.
RODRIGO GIRÃO SERRÃO • Shared by Rodrigo Girão Serrão


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 →

Interact With ChatGPT Through a Single-File Python Script
GITHUB.COM/REORX • Shared by Reorx

meerkat: Interactive Data Frames for Unstructured Data
GITHUB.COM/HAZYRESEARCH

sketch: AI Code-Writing Assistant for Pandas
GITHUB.COM/APPROXIMATELABS

replbuilder: Tool for Building Custom REPLs
GITHUB.COM/APEROCKY

pylyzer: A Fast Static Code Analyzer for Python
GITHUB.COM/MTSHIBA

📆🐍 Upcoming Python Events


Python Web Conf 2023
March 13 to March 18, 2023

The Long White Computing Cloud
March 15, 2023

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

PyData Bristol Meetup
March 16, 2023

PyLadies Dublin
March 16, 2023

Chattanooga Python User Group
March 17 to March 18, 2023

PyCascades
March 18 to March 20, 2023 in Vancouver, BC + Remote
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

Key phrases

Older messages

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

Wordle Clone, Wasm, Three Python Trends, and More

Tuesday, February 7, 2023

Build a Wordle Clone With Python and Rich #563 – FEBRUARY 7, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Build a Wordle Clone With Python and Rich In this step-by-step project, you'll build

You Might Also Like

Re: The smart home product I use every day!

Monday, April 29, 2024

Hey , Earlier this month, I emailed you about one of my favorite smart home products, a robot vacuum and mop. I wanted to let you know that Samsung currently has a Spring Black Friday Sale and is

The EU draws its regulatory cords tighter around Apple

Monday, April 29, 2024

The EU has said Apple's iPadOS will now fall under the DMA View this email online in your browser By Alex Wilhelm Monday, April 29, 2024 Welcome to TechCrunch AM! We're off to a quick start

GCP Newsletter #396

Monday, April 29, 2024

Welcome to issue #396 April 29th, 2024 News Networking Official Blog Partners Introducing the Verified Peering Provider program, a simple alternative to Direct Peering - Google has launched a new

How many Vision Pro headsets has Apple sold?

Monday, April 29, 2024

The Morning After It's Monday, April 29, 2024. Apple Vision Pro headset production is reportedly being cut, sales are reportedly “way down.” But but but wait: Wasn't the Vision Pro meant to

Okta Warns of Unprecedented Surge in Proxy-Driven Credential Stuffing Attacks

Monday, April 29, 2024

THN Daily Updates Newsletter cover Webinar -- Uncovering Contemporary DDoS Attack Tactics -- and How to Fight Back Stop DDoS Attacks Before They Stop Your Business... and Make You Headline News.

Import AI 370: 213 AI safety challenges; everything becomes a game; Tesla's big cluster

Monday, April 29, 2024

Are AI systems more like religious artifacts or disposable entertainment? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Apple renews OpenAI talks 🧠, Google fires Python team 👨‍💻, React 19 beta ⚛️

Monday, April 29, 2024

Apple has renewed discussions with OpenAI to use its generative AI technology to power new features coming to the iPhone Sign Up |Advertise|View Online TLDR Together With QA Wolf TLDR 2024-04-29 😘 Kiss

Architecture Weekly #177 - 29nd April 2024

Monday, April 29, 2024

How do you make predictions about tech without the magical crystal ball? We did that today by example. We analysed what Redis and Terraform license changes relate to the new Typescript framework Effect

Software Testing Weekly - Issue 217

Monday, April 29, 2024

How do you deal with conflicts in QA? ⚔️ View on the Web Archives ISSUE 217 April 29th 2024 COMMENT Welcome to the 217th issue! How do you deal with conflicts in QA? Ideally, you'd like to know how

📧 Did you watch the free MMA chapters? (1+ hours of content)

Monday, April 29, 2024

Did you watch the free MMA chapters? Hey there! 👋 I wish you a fantastic start to the week. Last week, I launched Modular Monolith Architecture. More than 300+ students are already deep into the MMA