python

Back Open Paginator
19.03.2026 14:06
rtn (@rtn@chaos.social)

I spent the last two days going over this numpy presentation. It's a really good introduction to what numpy can do, how it works under the hood and also with some exercises.

youtube.com/watch?v=ZB7BZMhfPgk

The slides and exercises can be found here:

github.com/enthought/Numpy-Tut

#numpy #python #introduction #course




Show Original Post


19.03.2026 14:05
feed (@feed@igeek.gamer-geek-news.com)

🤖 OpenAI to acquire Astral

Accelerates Codex growth to power the next generation of Python developer tools

📰 Source: OpenAI News
🔗 Link: https://openai.com/index/openai-to-acquire-astral

#Python #AI #ArtificialIntelligence




Show Original Post


19.03.2026 14:00
pycascades (@pycascades@hachyderm.io)

🥇 Thanks to Red Hat for supporting PyCascades 2026 as a Gold Sponsor! 💜🐍

Your support helps us bring the Python community together.

📅 March 21–22, 2026
2026.pycascades.com/

#Python #PyCascades





Show Original Post


19.03.2026 14:00
jumpingrivers (@jumpingrivers@fosstodon.org)

More pharma teams are moving to open source.

R, Python, and Shiny offer flexible, reproducible environments that scale. The challenge is making that shift in a way that meets regulatory expectations and works in practice.

That’s where we help.

🌐 jumpingrivers.com

#OpenSource #Pharma #RStats #Python #Shiny #GxP





Show Original Post


19.03.2026 13:23
mgorny (@mgorny@social.treehouse.systems)

Proper #security nightmare time.

#LMDB is a database that's designed to operate on trusted input. Upstream has historically rejected all bug reports regarding problems with malformed input.

Py-LMDB project provides #Python bindings to LMDB that are normally built against bundled LMDB. Someone recently started mass-filing "untrusted input" vulnerabilities against py-lmdb, and py-lmdb started #slop - coding fixes to their bundled LMDB. Of course, nobody even bothered reporting most of these bugs upstream, and the one that I've seen reported was rejected as "don't do that".

Py-LMDB supports building against system LMDB, and #Gentoo was doing that so far. However, now we are facing a problem: system LMDB operates under the assumption that it is working on trusted input, while py-lmdb (and its bundled LMDB) operates under the assumption that it may be working with untrusted input. The guarantees no longer align.

If we continue to use system LMDB (and skip all the added slop tests that literally cause Python to crash), then Gentoo's py-lmdb package will now have different input expectations than upstream py-lmdb. And of course we can't just remove that crap because someone added exactly one package (TorchVision, i.e. part of the plagiarism machine suite) depending on it.

bugs.gentoo.org/971352




Show Original Post


19.03.2026 13:08
zurich_pyladies (@zurich_pyladies@mastodon.social)

A huge thank you to Stefanie Wedel for presenting her project NarraLune! ✨📖🌛

And to all of you for participating, being curious and creating this empowering atmosphere together ✨ 🐍 💜

Check out NarraLune on GitHub: github.com/StefWed/narra-lune

see you next time 🤗

@zbzuerich





Show Original Post


19.03.2026 13:05
ericsfraga (@ericsfraga@fediscience.org)

@mstempl There's also `set-selective-display` that is good for hiding indented code, bound by default to `C-x $`.

#Emacs #python




Show Original Post


19.03.2026 12:02
habr (@habr@zhub.link)

Проект Hornbeam — новый способ задеплоить ваше приложение на питоне

Здравствуйте, дорогие читатели! Сегодня я расскажу вам о проекте hornbeam , который переводится на русский язык как "граб" - это такое дерево, похожее на дуб. Он позволяет деплоить сервисы на питоне, используя для этого виртуальную машину эрланга, BEAM (!) А также, позволяет удобно запускать код на питоне, если вы уже используете Erlang или Elixir. Фреймворк, на мой взгляд - полностью в духе эпохи, в которой доминируют питон, дата-саенс, машинное обучение и LLM, и в которой в программирование продолжают проникать полупрофессиональные инструменты из среды дата-саентистов и других энтузиастов - к счастью. Дошло уже до того, что инструменты и практики с почти безупречной репутацией, такие как kubernetes и контейнеризация, уступают место крайне любительскому подходу вроде "для инфраструктуры используйте эрланг". Проект задумал и осуществил автор широко известного веб-сервера gunicorn, он адресован широкому сообществу программистов на питоне и эрланге.

habr.com/ru/articles/1009900/

#python #erlang #nogil #ml #beam




Show Original Post


19.03.2026 11:44
qiita (@qiita@rss-mstdn.studiofreesia.com)

「OpenAI APIのトークン消費量をざっくり計算して」と頼まれて調べたら絶望した話
qiita.com/GeneLab_999/items/04

#qiita #Python #API #AI #ChatGPT #LLM




Show Original Post


19.03.2026 11:01
PythonPeak (@PythonPeak@mastodon.social)

How to Catch When except Secretly Deletes Your Variable

Python deletes the exception variable when the except block ends. Reference it after and get NameError.

#python #except #variabledeletion #nameerror #scope #howto #mindbreaking #gotcha

youtube.com/watch?v=XYOmAQQ336g




Show Original Post


19.03.2026 10:47
nicola (@nicola@fosstodon.org)

nicolaiarocci.com/eve-2.3.0/

#opensource #eve #python




Show Original Post


19.03.2026 10:32
habr (@habr@zhub.link)

Маленький LLM-чат на Python с Ollama и LiteLLM. Часть 1: ставим окружение и пишем первый запрос

Простой старт в LLM-разработке без API-ключей и облака: ставим Ollama, скачиваем модель и делаем первый вызов из Python через LiteLLM.

habr.com/ru/articles/1012182/

#Python #Ollama #LiteLLM #LLM #локальные_модели #искусственный_интеллект #NLP #чатбот #AI #large_language_model




Show Original Post


1 ...300 301 302 303 304 305 306 307 308 309 310 ...1595
UP