python

Back Open Paginator
22.08.2025 20:00
sharlatan (@sharlatan@mastodon.social)

Astro Update 2025/08 is landed

codeberg.org/guix/guix/pulls/2

Fresh Stellarium and @astropy
Starting a packaging marathon for ESO pipelines software







Show Original Post


22.08.2025 19:49
veit (@veit@mastodon.social)

The latest uv release (0.8.13) introduced the experimental uv format. It calls Ruff’s formatter to automatically style your code: github.com/astral-sh/uv/pull/1. And you can use [tool.ruff] for both entry points.




Show Original Post


22.08.2025 19:40
askubuntu (@askubuntu@ubuntu.social)

do-release-upgrade from 16.04 LTS to 18.04 LTS #upgrade #python

askubuntu.com/q/1554886/612




Show Original Post


22.08.2025 19:35
AndriiKuznietsov75 (@AndriiKuznietsov75@social.kyiv.dcomm.net.ua)

🐍В оновленні файлу README репозиторію GitHub #Pytype розробники Google оголосили, що #Python 3.12 буде останньою підтримуваною версією мови для статичного аналізатора типів Pytype.

Рішення пояснюється тим, що архітектура Pytype на основі байт-коду має численні проблеми, пов’язані з реалізацією функцій, що враховують нові пропозиції щодо покращення Python (PEP). Це пояснюється «вродженою нестабільністю та схильністю байт-коду до змін».





Show Original Post


22.08.2025 18:57
driscollis (@driscollis@mastodon.social)

Need to create a thread pool in ? 🐍🔥

Here's one way to do that using Python'se handy concurrent futures library:





Show Original Post


22.08.2025 18:45
rzeta0 (@rzeta0@todon.eu)

I'm currently thinking about how to protest / disrupt Numfocus PyData events for their continued support of Israel.

The key is to do it within the rules yet make an impact.

Two formal letters to their Directors didn't work. Time to be more kinetic.

Suggestions welcome.

#protest #genocide #pydata #numfocus #python #tech




Show Original Post


22.08.2025 18:31
pyOpenSci (@pyOpenSci@fosstodon.org)

📽️ New collab! OpenSource@Stanford + pyOpenSci hosted their first event on software peer review.

Zach Chandler, Ma Francesca Vera & @leahawasser shared how review helps researchers build sustainable Python software, improve skills & gain recognition.

🎥 Watch: youtube.com/watch?v=LIE5Sk3KP4s
#OpenScience #Python #PeerReview




Show Original Post


22.08.2025 18:22
habr (@habr@zhub.link)

Линейная регрессия в факторных моделях

Привет, Хабр! Когда мы говорим «факторная модель», многие вспоминают Python-ноутбуки. Но если отмотать плёнку, бóльшая часть индустриальных движков для риска и ценообразования десятилетиями писалась на C++ поверх BLAS / LAPACK . Там же удобно делать устойчивые разложения: QR с переупорядочиванием столбцов, SVD, регуляризацию. Библиотеки вроде Eigen дали нормальный интерфейс к этим штукам, и регрессия перестала быть болью «Ax = b» руками. QR с перестановками колонок вообще стандарт для переобусловленных задач. Сама идея факторной модели пришла не из тетрадки с pandas, а из арбитражной теории ценообразования Россa и последующей эмпирики Fama-French. В терминах работы это выглядит как линейная регрессия доходностей на набор общих факторов. Дальше есть два пути проверки: тайм-серия для бета-нагрузок и кросс-секция для премий за риск. Это конвейер, а не разовая регрессия.

habr.com/ru/companies/otus/art

#python #ml #fin_ml #факторная_модель #линейная_регрессия #FamaFrench #Carhart #таймсерийная_регрессия




Show Original Post


22.08.2025 18:06
Python4DataScience (@Python4DataScience@mastodon.social)

We have now updated our packaging tutorial to include PEP 639, which enables SPDX-compliant licensing: python-basics-tutorial.readthe




Show Original Post


22.08.2025 17:50
ruthpozuelo (@ruthpozuelo@mastodon.social)

I have been wanting to do scrollytelling since forever and I finally managed to do a simple test with flask and python ❤️❤️❤️

I can do so many data stories now… so much to learn!

curbal.world/scrollytelling




Show Original Post


22.08.2025 17:21
matzipan (@matzipan@hachyderm.io)

#python really needs to get their checkers in line. This comes after I had to spend time deciding which is the best way to get the code formatters to agree. black uses 88 characters line limit. flake8 79.

Bonus points if your code editor doesn't pick up the configuration correctly and starts fighting with the command line tools on every save.




Show Original Post


22.08.2025 17:16
matzipan (@matzipan@hachyderm.io)

All fun and games in #python land until black decides to reformat your #pyright type ignore pragmas 🙄




Show Original Post


1 ...1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 ...1547
UP