
Python 3.15 is out - Lazy imports (e.g. 'lazy import json') - Frozendict builtin - Free-threaded package support, macOS installer now includes free-threading support by default python.org/downloads/release…

One #python tip per day. Do you have any? Send it to bit.ly/pythontip. Edited by @simecek, @karlafej, and... you?

Python 3.15 is out - Lazy imports (e.g. 'lazy import json') - Frozendict builtin - Free-threaded package support, macOS installer now includes free-threading support by default python.org/downloads/release…

the most performant Python charting library, written in Rust - for charts that need 100M points import xy as z :-) reflex.dev/blog/xy-python-ch…

In doubts which LLM to use? uvx whichllm@latest github.com/Andyyyy64/whichll…

How to organize your .claude folder. Somebody should write the same about Cursor :-) blog.dailydoseofds.com/p/ana…

Last week, two versions of litellm package (3.4M downloads/day) contains malicious code due to previous compromise of maintainer's PyPI credentials. This seems as a cool trick to be less vulnerable to such attacks (found on LinkedIn / Hacker news) 👇

I just discovered Behind the Commit podcast! 🎧 (hosted by Mia Bajić 🎙️) First two episodes feature Python release managers Hugo van Kemenade (3.14&3.15), Pablo Galindo Salgado (3.10&3.11), Łukasz Langa (3.8&3.9) and FastAPI creator Sebastián Ramírez open.spotify.com/show/2Z9Ewk…

I once told at a conference dinner: "I’ve got a PhD, but 90% of my work is just applying @fastdotai stuff" A senior researcher nodded: "Same" 😅 So when the new course dropped, I needed ~60s to subscribe (2-wk refund) solve.it.com/?via_id=gifvtbw… 15% off (and yes, I get 15% too)

Python 3.14 is here! 🎉 Highlights: free-threaded CPython (PEP 779), deferred annotations (PEP 649), t-strings (PEP 750), multiple interpreters (PEP 734), zstd module (PEP 784), faster UUID + nicer errors. Time to upgrade & test. #Python #Py314 python.org/downloads/release…


Two Python gems I’ve been playing with: 🔁 Tenacity – painless retry logic for anything. No more rolling your own loops + sleeps tenacity.readthedocs.io/en/l… ⚡ DumPy – a bold rethink of NumPy: “don’t make me think, just run (fast, on GPUs)” dynomight.net/dumpy/ Both worth a 👀

Today I learned... `uv init` now not only creates a new Python environment but also creates ├── .gitignore ├── README.md ├── main.py ├── pyproject.toml └── .python-version realpython.com/python-uv/#cr…

marimo = Jupyter for serious Python work 🔥 - Pure .py files (git-friendly!) - No more restart & run all - Deploy as scripts OR interactive web apps - Built-in SQL support - Reactive cells that auto-update dependencies marimo.io/

When I started with Python, I was confused by the murky difference between variables and references. 🤔 This 👇 explains it brilliantly: Why Python has No Variables? medium.com/@king_star/why-py…

Happy (20 + 25)**2 Happy sum(i**3 for i in range(10)) Happy sum(i for i in range(10))**2 #HappyNewYear!

MarkItDown = a tool from Microsoft to convert Word / Excel / PPT / PDF... to Markdown github.com/microsoft/markitd…

This is neat! Instead of writing scraping methods yourself, provide a few examples and let `autoscraper` to do it for you. oxylabs.io/blog/automated-we…
If you want to automatically scrape a website with Python, use `autoscraper` 💡 Its almost magical 🪄 - Instead of writing the scraping logic manually, you provide a few sample values you'd like to scrape, and `autoscraper` will deduce the scraping rules for you. It learns the scraping rules and returns the similar elements. Then you can use this learned object with new urls to get similar content or the exact same element of those new pages. `autoscraper` doesn't require detailed XPath or CSS selectors like traditional scraping libraries. Instead, it automates the pattern recognition process by learning from the example you provide. Let's design an example where we'll scrape the latest headlines from a popular news website. (Disclaimer: Make sure you have the legal right to scrape the desired website; scraping some sites might be against their terms of service). Suppose we want to scrape the latest headlines from "BBC News" (for demonstration purposes only). Remember to replace the "BBC News headline example" with an actual headline from the BBC News page so that the model can learn from it. After running the script, you should see a list of scraped headlines.