PythonHub
2.42K subscribers
2.35K photos
49.1K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Python Monorepo: an Example. Part 1: Structure and Tooling

In this post, we describe a design for a Python monorepo: how we structure it; which tools we favor; alternatives that were considered; and some possible improvements.

https://www.tweag.io/blog/2023-04-04-python-monorepo-1/
Speeding up text processing in Python (is hard)

How do you speed up Python string parsing and formatting? We’ll consider Cython, mypyc, Rust, and PyPy.

https://pythonspeed.com/articles/faster-text-processing/
Comparing List Comprehensions vs. Built-In Functions in Python: Which Is Better?

An in-depth analysis of syntax, readability, and performance.

https://t.co/3QhcXmrM0b
Raw SQL, SQL Query Builder, or ORM?

Not sure if you should use Raw SQL, a SQL query builder, or an ORM for your next project? This video explores the pros and cons of each option, allowing you to make an informed decision based on your specific needs. Choosing the wrong technology for your project can be a costly mistake, so it's crucial to understand these tools.

https://www.youtube.com/watch?v=x1fCJ7sUXCM
Using "any" and "all" in Python

Python's any and all functions are very helpful, but often overlooked. You can combine any and all with generator expressions to check whether all (or any) items within a list match a specific condition.

https://www.pythonmorsels.com/any-and-all/