Have you decided how you’re going to deploy your Django project? Should you use a VPS or a PaaS? Christopher Trudeau is back this week, bringing another batch of PyCoder’s Weekly articles and projects. We also have organizers from PyCascades to share details about this year’s hybrid in-person and virtual conference.
Christopher shares an article about selecting an appropriate Django project deployment strategy. The guide compares VPS (virtual private server) and PaaS (platform as a service) systems. He also covers hosting providers for each and highlights potential pitfalls.
We share several other articles and projects from the Python community, including a news update, what’s new in SQLAlchemy 2.0, how to flush the output of the Python print function, the dangers behind image resizing for machine learning, a project that visualizes pathfinding algorithms, and a runtime executor project.
We also have three special guests from PyCascades 2023 to dig into the details of the conference. Conference chair Eliza Sarobhasa is CTO at Women Who Drone and Leadership Fellow (Python Track) & Python Developer Advocate at Women Who Code. Sprints chair Chethana Gopinath is a Software Engineer at realtor.com and a Senior Lead at Women Who Code Python. Speaker Support Chair Jolene Wong is a Senior Software Engineer at Cisco based in Vancouver. We discuss hosting a hybrid conference, participating in open-source sprints, and finding a local Python community.
Course Spotlight: The Python print() Function: Go Beyond the Basics
In this step-by-step course, you’ll learn about the print() function in Python and discover some of its lesser-known features. Avoid common mistakes, take your “hello world” to the next level, and know when to use a better alternative.
00:00:00 – Introduction00:02:47 – Django 4.2 beta 1 released00:03:04 – What’s New in SQLAlchemy 2.0?00:06:42 – How to Flush the Output of the Python Print Function00:14:30 – The Essential Django Deployment Guide00:21:37 – Sponsor: Snyk00:22:30 – The Dangers Behind Image Resizing00:29:40 – Pathfinding-Visualizer: Visualize Pathfinding With Pygame00:32:40 – rtx: Runtime Executor (asdf Rust Clone)00:36:19 – Video Course Spotlight00:37:31 – PyCascades 2023 Details00:38:53 – Hybrid conference00:41:11 – How did Chethana get involved?00:42:30 – Open-source sprints00:45:19 – How did Jolene get involved?00:46:31 – How did Eliza get involved?00:50:21 – Venue details00:52:32 – Scheduled talks00:56:13 – Conference sponsors00:57:48 – Advice for attendees01:00:46 – Tickets and virtual platform01:03:01 – What are you excited about in the world of Python?01:06:13 – Thanks and goodbyeDjango 4.2 beta 1 released | Weblog | DjangoSQLAlchemy 2.0 ReleasedWhat’s New in SQLAlchemy 2.0? – SQLAlchemy 2.0 was launched in January. This article reviews the latest changes, whether it is worth the upgrade, and how to go about it.How to Flush the Output of the Python Print Function – In this tutorial, you’ll learn how to flush the output of Python’s print function. You’ll explore output stream buffering in Python using code examples and learn that output streams are block-buffered by default, and that print() with its default arguments executes line-buffered when interactive.The Essential Django Deployment Guide – Going from “it works on my machine” to deploying to the public can be a daunting task. This guide details the choices between VPS and PaaS systems, how to choose, what the options are, and what you need to know to get your Django code live.The Dangers Behind Image Resizing – When training an ML model on image data you likely want smaller, consistently sized images. That means image processing in your pipeline, but the expectation that image resizing is the same across libraries can cause unforeseen problems.Pathfinding-Visualizer: Visualize Pathfinding With Pygamertx: Runtime Executor (asdf Rust Clone)Home - PyCascades 2023The Team - PyCascades 2023Schedule - PyCascades 2023Sprints - PyCascades 2023PyCascades 2023 - Sprints Sign Up FormCOVID Policy - PyCascades 2023Venueless - PyCascades 2023Become A Sponsor - PyCascades 2023PyCascades - YouTubeEpisode #44: Creating an Interactive Online Python Conference for PyCascades 2021 – The Real Python PodcastFile Object - Glossary - Python DocumentationThe Python print() Function: Go Beyond the Basics – Real Pythonfunctools — Higher-order functions and operations on callable objects — Python 3.11.2 documentationPython - Women Who CodeWWCodePython - Tiktok Creator & Bio Links - BeaconsPyLadies – Women Who Love Coding in PythonPyLadies Vancouver (Vancouver, BC) | MeetupLevel up your Python skills with our expert-led courses:
Deploy a Django App With Gunicorn and NginxThe Python print() Function: Go Beyond the BasicsSQLite and SQLAlchemy in Python: Moving Your Data Beyond Flat Files Support the podcast & join our community of Pythonistas