python

Back Open Paginator
24.11.2025 11:07
bbelderbos (@bbelderbos@fosstodon.org)

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:




Show Original Post


24.11.2025 09:21
diazona (@diazona@techhub.social)

@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.

#Python




Show Original Post


24.11.2025 09:06
hugovk (@hugovk@mastodon.social)

🔒 news:

We're going to start disabling the commit bit (aka write access) to the repo for inactive core team members.

discuss.python.org/t/regularly

I proposed this after a security discussion at last year's :

pyfound.blogspot.com/2024/06/p

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.




Show Original Post


24.11.2025 09:05
jobsfordevelopers (@jobsfordevelopers@mastodon.world)

MongoDB is hiring Data Architect

🔧 #python #aws #azure #gcp #mongodb #nosql #sql #solutionsarchitect
🌎 Seattle, Washington
⏰ Full-time
🏢 MongoDB

Job details jobsfordevelopers.com/jobs/dat
#jobalert #jobsearch #hiring




Show Original Post


24.11.2025 09:03
diazona (@diazona@techhub.social)

@kfdm Probably a bunch of different tools, but I wouldn't necessarily expect a single tool to exist that does everything.

#Python




Show Original Post


24.11.2025 09:02
habr (@habr@zhub.link)

LEGO хаб Powered Up — передаём и получаем данные

Наборы LEGO с электрикой уже давно перестали быть просто игрушкой. Современная серия устройств Powered Up — это небольшая модульная робототехническая платформа: smart-устройства, моторы, датчики, подсветка, управляемые по Bluetooth, с возможностью программирования поведения моделей, что ранее было доступно только в специализированных наборах (LEGO Mindstorms, Education). Как же получить данные из smart-устройства, ведь это открывает новые возможности по использованию LEGO наборов.

habr.com/ru/articles/968922/

#lego_technic #Powered_Up #Pybricks #python #ble #lego #учебный_процесс_в_it #робототехника




Show Original Post


24.11.2025 08:57
kfdm (@kfdm@social.tsun.co)

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.




Show Original Post


24.11.2025 08:50
teguhteja (@teguhteja@mastodon.social)

7 amazing to boost your skills! Learn web scraping, AI, and more. Start automating your life today!

teguhteja.id/python-automation




Show Original Post


24.11.2025 08:32
habr (@habr@zhub.link)

Роевой интеллект: как 15 строк кода заменяют централизованное управление дронами

Привет, Хабр! Сегодня мы погрузимся в увлекательный мир роевого интеллекта и децентрализованных систем. Я покажу, как простые правила, заложенные в каждый элемент системы, позволяют добиться сложного группового поведения без единого центра управления. В качестве полигона используем виртуальный рой автономных дронов. *Код и симуляция: Python 3.8+, matplotlib, numpy Проблема централизованного управления Представьте, что вам нужно координировать движение 50 дронов. Первое, что приходит в голову — центральный контроллер с нейронной сетью, которая вычисляет оптимальные траектории для каждого аппарата. Но у этого подхода есть фундаментальные недостатки:

habr.com/ru/articles/969550/

#рой #роевой_интеллект #роевой_алгоритм #дроны #python #matplotlib #numpy




Show Original Post


24.11.2025 08:22
habr (@habr@zhub.link)

Магия itertools: Перестаньте писать велосипеды на циклах for

Почему опытные Python-разработчики редко используют циклы for для обработки данных? Потому что императивный стиль на больших объемах данных ведет к исчерпанию памяти (OOM) и замедлению работы. Модуль itertools — это стандарт индустрии для создания эффективных конвейеров обработки данных. Он реализует концепцию ленивых вычислений (lazy evaluation), позволяя обрабатывать бесконечные потоки или огромные дампы БД, потребляя константный объем RAM.

habr.com/ru/articles/969544/

#itertools #python #python3 #python_для_начинающих




Show Original Post


24.11.2025 08:07
pyladiescon (@pyladiescon@fosstodon.org)

✨ 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! 💜

#PyLadies #Python





Show Original Post


24.11.2025 08:07
pyladiescon (@pyladiescon@fosstodon.org)

🎙️ "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





Show Original Post


1 ...941 942 943 944 945 946 947 948 949 950 951 ...1569
UP