Bitwise Operators, mypy Exhaustiveness Checking, Job Scheduling, and More

#451 – DECEMBER 15, 2020 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Bitwise Operators in Python
In this tutorial, you’ll learn how to use Python’s bitwise operators to manipulate individual bits of data at the most granular level. With the help of hands-on examples, you’ll see how you can apply bitmasks and overload bitwise operators to control binary data in your code.
REAL PYTHON

Exhaustiveness Checking With mypy
What if mypy could warn you about possible problems at “compile time”? In this article, you’ll learn a little trick to get mypy to fail when a value in an enumeration type is left unhandled.
HAKI BENITA

Scheduling All Kinds of Recurring Jobs With Python
Every software developer, data scientist, and sysadmin must, at some point, schedule jobs to run. In this article, you’ll learn how to do this with Python. You’ll encounter a number of methods for scheduling jobs, from using the standard library to leveraging third-party packages.
TOWARDSDATASCIENCE.COM • Shared by Martin Heinz

How Python’s Object System Works
The Python object system is one of the most important parts of the Python language. Mastering it is essential to mastering the Python language. Learn how the object system works by examining the CPython source code in this detailed tutorial.
VICTOR

Python Developers Are in Demand on Vettery
Get discovered by top companies using Vettery to actively grow their tech teams with Python developers (like you). Here’s how it works: create a profile, name your salary, and connect with hiring managers at startups to Fortune 500 companies. Sign up today - it’s completely free for job-seekers →
VETTERYsponsor

What Is Data Engineering and Is It Right for You?
In this article, you’ll get an overview of the discipline of data engineering. You’ll learn what is and isn’t part of a data engineer’s job, who data engineers work with, and why data engineers play a crucial role in many industries.
REAL PYTHON

Python Software Foundation 2020 Fundraiser
Help the PSF recover funds lost due to COVID-19.
PYTHON.ORG

PyTorch 1.7.1 Released: Updated Binaries for Python 3.9
GITHUB.COM/PYTORCH

Python 3.9.1 Final Released
PYTHON.ORG

Qt 6.0 Released
QT.IO • Shared by Bartosz Zaczyński


Discussions


Why Is Plus-Equals Valid for List and Dictionary?
The docs for the .__iadd__() special method don’t make it clear why it works for collections like lists and dictionaries. Time to peruse some CPython source code!
STACK OVERFLOW


Python Jobs


Advanced Python Engineer (Newport Beach, CA, USA)
RESEARCH AFFILIATES

Backend Engineer (Berlin, Germany)
FEATHER

Senior Data Engineer (Remote)
SEMANTICBITS

Software Developer Lead (Remote)
PNC FINANCIAL SERVICES GROUP

More Python Jobs >>>


Articles & Tutorials


Python Structural Pattern Matching Morphs Again
Follow the saga of PEP 622 which proposes to add a new structural pattern matching feature to Python. There have been a number of updates to the PEP, as well as some animated discussion in the Python-dev mailing list.
JAKE EDGE

Generators, Coroutines, and Learning Python Through Exercises
Have you started to use generators in Python? Are you unsure why you would even use one over a regular function? How do you use the special “send” method and the “yield from” syntax? This week on the show, we have Reuven Lerner to talk about his PyCon Africa 2020 talk titled “Generators, coroutines, and nanoservices.”
REAL PYTHON podcast

Become a Python Guru With PyCharm
PyCharm is the Python IDE for Professional Developers by JetBrains providing a complete set of tools for productive Python, Web and scientific development. Be more productive and save time while PyCharm takes care of the routine →
JETBRAINSsponsor

Python Turtle for Beginners
In this step-by-step course, you’ll learn the basics of Python programming with the help of a simple and interactive Python library called turtle. If you’re a beginner to Python, then this course will definitely help you on your journey as you take your first steps into the world of programming.
REAL PYTHON course

My Evolution Writing JSON-REST APIs
After writing JSON-REST APIs for a number of years, Philip Jones noticed that there were shortcomings with documenting API structure and validating data sent and received. In this article, Philip discusses how he solved both of these issues with the quart-schema package.
PHILIP JONES

Maps With Django: GeoDjango, SpatiaLite and Leaflet
In part one of this series, you’ll get a quickstart guide to creating web maps with the Python-based web framework Django using its module GeoDjango, the SQLite database with its spatial extension SpatiaLite and Leaflet, a JavaScript library for interactive maps.
PAOLO MELCHIORRE

Distributed Spatial Data Operations in Open Source CockroachDB
Where is the nearest gas station? Is the house I want to buy located in a flood plain? Build apps that answer questions like these with CockroachDB’s open source spatial tools are free and compatible with PostGIS.
COCKROACH LABSsponsor

Implementing Rust’s dbg! in Python
Rust’s dbg macro is a useful expression printer that adds the source line to what is printed. In this article, Raphael shows you how to implement a similar function in Python and discusses many of the intricacies involved with inspecting code states.
RAPHAEL

Speed Up Python With Concurrency
Learn what concurrency means in Python and why you might want to use it. You’ll see a simple, non-concurrent approach and then look into why you’d want threading, asyncio, or multiprocessing.
REAL PYTHON course

GraphQL Authorization With Graphene, SQLAlchemy and oso
Learn how to set up a GraphQL authorization layer between Graphene and SQLAlchemy using oso’s open-source authorization library and the sqlalchemy-oso package.
DAVID HATCH • Shared by Stephie Glaser


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 →

dirsearch: Web Path Scanner
GITHUB.COM/MAUROSORIA

visidata: A Terminal Spreadsheet Multitool for Discovering and Arranging Data
GITHUB.COM/SAULPW

asv: A Benchmarking Tool With Web-Based Reporting
GITHUB.COM/AIRSPEED-VELOCITY

py-applescript: An Easy-To-Use Python Wrapper for NSAppleScript
GITHUB.COM/RDHYEE

sqlalchemy-oso: Open-Source Policy Engince for Authorization
GITHUB.COM/OSOHQ

beartype: Unbearably Fast O(1) Runtime Type-Checking in Pure Python
GITHUB.COM/BEARTYPE

quart-schema: Schema Validation and Auto Documentation for Quart
GITLAB.COM/PGJONES

📆🐍 Upcoming Python Events


⋅ Real Python Office Hours (Virtual) December 16, 2020

⋅ BelPy January 30 – 31, 2021

⋅ PyCascades 2021 February 19 – 21, 2021

⋅ PyCon 2021 May 12 – 18, 2021
Happy Pythoning!
Copyright © 2020 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

ORMs, Numerical Precision, PyQt and SQL, and More

Tuesday, December 8, 2020

Why Should You Use an ORM (Object Relational Mapper)? #450 – DECEMBER 8, 2020 VIEW IN BROWSER The PyCoder's Weekly Logo Why Should You Use an ORM (Object Relational Mapper)? Budding web developers

Unravelling Nots, PyQt Layouts, New Pip Dependency Resolver, and More

Friday, December 4, 2020

Unravelling `not` in Python #449 – DECEMBER 1, 2020 VIEW IN BROWSER The PyCoder's Weekly Logo Unravelling not in Python In the next blog post in his series about Python's syntactic sugar, Brett

Synthetic Data, Reproducible Conda Environment, Regular Expressions, and More

Tuesday, November 24, 2020

Synthetic Data Vault (SDV): A Python Library for Dataset Modeling #448 – NOVEMBER 24, 2020 VIEW IN BROWSER The PyCoder's Weekly Logo Synthetic Data Vault (SDV): A Python Library for Dataset

Python on .NET, Malicious Packages, Quantum Computing, and More

Tuesday, November 17, 2020

PyPy: Faster Python With Minimal Effort #447 – NOVEMBER 17, 2020 VIEW IN BROWSER The PyCoder's Weekly Logo PyPy: Faster Python With Minimal Effort In this tutorial, you'll learn how you can use

Key Driver Analysis, Defaultdicts, Unladen Swallows, and More

Tuesday, November 10, 2020

Doing Key-Driver Analysis in Python #446 – NOVEMBER 10, 2020 VIEW IN BROWSER The PyCoder's Weekly Logo Doing Key-Driver Analysis in Python Take a look at how statistical knowledge plays an

You Might Also Like

The Stanford Grad Who Forgot How To Think

Tuesday, December 24, 2024

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, December 24, 2024? The

The next big HDMI leap is coming

Tuesday, December 24, 2024

Sora side hustles; Casio's tiny watch comes to the US -- ZDNET ZDNET Tech Today - US December 24, 2024 Ecovacs Deebot T30S Combo robot vacuum and mop The next big HDMI leap is coming next month -

⚙️ Robo-suits

Tuesday, December 24, 2024

Plus: The data center energy surge ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Apache Tomcat Vulnerability CVE-2024-56337 Exposes Servers to RCE Attacks

Tuesday, December 24, 2024

THN Daily Updates Newsletter cover The Data Science Handbook, 2nd Edition ($60.00 Value) FREE for a Limited Time Practical, accessible guide to becoming a data scientist, updated to include the latest

Edge 459: Quantization Plus Distillation

Tuesday, December 24, 2024

Some insights into quantized distillation ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Prepare for a Lifetime of Adventure with Rosetta Stone

Tuesday, December 24, 2024

The Perfect Gift For Every Traveler on Your List Rosetta Stone makes it easy to connect with the world in a whole new way. With a Lifetime Unlimited plan, users can access 25 languages to prepare for

Tuesday Triage #232

Tuesday, December 24, 2024

Your weekly crème de la crème of the Internet is here! The 232nd edition featuring fish traps, little Mussolinis, and volvelles. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Elastic Community Newsletter

Tuesday, December 24, 2024

Check out the latest from the Elastic Community ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ elastic | Search. Observe. Protect community-newsletter-header-img.png

Daily Coding Problem: Problem #1646 [Medium]

Monday, December 23, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Facebook. Write a function that rotates a list by k elements. For example, [1, 2, 3, 4,

GCP Newsletter #430

Monday, December 23, 2024

Welcome to issue #430 December 23rd, 2024 News Event Official Blog Calling all devs: Code the future of baseball with Google Cloud and MLB - Google Cloud and MLB are hosting a hackathon where