Python - Pg. 3
10 Compelling Reasons to Learn Python for Data Science
by Zulie Rane - Data analysis and computer science techincal author
Read this if you don't know where to start learning data science
Building a Red-Black Binary Tree in Python
by Lane Wagner - Boot.dev co-founder and backend engineer
A red-black tree is a kind of self-balancing binary search tree. Each node stores an extra bit, which we will call the color, red or black. The color ensures that the tree remains approximately balanced during insertions and deletions. When the tree is modified, the new tree is rearranged and repainted to restore the coloring properties that constrain how unbalanced the tree can become in the worst case.
Running Python in the Browser with Web Assembly
by Lane Wagner - Boot.dev co-founder and backend engineer
I've been wanting to expand boot.dev's curriculum, and one of the most requested programming languages has been Python. Because my courses allow students to write and execute code right in the web browser, I decided to look into existing projects that allow a Python interpreter to run in the browser using Web Assembly. I settled on a tool called Pyodide, which does just that.
Using Concurrent Subscribers With RabbitMQ in Python (pika)
by Lane Wagner - Boot.dev co-founder and backend engineer
It's a fairly common scenario to subscribe to a Rabbit queue and process messages before acknowledging receipt. The pika package for dealing with RabbitMQ in Python however is only single-threaded out of the box. If we want to make a network or database call before each acknowledgment our subscribers can get really slow.
AES-256 Cipher – Python Cryptography Examples
by Lane Wagner - Boot.dev co-founder and backend engineer
Want to encrypt text with a password or private key in Python? AES-256 is a solid symmetric cipher that is commonly used to encrypt data for oneself. In other words, the same person who encrypts the data also decrypts it, the way personal password managers work.
Hashing Passwords - Python Cryptography Examples
by Lane Wagner - Boot.dev co-founder and backend engineer
Building a from-scratch server or using a lightweight framework is empowering. With that power comes responsibility, specifically the responsibility to securely store user's passwords.
