Python Data Science Handbook
https://jakevdp.github.io/PythonDataScienceHandbook/
AOC 25 - Day 1
Python solution 18 ms, Rust 4 ms
Nothing spectacular. The problem was simple enough, but the "off by one, bane of programmers since ∞±1" special cases took some time to figure

Writing your own list chunking helpers? Check out #Python’s `itertools.batched()` that can do this for you 🚀
✅ Works with any iterable.
✅ Handles a smaller final chunk automatically.
✅ Use `strict=True` (Python 3.13+) to raise a `ValueError` when the final batch isn’t full.

ATENÇÃO!
Na programação do evento Python Sul 2025, participei apresentando o tutorial sobre ciclo de desenvolvimento de automações utilizando Python e BotCity.
Propus uma dinâmica prática em um contexto onde as pessoas participantes foram as desenvolvedoras das automações, e essas automações foram executadas em um servidor remoto, simulando um ambiente corporativo real.
Passamos pelos conceitos gerais sobre a estrutura, o desenvolvimento, a implementação, a execução e atualização das automações utilizando algumas ferramentas da BotCity, integradas com Docker e GitHub.
Foi uma oportunidade incrível para compartilhar conhecimentos, aprender com outras pessoas e fortalecer a comunidade Python no sul do Brasil.
ps:
Você pode conferir o material do tutorial no repositório do GitHub:
https://github.com/bugelseif/tutorial-pysul-25
#tech #development #python #comunidade

🎉 Open Spaces are now open for #PyLadiesCon 2025! 💜🐍
Want to lead a discussion or share an idea? Open Spaces are simple—just submit a Title + short Abstract.
🌍 Multilingual & open to everyone.
🗓 Dec 5–7, 2025 • Online & free!
Submit here: https://pretalx.com/pyladiescon-2025/cfp?access_code=GJG3WCSWNSESYNDUBMD7ZXVWAZKFXBHDopenspaces

Just released aiomoto 0.1.1 to PyPi. Now with more s3fs and pandas tests and examples. Realised aiomoto can't mock an s3 bucket for polars or pandas (when using the pyarrow filesystem) since that doesn't use boto3 underneath 😞 #python

Sovereign Tech Agency and PSF Security Partnership
https://mander.xyz/post/42886242
Installing the LGPIO Library on the Raspberry Pi #beginner #python
https://pimylifeup.com/raspberry-pi-install-lgpio/
Content warning:Advent of Code 2025 Day Two Spoilers
Brute forcing today was pretty easy:
* Iterate through the ranges;
* Check if the first half of the number was equal to the second half (part one); or,
* Iterate through chunk lengths (up to and including half the number) and check if the number was composed of a repetition of that chunk (part two).
but the ranges were big enough that checking all of them took ... well honestly still not very long on my Macbook. Maybe a quarter second.
But still slower than I wanted, so I thought for a while and came up with another approach. It's obvious that the # of candidates grows much more slowly than the amount of numbers in the range, so it's much faster to generate all possible candidates then test if they're in a range (using Python's built-in bisect to quickly search for a possible range) than the other way around. This runs almost instantly on my computer.
https://github.com/biesnecker/aoc-anyhow/blob/main/202502.py
#adventofcode #adventofcode2025 #python

Meet #Python 3.15 alpha, #Gemini 3, GPT 5.1, more #Agentic AI, cloud outages and other fun stuff in my 9th issue of "This Month for Pythonistas" https://blueberrypy.netlify.app/post/this-month-for-pythonistas-2025-11/
Как ускорить автотесты на Python в Pytest в 8,5 раз
Меня зовут Анатолий Бобунов, я работаю SDET в компании EXANTE. Однажды я пришел на проект, на котором выполнение некоторых тест-сьютов занимало больше часа, настолько медленно, что запускать их на каждый merge request (MR) было просто нереально. Мы хотели запускать автотесты на каждый коммит в MR, но с такой скоростью это было невозможно. В результате мне удалось, за счёт серии небольших, но точных изменений добиться 8,5-кратного ускорения - без переписывания тестов с нуля. В статье расскажу, какие проблемы у нас возникли и как мы их решали.
https://habr.com/ru/articles/972448/
#testing #test_automation #python #pytest #pytestxdist
RE: https://mastodon.social/@EmmaDelescolle/115645958695772392
Day 2 is in.
> Winner: Human (by a landslide)
from https://codeberg.org/emmaDelescolle/advent25/src/branch/main/ai-reviews/day2.md