Issue #532

Functional Programming, Single Page Apps with Pyodide, Composing Music, and More

July 5, 2022

Functional Programming, Single Page Apps with Pyodide, Composing Music, and More
#532 – JULY 5, 2022 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Exploring Functional Programming With Bruce Eckel
Would you like to explore the functional programming side of Python? What are the advantages of this approach, and what tools are built into the language? This week on the show, author Bruce Eckel talks about functional programming in Python.
REAL PYTHON podcast

Building a Single Page Application with Pyodide
Pyodide leverages WASM to run Python in the browser. In this tutorial, you’ll learn how to build a Single Page Application using Python and Pyodide including how to manipulate the DOM and manage state.
AMIR TADRISI • Shared by Amir Tadrisi

The Developer Experience You Always Wanted for Postgres
Launch PostgreSQL today with Crunchy Bridge on any cloud: AWS, GCP, Azure, & Heroku. Getting you better performance, support, and developer tools. Fully-managed operations with around the clock support and monitoring for all tiers. Postgres questions? 100% Postgres experts on support →
CRUNCHY DATAsponsor

Procedural Music Composition With arvo
By using the music21 and avro libraries you can create musical scores programmatically. This article runs you through the libraries you need and how to compose your own music.
SERGE-ÉTIENNE PARENT

Django High Security Releases Issued: 4.0.6 and 3.2.14
DJANGO SOFTWARE FOUNDATION

PyTorch 1.12 Released
PYTORCH.ORG


Discussions


Any Cert That Legitimately Helped Your Career?
HACKER NEWS


Python Jobs


Senior Python Software Engineer
MYOME 📍 SAN FRANCISCO, CA, USA

Senior Full-Stack Web Developer
MONETIZEMORE 📍 ANYWHERE

Backend Software Developer
CANOPY 📍 DRAPER, UT, USA

Gameful Learning Developer
UNIVERSITY OF MICHIGAN 📍 ANN ARBOR, MI, USA

Python Technical Architect
BLENDERBOX 📍 USA

Software Engineer (Los Angeles or Dallas)
CAUSEWAY CAPITAL MANAGEMENT LLC 📍 LOS ANGELES, CA, USA

Principal Python Engineer (100% Remote)
NIRA 📍 SAN FRANCISCO, CA, USA

More Python Jobs >>>


Articles & Tutorials


Building a Site Connectivity Checker
In this video course, you’ll build a Python site connectivity checker for the command line. While building this app, you’ll integrate knowledge related to making HTTP requests with standard-library tools, creating command-line interfaces, and managing concurrency with asyncio and aiohttp.
REAL PYTHON course

Python Stacks, Queues, and Priority Queues in Practice
In this tutorial, you’ll take a deep dive into the theory and practice of queues in programming. Along the way, you’ll get to know the different types of queues, implement them, and then learn about the higher-level queues in Python’s standard library. Be prepared to do a lot of coding.
REAL PYTHON

Train a Production Ready Image Classification in Zero Lines of Python
Debugging boilerplate training pipelines is as useful as reinventing the wheel. Try a modern CV model development CLI: pass in the data and get back a trained model. Save time so you can focus on building applications, not debugging tensor shapes →
MASTERFUL AIsponsor

Plug-and-Play Python Development
Most Python projects require quite some tooling to be installed on your laptop before you can build them. Why isn’t it just as easy as npm install? Learn how pyprojectx can add reproducible, plug-and-play builds to your Python projects.
IVO HOUBRECHTS • Shared by Houbie

Design Patterns in Machine Learning Code and Systems
“Design patterns are not just a way to structure code. They also communicate the problem addressed and how the code or component is intended to be used.” This article describes several patterns often found in machine learning code.
EUGENE YAN

5 Levels of Handling Date and Time in Python
From the basics of getting the current date and time, to becoming a master of time zones and date formatting, this article shows you what you need to know about dates and times in Python.
YANG ZHOU

Running a Django Application on the Google Cloud Platform
The Cloud may be worth considering for your next Python project, but it can be complex to configure. This article shows you how to run a basic Django app on the Google Cloud Platform.
TOBIASZ KĘDZIERSKI • Shared by Tobiasz Kędzierski

10 Python Image Processing Tools
An overview of some of the most commonly used Python libraries that provide an easy and intuitive way to transform images. Includes info on Pillow, OpenCV, SimpleITK, and more.
PARUL PANDEY

Low Quality Code is 15x More Prone to Bugs. Cut Down on Bug Risk and Tech Debt with Sourcery
It’s easy for technical debt to creep up in any codebase. With Sourcery you can instantly review and fix tech debt issues and make sure your own teams code standards are being met.
SOURCERYsponsor

Preserving Columnar Types When Reindexing DataFrames
Reindexing DataFrames in Pandas can lead to undesirable degradation of columnar types; StaticFrame offers alternatives that solve this problem.
CHRIS ARIZA • Shared by Chris Ariza

A Recipe Recommendation System
Using a 160k recipe library and some basic food preferences, you can build a recipe recommendation system with Python, embeddings and FAISS.
DUARTE O.CARMO


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 →

MostMinimalWebFramework: 100 LOC Web Framework
GITHUB.COM/KADIRCANCETIN

more-itertools: Routines for Iterables, Beyond itertools
GITHUB.COM/MORE-ITERTOOLS

red-engine: Modern Scheduling Library for Python
GITHUB.COM/MIKSUS

ast_elector: Query Your Python AST
GITHUB.COM/GUILATROVA • Shared by Guilherme

JSON to Pydantic: Convert JSON Objects Into Pydantic Models
JSONTOPYDANTIC.COM

📆🐍 Upcoming Python Events


Heidelberg Python Meetup
July 6, 2022

Weekly Real Python Office Hours Q&A (Virtual)
July 6, 2022

Canberra Python Meetup
July 7, 2022

Reunión Python Valencia
July 7, 2022

PyCon Colombia 2022
July 9 to July 11, 2022

Python Miami
July 9 to July 10, 2022
Happy Pythoning!
Copyright © 2022 PyCoder’s Weekly, All rights reserved.