Python Monthly (March 2021)

Monthly Image

    Python Developer Survey πŸ“Š

    The results from the popular JetBrains Python Developer survey are in! Check out all the trends from 2020 and where we are headed for 2021. More than 28,000 Python developers and enthusiasts from almost 200 countries/regions took the survey to reveal the current state of the language and the ecosystem around it.

    Weekend Project Idea 🎏

    Do you want to create your own computer games but like Python too much to abandon it for a career as a game developer? There’s a solution for that! With the Pygame module, you can use your amazing Python skills to create games, from the basic to the very complex. In this weekend project, you’ll learn how to use Pygame by making a clone of the Asteroids game!

    Poison Packages πŸ§ͺ

    If you’ve ever used the Python programming language (which you have because you are reading this newsletter), or installed software written in Python, you’ve probably used PyPI using the pip command. You have to be careful though... it is very easy to download malicious packages that infect your computer/code this way. Here are all the ways that it could happen and what to do to mitigate the risk: Poison packages – “Supply Chain Risks” user hits Python community with 4000 fake modules.

    Speaking of PyPI, GitHub and the Python Package Index are collaborating to help protect you from leaked PyPI API tokens for package authors.

    Python At Dropbox πŸ—

    Dropbox currently uses Python for their server-side product development, with more than 3 million lines of code belonging to their monolithic Python server. In this article they talk about their monolith that was also holding them back as they grew and what they did to solve it.

    Python 3.10 Feature πŸŽ›

    Structural pattern matching is coming in Python 3.10 and this article explores how to use it to write Pythonic code, showing the best use cases for the match statement.

    Race To AI Supremacy πŸ€–

    Although this isn't directly related to Python, the characters of this story are using Python to develop the algorithms that turned into what we now know as Deep Learning. An amazing story and a fun read.

    Data Science Tips 🎨

    When visualizing data, you’re almost always working with color. If you use them to visualize data, hue palettes and gradients become “color scales.” That’s because they all “map” to some data: For example, every one of your hues stands for a certain category and every color in your gradient stands for a certain value (range).

    This article gives you an overview of the different color scales and why color is so important for your data visualizations.

    Python Testing Style Guide πŸ› 

    What are some of the best practices around testing Python projects? I really enjoyed this read and it teaches some great principles to follow for your future testing needs.

    Once you are done with that, dive into this article to master unit testing with Python.

    150 lines of Python πŸ’‘

    What can you do with 150 lines of Python? A lot, but not many things that would be as impressive as this: Building a full-text search engine in 150 lines of Python code. It's a lot simpler than you may think!

    Fast Prototyping πŸŽͺ

    Let's say you have a web app idea, but you don't know JavaScript and only know Python. Then perhaps this stack is best for you: HTMX, TailwindCSS and Flask. Check out this tutorial on how to use these 3 to build awesome web apps.

    Python + MongoDB 🀿

    Ever wanted to connect your Python server to a MongoDB database? You can learn all about that here and build a mini project along the way.

    Originally posted in Zero to Mastery Python's Monthly.

    Tags: #Python

    0 Comments

    To add a comment, please Signup or Login