PyScript, Debugging in Django, Password Handling, and More

#529 – JUNE 14, 2022 VIEW IN BROWSER
The PyCoder’s Weekly Logo
A First Look at PyScript: Python in the Web Browser
In this tutorial, you’ll learn about PyScript, a new framework that allows for running Python in the web browser with few or no code modifications and excellent performance. You’ll leverage browser APIs and JavaScript libraries to build rich, highly interactive web applications with Python.
REAL PYTHON

Understand Django: Debugging Tips And Techniques
Your Django app is up. You’ve got users. Your users are hitting bugs. How do you debug to fix the problems? This article dives deep into to how to find and squish the bugs in your Django code.
MATT LAYMAN • Shared by Matt Layman

Connect, Integrate, & Automate Your Data—From Python, or Any Other Application or Tool
CData makes it easier to unlock the value of data — simplifying connectivity between applications and data sources. Our SQL-based connectors streamline data access making it easy to access real-time data from on-premise and cloud databases, SaaS, APIs, NoSQL and more. Visit cdata.com to learn more →
CDATA SOFTWAREsponsor

Secure Password Handling in Python
Lots of applications require some form of authentication, password handling, or the use of secure credentials. What are the best practices in Python for dealing with this?
MARTIN HEINZ

Python 3.10.5 Bug Release
CPYTHON DEV BLOG

Python Developers Survey 2021 Results
PYTHON SOFTWARE FOUNDATION

EuroSciPy August 29-September 2, Basel, Switzerland
EUROSCIPY.ORG • Shared by Darya Chyzhyk


Discussions


Raising Exceptions or Returning Error Objects in Python
Luke Plant’s article Raising exceptions or returning error objects in Python has folks weighing in.
HACKER NEWS

MicroPython: Python for Microcontrollers
HACKER NEWS


Python Jobs


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

DevOps Engineer
UNIVERSITY OF MICHIGAN 📍 ANN ARBOR, MI, USA

Academic Innovation Developer
UNIVERSITY OF MICHIGAN 📍 ANN ARBOR, MI, USA

Software Development Lead
UNIVERSITY OF MICHIGAN 📍 ANN ARBOR, MI, USA

Senior Backend Engineer
DOIST 📍 ANYWHERE

Senior Storytelling Framework Engineer - Python
GOPRO 📍 FRANCE

Senior Software Engineer - Python Full Stack
BLENDERBOX 📍 USA

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

More Python Jobs >>>


Articles & Tutorials


Build a Quiz Application With Python
In this step-by-step project, you’ll build a Python quiz application for the terminal. Your app will ask you multiple-choice questions that you can use to strengthen your own knowledge or challenge your friends to test theirs.
REAL PYTHON

Pandas Vectorization: Sometimes Slower with Bloated Memory
When you’re processing data with Pandas, vectorized operations can speed up your code. In some cases though, they can actually make it slower, or at least no faster and memory hungry. Learn when it is helpful and when it is harmful to use vectorization.
ITAMAR TURNER-TRAURING

Merge Faster with WorkerB for PRs Chrome Extension
The average pull request sits idle for two days! Add context to your PR & merge faster with WorkerB magic links. Get estimated review time, number of changes, & related issues in one click! Install it today →
LINEARBsponsor

Write and Test a Python Function: Interview Practice
In this interview practice session, you’ll tackle creating a function that will double every character within a string. This challenge is typical of what you might encounter in a Python job interview. You’ll explore how to add tests to your code.
REAL PYTHON course

Dates And Times And Types
Dates and times in code can be more complicated than they first appear. Consider how datetime and date interact and how incorrect use can result in a TypeError even though they’re considered correct by type annotations.
GLYPH LEFKOWITZ

Understanding Sampling With and Without Replacement
Sampling can be done with and without replacement: when an item is sampled it may or may not be returned to the population for the next sample. Learn the differences and how it effects your statistical code.
MICHAEL GALARNY • Shared by Michael Galarnyk

Shipping to Production
“How you ship your code to production in a way that is fast and reliable, is a question more engineers and engineering leaders should educate themselves on.” Read on for a comparison between two extremes.
GERGELY OROSZ

Caching Connection Objects in Python
Three different mechanisms are common for having a single instance of a DB connection in your Python code: module level imports, the lru_cache decorator, or through singletons. See examples of each.
REDOWAN DELOWAR

Reach 100,000+ Pythonistas Every Week
Sponsor PyCoder’s Weekly and reach 100,000+ passionate Python developers, data scientists & machine learning engineers each week. Learn more about sponsorship packages →
PYCODER'S WEEKLYsponsor

Random Python: Secrets and Random Values Made Easy
Needing a random value happens a lot when you’re coding. This article describes different ways of getting random information in Python and how to choose amongst them.
JOHN LOCKWOOD

Handling Concurrency Without Locks
Through the use of an example Django web application, this article illustrates a variety of concurrency issues and how to handle them without locks.
HAKI BENITA


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 →

python-syntax-errors: Version Specific No-Ops
GITHUB.COM/JWILK

libgravatar: Python 3 Interface for Gravatar APIs
GITHUB.COM/PABLUK

arsenal: Inventory & Launcher for Penetration Testing
GITHUB.COM/ORANGE-CYBERDEFENSE

pikepdf: Read and Write PDF, Powered by QPDF
GITHUB.COM/PIKEPDF

django-pgpubsub: Distributed Tasks with Postgres NOTIFY
GITHUB.COM/OPUS10 • Shared by Paul Gilmartin

📆🐍 Upcoming Python Events


Software Craftsmanship
June 15, 2022

PiterPy Breakfast
June 15, 2022

Weekly Real Python Office Hours Q&A (Virtual)
June 15, 2022

PyData Bristol Meetup
June 16, 2022

PyLadies Dublin
June 16, 2022

Karlsruhe Python User Group (KaPy)
June 17, 2022

GeoPython 2022
June 20 to June 23, 2022
Happy Pythoning!
Copyright © 2022 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

Django Static Files, Data Cleaning, CPython Strings, and More

Tuesday, June 7, 2022

Django Static Files and Templates #528 – JUNE 7, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Django Static Files and Templates “Static files like CSS, JavaScript, and fonts are a core piece of

Not Functions, But Classes; Exploring Scope; All About Asterisks; and More

Tuesday, May 31, 2022

Python's "Functions" Are Sometimes Classes #527 – MAY 31, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Python's “Functions” Are Sometimes Classes Ever use list() or enumerate()

Building a URL Shortener, Debug Life, Pigeon Deterents, and More

Tuesday, May 24, 2022

Build a URL Shortener With FastAPI and Python #526 – MAY 24, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Build a URL Shortener With FastAPI and Python In this step-by-step project, you'll

Python's min() and max(), django-rich, Evaluating Dependencies, and More

Tuesday, May 17, 2022

Python's min() and max(): Find Smallest and Largest Values #525 – MAY 17, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Python's min() and max(): Find Smallest and Largest Values In this

PyCon US 2022 Wrap-Up, Game Engines, PyScript, and More

Tuesday, May 10, 2022

PyCon US 2022 Highlights #524 – MAY 10, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo PyCon US 2022 Highlights “It was wonderful to be back at PyCon US in person again. PyCon is way too big for

You Might Also Like

Scoop: Tiger Global-backed Innovaccer in talks to raise $250M

Wednesday, May 1, 2024

Plus: An update on Google's layoffs and the social platform X didn't see coming View this email online in your browser By Christine Hall Wednesday, May 1, 2024 Welcome to TechCrunch PM. Today,

🖥️ Why I'm Never Going Back to a Windows PC — Tips Before You Buy a Smart Ring

Wednesday, May 1, 2024

Also: How to Clear the Moisture Detected Warning on Samsung Phones, and More How-To Geek Logo May 1, 2024 Did You Know A single 1 oz shot of espresso only has approximately 40 mg of caffeine, whereas a

Daily Coding Problem: Problem #1428 [Hard]

Wednesday, May 1, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Microsoft. Given an array of positive integers, divide the array into two subsets such

Top Tech Deals 👀 Samsung Gaming Monitor, Pixel Watch 2, MacBook Air, and More

Wednesday, May 1, 2024

Get a discounted M3 MacBook Air or expand your Xbox storage. How-To Geek Logo May 1, 2024 Top Tech Deals: Samsung Gaming Monitor, Pixel Watch 2, MacBook Air, and More Get a discounted M3 MacBook Air or

Infographic | Visualizing Global Gold Production in 2023 🏅

Wednesday, May 1, 2024

Gold production in 2023 was led by China, Australia, and Russia, with each outputting over 300 tonnes. View Online | Subscribe Presented by: Access European benchmarks with a trusted 25-year history

⚙️ GPT-5 may be releasing sooner than expected

Wednesday, May 1, 2024

Plus: Amazon rebrands AI branch ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Noonification: How to Create a CI/CD Pipeline Using GitHub and AWS EC2

Wednesday, May 1, 2024

Top Tech Content sent at Noon! Get Algolia: AI Search that understands How are you, @newsletterest1? 🪐 What's happening in tech today, May 1, 2024? The HackerNoon Newsletter brings the HackerNoon

Arc for Windows is better than Chrome

Wednesday, May 1, 2024

Adobe bug bounty; Rabbit's first R1 software update; Dream podcaster mic -- ZDNET ZDNET Tech Today - US May 1, 2024 placeholder Arc browser is now available for Windows and it's so much better

Is TikTok trying to get banned from the App Store early?

Wednesday, May 1, 2024

TikTok is offering some users a way to buy its in-app tipping tokens outside of Apple's App Store. View this email online in your browser By Alex Wilhelm Wednesday, May 1, 2024 Good morning, and

Get Compliant in 2024 - Download Ultimate PAM Policy Template Today

Wednesday, May 1, 2024

Privileged Access Management Policy Template What are your PAM policies for 2024? Get ready for the New Year Is your approach to Privileged Access Management as current and effective as it could be? In