One of my favourite #Python tooling combos right now: Vim + Ruff. 🔥
For a long time I ran Ruff (linter and formatter) via pre-commit, which is great… but I kept getting slightly annoyed at how often I’d:
@kfdm @slackline Yeah it's worth checking out for some inspiration. But it's worth noting that a majority - seems like maybe 80%-ish - of the rules it checks are based on conventions specific to the Scientific Python community, and wouldn't be considered best practices overall.
Not that they're non-best practices, either. It's just that for a lot of things there are a bunch of right ways to do it, and the Scientific Python community has picked one of those ways and written their checker to require doing it that way, but there are other ways that are totally fine, and in some cases there are legitimate reasons to *prefer* a different one of the right ways.
We're going to start disabling the commit bit (aka write access) to the #CPython repo for inactive core team members.
https://discuss.python.org/t/regularly-disabling-unused-commit-access-to-the-cpython-repo/105010
I proposed this after a security discussion at last year's #LanguageSummit:
https://pyfound.blogspot.com/2024/06/python-language-summit-2024-python-security-model-after-xz.html
Disabling the commit bit has no impact on core team status, nor Steering Council voting status, and you can easily ask for it back again.
MongoDB is hiring Data Architect
🔧 #python #aws #azure #gcp #mongodb #nosql #sql #solutionsarchitect
🌎 Seattle, Washington
⏰ Full-time
🏢 MongoDB
Job details https://jobsfordevelopers.com/jobs/data-architect-at-mongodb-com-mar-5-2025-24f3c9?utm_source=mastodon.world&utm_medium=social&utm_campaign=posting
#jobalert #jobsearch #hiring
@kfdm Probably a bunch of different tools, but I wouldn't necessarily expect a single tool to exist that does everything.
LEGO хаб Powered Up — передаём и получаем данные
Наборы LEGO с электрикой уже давно перестали быть просто игрушкой. Современная серия устройств Powered Up — это небольшая модульная робототехническая платформа: smart-устройства, моторы, датчики, подсветка, управляемые по Bluetooth, с возможностью программирования поведения моделей, что ранее было доступно только в специализированных наборах (LEGO Mindstorms, Education). Как же получить данные из smart-устройства, ведь это открывает новые возможности по использованию LEGO наборов.
https://habr.com/ru/articles/968922/
#lego_technic #Powered_Up #Pybricks #python #ble #lego #учебный_процесс_в_it #робототехника
Thinking outloud (haven't done deep searching yet) but I wonder if there's something like ruff for checking #python projects for 'release readiness. Things like checking best practices on pyproject.toml and maybe readme/license files in directory and such.
In my mind, I'm thinking something like the #django checks framework where it's easy to register various check functions.
7 amazing #PythonAutomationProjects to boost your skills! Learn web scraping, AI, and more. Start automating your life today! #Python #Automation #Coding
https://teguhteja.id/python-automation-projects-ideas/?utm_source=mastodon&utm_medium=jetpack_social
Роевой интеллект: как 15 строк кода заменяют централизованное управление дронами
Привет, Хабр! Сегодня мы погрузимся в увлекательный мир роевого интеллекта и децентрализованных систем. Я покажу, как простые правила, заложенные в каждый элемент системы, позволяют добиться сложного группового поведения без единого центра управления. В качестве полигона используем виртуальный рой автономных дронов. *Код и симуляция: Python 3.8+, matplotlib, numpy Проблема централизованного управления Представьте, что вам нужно координировать движение 50 дронов. Первое, что приходит в голову — центральный контроллер с нейронной сетью, которая вычисляет оптимальные траектории для каждого аппарата. Но у этого подхода есть фундаментальные недостатки:
https://habr.com/ru/articles/969550/
#рой #роевой_интеллект #роевой_алгоритм #дроны #python #matplotlib #numpy
Магия itertools: Перестаньте писать велосипеды на циклах for
Почему опытные Python-разработчики редко используют циклы for для обработки данных? Потому что императивный стиль на больших объемах данных ведет к исчерпанию памяти (OOM) и замедлению работы. Модуль itertools — это стандарт индустрии для создания эффективных конвейеров обработки данных. Он реализует концепцию ленивых вычислений (lazy evaluation), позволяя обрабатывать бесконечные потоки или огромные дампы БД, потребляя константный объем RAM.
https://habr.com/ru/articles/969544/
#itertools #python #python3 #python_для_начинающих
✨ Excited for Vitoria Rodrigues’ talk in the Others (General Interest) track on Dec. 5 at #PyLadiesCon!
She’ll introduce PySpark for beginners and show how data engineers use it. Curious about distributed processing and DataFrames? Check it out! 💜

🎙️ "Strengthen technical teams through group development models" by Lydia Peabody at #PyLadiesCon! 💜
Tag 2 colleagues who could be interested in this talk! #PyLadies #Python #Community
