๐ŸŽ Give the #1 gift request of 2024... a ZTM membership gift card! ๐ŸŽ

Python Monthly Newsletter ๐Ÿ’ป๐Ÿ

Andrei Neagoie
Andrei Neagoie
hero image

27th issue! If you missed the previous ones, you can read all the previous issues of my monthly Python newsletter here.

If itโ€™s your first time hereโ€ฆ (otherwise, skip this part)

Being a Python developer is a fantastic career option. Python is now the most popular language with lots of growing job demand (especially in the fields of Web, Data Science and Machine Learning). You have many job opportunities, you can work around the world, and you get to solve hard problems.

One thing that is hard, however, is staying up to date with the constantly evolving ecosystem. You want to be a top-performing python developer, coder, programmer, software developer, but you donโ€™t have time to select from hundreds of articles, videos and podcasts each day.

This is the best Python newsletter for you if you want to keep up-to-date with the industry and keep your skills sharp, without wasting your valuable time.

I curate and share the most important articles, news, resources, podcasts and videos of the month.

Think Tim Ferriss and the Pareto Principle (80/20 rule) meeting the Python world. Whatโ€™s the 20% that will get you 80% of the results?

Let's dive in. Here's what you missed in February 2022 as a Python Developerโ€ฆ

Security Pitfalls in Python ๐Ÿ•ณ

Python developers trust their applications to have a solid security state due to the use of standard libraries and common frameworks. However, within Python, just like in any other programming language, there are certain features that can be misleading or misused by developers. Often it is only a very minor subtlety or detail that can make developers slip and add a severe security vulnerability to the code base. Here are the top 10 pitfalls to avoid.

State of the Octoverse ๐Ÿ™

A popular survey done by Github ever year is here: State of the Octoverse. This survey combines telemetry from 4M+ repositories and surveys from more than 12,000 developers. It reveals current trends and also gives us predictive results.

We can now see with more precision how to achieve successful outcomes for developers, teams, organizations, and communities. Python keeps climbing up and took the #2 spot from Java. Check out the full results!

Listening to Ports ๐Ÿ“ž

Using Python, this story explores some concepts in computer networking. Code samples can also be found in this repo and it is a fun read to explore what ports on your network really do!

โ€œShit, what time is it?โ€ he asks.

Things to Automate with Python ๐Ÿš 

Do you automate things in your life with Python? If not, you should... here some ideas for you.

Weekend Project Idea ๐ŸŽ

This is a step-by-step tutorial that details how to configure Django to run on Docker with Postgres. For production environments, you'll add on Nginx and Gunicorn. You'll also take a look at how to serve Django static and media files via Nginx.

Follow the weekend project tutorial here.

API Server Code 100x ๐Ÿšฃ

Some of the tricks the author used to speed up calls to their analytics API written in Python: played with asyncio, messed with SQLAlchemy, hacked deep in asyncpg, rewrote parts in Cython, found better data structures, replaced some pandas with pure numpy. How we optimized Python API server code 100x.

Clean Python ๐Ÿญ

"What're the cleanest, most beautifully written projects in Github that are worth studying the code?" This question was asked by a redditor and here are the answers.

Django Goes Black ๐Ÿด

In last month's newsletter we told you about a cool new code formatter for Python called Black. Well, apparently the word got out because the Django project is officially using Black to format their codebase!

Python Type Hints ๐Ÿ™†

An interesting discussion on hackernews around the topic of Python and type hints. Are they overused? Maybe we need to think about guidelines so we can have a better balance between clarity and verbosity? What do you think?

Microsoft Loves Python ๐Ÿ‘ฉโ€๐Ÿ’ป

If you were not aware, Visual Studio Code is a Microsoft project. They also help with the official Python Extension of which they do a monthly release. Here are the updates to this plugin for February.

Mac Says Bye Bye โœŒ๏ธ

MacOS has officially said bye to Python 2. You will now have to install Python 3 and there will no longer be a default Python installation that comes with your new Mac.

PEP 654 ๐Ÿฆฟ

PEP 654 was just accepted! Check out the details here.

  1. A new standard exception type, the ExceptionGroup, which represents a group of unrelated exceptions being propagated together.
  2. A new syntax except* for handling ExceptionGroups.

News Around the World ๐Ÿ—บ

  • When being a software developer really pays: Wordle was acquired from its creator, Josh Wardle, a software engineer in Brooklyn, for a price โ€œin the low seven figures,โ€ by the New York Times.

  • DeepMind, famous for AlphaGo and AlphaFold, just made a huge leap solving novel problems and setting a new milestone in competitive programming: AlphaCode. Machine generated code is getting closer to human levels... watch out ;)

  • Feds arrest married couple, seize $3.6 billion in hacked bitcoin funds. This story is straight out of a millennial crime drama. Absolutely wild story still being told.

Big Tech News ๐Ÿข

Completely useless to your career but still great ๐Ÿ™ƒ

Best Resource of the Month ๐Ÿฅฝ

I have now written this newsletter every month for over 3 years. Wow, that's a really long time, but why am I telling you all of this? To justify what I am about to do: put my own article as the best resource of the month.

Hear me out though... I NEVER put my own posts as the best resource of the month but I think this one is really really good. Don't believe me? How about you check it out and tell me it's not half decent:

Top 7 Soft Skills For Developers & How To Learn Them

Skills that you can learn to stand out from the rest. Skills that will never become outdated and you will have for life. Intrigued? Go read the article.

Trick of the Month ๐ŸŽฉ

GIF video
  • Love emails but hate people? Donโ€™t want someone ๐Ÿคก at your party ๐Ÿฅณ but have to invite them ๐Ÿคข cause your mom ๐Ÿ’โ€โ™€๏ธ made you? Trust Straight 2 Spam to send your v important email ๐Ÿ“ง straight to their spam ๐Ÿ—‘. Yes, this tool exists.

  • Want to play in a Linux environment on the web? WebVM is a server-less virtual Linux environment running fully client-side on the web.

  • Explain shell commands!

  • jless โ€” a command-line JSON viewer

  • Are you shy? Then here is your trick: The Painfully Shy Developer's Guide to Networking for a Better Job (Without Being Creepy)

See you next month everyone... also share this with your friends pretty please!

By the way, I teach people how to code and get hired in the most efficient way possible as the Lead Instructor of Zero To Mastery Academy. You can see a couple of my courses below or see all ZTM courses here.

More from Zero To Mastery

Learn Python for Free, Get Hired, and (maybe) Change the World! preview
Learn Python for Free, Get Hired, and (maybe) Change the World!

Looking to learn Python? Learn the exact process we recommend, in this step-by-step guide - all for free!

Machine Learning Monthly Newsletter ๐Ÿ’ป๐Ÿค– preview
Machine Learning Monthly Newsletter ๐Ÿ’ป๐Ÿค–

26th issue of Daniel Bourke's must-read monthly Machine Learning Newsletter: DeepETA by Uber, Tensorflow self-supervized learning, a deep dive into MLOps. Get up-to-date with the most interesting ML news & updates from last month.

Top 7 Soft Skills For Developers & How To Learn Them preview
Top 7 Soft Skills For Developers & How To Learn Them

Your technical skills will get you the interview. But soft skills will get you the job and advance your career. These are the top 7 soft skills all developers and technical people should learn and continue to work on.