PyCoder’s Weekly: Issue #451 (Dec. 15, 2020)

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.

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.

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.

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.

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 →

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.

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

PyTorch 1.7.1 Released: Updated Binaries for Python 3.9

Python 3.9.1 Final Released

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


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!

Python Jobs

Advanced Python Engineer (Newport Beach, CA, USA)

Backend Engineer (Berlin, Germany)

Senior Data Engineer (Remote)

Software Developer Lead (Remote)

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.

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.”

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 →

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.

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.

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.

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.

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.

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.

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

visidata: A Terminal Spreadsheet Multitool for Discovering and Arranging Data

asv: A Benchmarking Tool With Web-Based Reporting

py-applescript: An Easy-To-Use Python Wrapper for NSAppleScript

sqlalchemy-oso: Open-Source Policy Engince for Authorization

beartype: Unbearably Fast O(1) Runtime Type-Checking in Pure Python

quart-schema: Schema Validation and Auto Documentation for Quart

Author: Shantun Parmar

2 thoughts on “PyCoder’s Weekly: Issue #451 (Dec. 15, 2020)

  1. Thanks for the recommendations on credit repair on this amazing site. A few things i would tell people is always to give up the particular mentality they can buy today and shell out later. Like a society we all tend to try this for many issues. This includes getaways, furniture, and also items we wish. However, you should separate the wants out of the needs. While you’re working to raise your credit score make some sacrifices. For example it is possible to shop online to save cash or you can visit second hand retailers instead of pricey department stores regarding clothing.

Thanks for your support, You may click on ads to encourage us which assits to writers.

Leave a Reply

Your email address will not be published.