Digest 2022-08 / 2022-09
@snakers41____________________________________________________________________________
# Code
Recipes and Tricks for Effective Structural Pattern Matching in Python - https://martinheinz.dev/blog/78
JSON lines - https://replit.com/@antonz/json-lines#main.py
You Should Be Using Python's Walrus Operator - Here's Why - https://martinheinz.dev/blog/79
Invasive procedures: Python affordances for performance measurement - https://pythonspeed.com/articles/measuring-python-performance/
Why you really need to upgrade pip - https://pythonspeed.com/articles/upgrade-pip/
Git’s database internals I: packed object store - https://github.blog/2022-08-29-gits-database-internals-i-packed-object-store/
Transgressive Programming: the magic of breaking abstractions - https://pythonspeed.com/articles/transgressive-programming/
Груг против сложности. Я пролинтил все посты на Хабре про Python, и вот что я нашёл - https://habr.com/ru/company/breakpoint/blog/686104/
Python List Comprehensions Are More Powerful Than You Might Think - https://martinheinz.dev/blog/80
Speeding up Docker builds in CI with BuildKit - https://pythonspeed.com/articles/speeding-up-docker-ci/
Please do not use Python for tooling (lol) - https://borud.no/dev/2022/embedded-tooling/
Celery: A Few Gotchas Explained - http://www.ines-panker.com/2020/10/28/celery-explained.html
What is Python's "self" Argument, Anyway? - https://martinheinz.dev/blog/81
Using Conda? You might not need Docker - https://pythonspeed.com/articles/conda-vs-docker/
Use the same function as context manager and decorator - https://www.jujens.eu/posts/en/2022/Sep/25/context-manager-decorators/
Want cleaner code? Use the rule of six - https://davidamos.dev/email/f89cb000-a218-414d-9e3e-85d5792eca2b/
Loading SQL data into Pandas without running out of memory - https://pythonspeed.com/articles/pandas-sql-chunking/
The hidden performance overhead of Python C extensions - https://pythonspeed.com/articles/python-extension-performance/
____________________________________________________________________________
Originally posted on - https://t.me/snakers4