Issue #535

Flashcards in Django, Persistent Auth in CLIs, Replace These Libraries, and More

July 26, 2022

Flashcards in Django, Persistent Auth in CLIs, Replace These Libraries, and More
#535 – JULY 26, 2022 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Build a Flashcards App With Django
Create your own flashcards app to help you to learn a new language. In this step-by-step project, you’ll replicate a spaced repetition system with the Django web framework. If you want to learn a new topic while sharpening your Django and Python skills, this tutorial is the perfect match for you!
REAL PYTHON

Building a Persistently Authenticated Python CLI
When building a command line program that authenticates to a service, you may not want the user to have to enter their password every single time. This article shows you how to manage authentication tokens to make you user’s life easier. The Twitter API is used as the example data source.
CHRISTOPHER FLEETWOOD

Generating Fake Security Data With Python and Faker-Security
Snyk recently open sourced the faker-security Python package to help anyone working with security data. Learn more about what a Python package is and how to use it in combination with factory_boy to generate fake security data →
SNYK.IOsponsor

Say Goodbye to These Obsolete Python Libraries
It’s time to say goodbye to os.path, random, pytz, namedtuple and many more obsolete Python libraries. Start using the latest and greatest ones instead.
MARTIN HEINZ • Shared by Martin Heinz

PEP 695: Type Parameter Syntax (Draft)
This Python Enhancement Proposals (PEP) draft describes an improved syntax for specifying type parameters within a generic class, function, or type alias. For example: class ClassA[T: str]: It also introduces a new statement for declaring type aliases.
PYTHON.ORG

Django 4.1 Release Candidate 1 Available
DJANGO SOFTWARE FOUNDATION


Discussions


What Are Some Cool but Obscure Data Structures?
HACKER NEWS

Is Having a Personal Blog/Brand Worth It for You?
HACKER NEWS


Python Jobs


Backend Engineering Manager
CLOSE 📍 ANYWHERE

Remote US, Python/JavaScript Full-Stack Engineers
UNITED STATES SENATE SERGEANT AT ARMS 📍 ANYWHERE

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

Senior Data Engineer - Java/Python - Remote
INFINITY CONSULTING 📍 DALLAS, TX, USA

Data Engineer - Data Bricks, Snowflake, Python, Remote
ADDISON GROUP 📍 OKLAHOMA CITY, OK, USA

More Python Jobs >>>


Articles & Tutorials


map() vs submit() With the ProcessPoolExecutor in Python
In this tutorial you will learn the difference between map() and submit() when executing tasks with the ProcessPoolExecutor in Python. You’ll see how to use map() to convert a for-loop into processes and when to replace it with submit() to gain more control.
JASON BROWNLEE

Meet the Python Steering Council
Once Guido gave up his title of Benevolent Dictator for Life, a five-person team became responsible for steering the development of Python. Improvements are rarely straightforward, changes that help some may hurt others.
JOEL KHALILI

Pretty Maps in Python
The prettymaps project allows you to create an aesthetically pleasing map image from real data. It does this in only 425 lines of Python through the use of 3rd party packages. Learn how to use it and how it works.
MARK LITWINTSCHIK

Typing Your Way Into Safety
Type annotations help catch errors in your code. Their correct usage can even stop malicious use of your scripts. Learn how the Literal type can prevent users from sending values that could break your code.
ISRAËL HALLÉ

Using the Python not Operator
In this course, you’ll learn how Python’s not operator works and how to use it in your code. You’ll get to know its features and see what kind of programming problems you can solve by using not in Python.
REAL PYTHON course

Technical Writing for Developers
“The way we write about and around code is arguably as important as the code itself.” This article outlines how programming and writing come together to take your developer skills to the next level.
CSS-TRICKS.COM

Find Your Next Tech Job Through Hired
Hired has 1000s of companies ranging from startups to Fortune 500s that are actively hiring developers, data scientists, mobile engineers, and more. Create a profile with your skills and preferences for hiring managers to reach you. Sign up today!
HIREDsponsor

Custom Python Dictionaries: Inheriting From dict vs UserDict
In this tutorial, you’ll learn how to create custom dictionary-like classes in Python by inheriting from the built-in dict class or by subclassing UserDict from the collections module.
REAL PYTHON

To Ruby From Python
Thinking of picking up another programming language? This quick list shows you what is similar and what is different between Ruby and Python.
RUBY-LANG.ORG


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 →

pywhen: Wrapper for date/time parsing
GITHUB.COM/CLTRUDEAU

unzip-http: Get Files From .zip Without Downloading It All
GITHUB.COM/SAULPW

cleanlab: AI Package for Cleaning Your ML Data
GITHUB.COM/CLEANLAB

sympy: A Computer Algebra System Written in Pure Python
GITHUB.COM/SYMPY

jetfuel: Python Performance Profiling for Production
GITHUB.COM/JETFUEL-DEV

📆🐍 Upcoming Python Events


PyKla Monthly Meetup
July 27, 2022

Heidelberg Python Meetup
July 27, 2022

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

SPb Python Drinkup
July 28, 2022

PyDelhi User Group Meetup
July 30, 2022

PythOnRio Meetup
July 30, 2022
Happy Pythoning!
Copyright © 2022 PyCoder’s Weekly, All rights reserved.