#535 – JULY 26, 2022
View in Browser »
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
Discussions
Python Jobs
Backend Engineering Manager (Anywhere)
Remote US, Python/JavaScript Full-Stack Engineers (Anywhere)
United States Senate Sergeant at Arms
Senior Python Software Engineer (San Francisco, CA, USA)
Senior Data Engineer - Java/Python - Remote (Dallas, TX, USA)
Data Engineer - Data Bricks, Snowflake, Python, Remote (Oklahoma City, OK, USA)
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 PYTHONcourse
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
Events
PyKla Monthly Meetup
July 27, 2022
MEETUP.COM
Heidelberg Python Meetup
July 27, 2022
MEETUP.COM
SPb Python Drinkup
July 28, 2022
MEETUP.COM
PyDelhi User Group Meetup
July 30, 2022
MEETUP.COM
PythOnRio Meetup
July 30, 2022
PYTHON.ORG.BR
Happy Pythoning!
This was PyCoder’s Weekly Issue #535.
View in Browser »
[ Subscribe to 🐍 PyCoder’s Weekly 💌 – Get the best Python news, articles, and tutorials delivered to your inbox once a week >> Click here to learn more ]