PythonHub
2.42K subscribers
2.35K photos
49.1K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
More Python Code Smells: Avoid These 7 Smelly Snags

These are 7 code smells to avoid + a bonus smell. The author describes each smell using a Python example and then shows you how to fix it. At the end of the video, there are few general tips to help you avoid introducing code smells in the first place in your design.

https://www.youtube.com/watch?v=zmWf_cHyo8s
How Airbnb Built “Wall” to prevent data bugs

In this post we will outline the challenges we faced while adding a massive number of data checks (i.e. data quality, accuracy, completeness and anomaly checks) to prevent data bugs company-wide, and how that motivated us to build a new framework to easily add data checks at scale.

https://medium.com/airbnb-engineering/how-airbnb-built-wall-to-prevent-data-bugs-ad1b081d6e8f
A Large-Scale Security-Oriented Static Analysis of Python Packages in PyPI

This paper examines various security issues in Python packages with static analysis. The dataset is based on a snapshot of all packages stored to the Python Package Index (PyPI). In total, over 197 thousand packages and over 749 thousand security issues are covered.

https://arxiv.org/pdf/2107.12699.pdf
How to Dockerize Django in 5 minutes

This tutorial will show you how to Dockerize a Django project in less than 5 minutes.

https://justdjango.com/blog/django-docker-tutorial
Mastering Web Scraping in Python: Avoid Blocking Like a Ninja

Master the best techniques for massive scale scraping. Avoid detection and scrape the web silently - from browser fingerprinting to bypassing state-of-the-art solutions.

https://www.zenrows.com/blog/stealth-web-scraping-in-python-avoid-blocking-like-a-ninja
Test-Driven Development In Python

Test-driven development (TDD), also known as red-green-refactor is a common software development technique in which you write tests before you write the actual code. This video shows an example in Python of how to do TDD using the unittest package and also shares a few practical tips related to software testing.

https://www.youtube.com/watch?v=B1j6k2j2eJg