python

Back Open Paginator
09.02.2026 10:16
hugovk (@hugovk@mastodon.social)

Setuptools deprecated pkg_resources in docs for ~two years, then with a DeprecationWarning for ~two years, then a UserWarning for ~one year.

2021-04: Deprecate in docs (v56.0.0)
github.com/pypa/setuptools/com

2023-03: Officially deprecate with DeprecationWarning (v67.5.0)
github.com/pypa/setuptools/pul

2025-05: Promote to UserWarning with earliest removal deadline of 2025-11-30 (v80.9.0)
github.com/pypa/setuptools/pul

2026-02: Remove (v82.0.0)
github.com/pypa/setuptools/pul




Show Original Post


09.02.2026 09:59
doomyflo (@doomyflo@framapiaf.org)

Suite à une commande d'amigurumi au crochet de la mascotte de Python j'ai eu l'idée de faire un mini diamond painting avec des diamants poussières de fée via une grille faite en ligne avec Stitchfiddle ; selection d'une grille broderie diamant, upload de l'image et reglages des dimensions, impression sur papier et pose d'un scotch double face et diamantage :blobcheerbounce: #python #diamondpainting #stitchfiddle #loisirscreatifs #doomyflocrochet





Show Original Post


09.02.2026 09:19
pythonrennes (@pythonrennes@social.breizhcamp.org)

Voici une initiative de Pydantic qui mérite d'être suivie : Monty est un interpréteur (minimaliste) Python permettant d'exécuter du code en mode bac à sable.
Utile lorsque vous souhaitez évaluer du code dont vous n'êtes par sûr de la fiabilité (au hasard du code généré par #IA) : github.com/pydantic/monty

Le projet est encore au stade expérimental.

#python #sanddox #llm #security




Show Original Post


09.02.2026 08:42
Unicorn_1 (@Unicorn_1@mastodon.social)

AI Voice Clone with Qwen3-TTS (Free)

youtube.com/watch?v=RaTIqBWRNb8




Show Original Post


09.02.2026 08:28
diazona (@diazona@techhub.social)

@clacke Yeah I think that's right, they dropped setuptools from some default configurations on 3.12+. Or at least that's when distutils was removed from the standard library, and I *think* removal of setuptools from places happened at the same time, but don't take my word for that part, I might be misremembering.

I wasn't able to reproduce the problem you described, though. I made a 3.12 venv and installed and tested flake8, both from PyPI and from source, and it works fine. Could you share more details? I wouldn't mind filing a bug report if you want, but I'd have to know what I'm reporting and be able to trigger it myself.

#Python




Show Original Post


09.02.2026 08:18
display (@display@libranet.de)

Accessing github from work is annoying.

I hope someone else in the world files a bug soon on flake8 not being compatible with a fresh python 3.12+ virtualenv, now that setuptools 82 is out and flake8 is still using the deprecated (now removed) pkg_resources.

#flake8 #python #setuptools




Show Original Post


09.02.2026 07:17
mattb (@mattb@dice.camp)

I thought I'd try to learn Python! This #FreeCodeCamp course looks good: youtu.be/eWRfhZUzrAc - But the first thing it suggests doing is create a replit.com account, so I fought with that for a while - it didn't like the email addresses I tried to sign up with, called them suspicious activity. 3rd attempt, I'm in! But now I see it's turned into some gross AI vibe coding crapscape - antithetical to learning. So, no fucking thanks #replit #NoAI #python




Show Original Post


09.02.2026 07:12
habr (@habr@zhub.link)

Генетическое программирование: от теории к практике

Сегодня все говорят о больших языковых моделях и глубоком обучении, но помимо них существуют альтернативные методы, которые умеют находить нетривиальные решения и хорошо работают в самых разных задачах. Что будет, если поручить эволюционному алгоритму самому «придумать» формулу? Разбираем генетическое программирование на наглядных примерах: от восстановления тригонометрических функций и символьной регрессии на реальном датасете до оптимизации структуры нейросетей — все эксперименты воспроизводимы в Google Colab.

habr.com/ru/articles/994244/

#Генетическое_программирование #символьная_регрессия #эволюционные_алгоритмы #интерпретируемое_машинное_обучение #оптимизация #поиск_формул #нейроэволюция #AutoML #эволюционный_дизайн_моделей #Python




Show Original Post


09.02.2026 06:12
razupaltuf (@razupaltuf@mastodon.social)

If you are looking for an easy to use file server which you can set up in seconds, on almost any device or operating system with a lot of flexibility: give a go. github.com/9001/copyparty/
All it needs is 🐍 to run and it uses pure file system functionality.




Show Original Post


09.02.2026 05:35
davidcarew (@davidcarew@genart.social)

I still think it’s cool that #python has #sqlite bindings right in the standard library




Show Original Post


09.02.2026 04:54
badnetmask (@badnetmask@hachyderm.io)

I haven't had to write a Python app that uses a database in a very long time. I thought things were different now. Better, I would hope. But, seriously? Do I still need to write my own SQL statements? What year is that? 🙄

PS: if someone can suggest a Python library that I can use to manipulate SQLite without writing SQL, I would appreciate it.

#Python #SQLite




Show Original Post


09.02.2026 02:40
graeme (@graeme@tech.lgbt)

👷‍♀️🚧 Occam's Bulldozer :: a practical demonstration

Option A: Consciousness has this rich, multi-scale, holographic quality because it's running on a substrate that is literally, physically, measurably holographic and fractal

Option B: The vascular system is just plumbing and the real magic is happening in the neural network, which somehow generates high-dimensional holographic consciousness through... a mechanism nobody can specify, operating in... dimensions nobody can measure, producing... properties that coincidentally look exactly like what the physical substrate already provides for free

"""
Do you believe in magic
"""
--- The Lovin' Spoonful

#mathematics #computerscience #physics #biology #python #sdlc #categorytheory #heresthefunctor





Show Original Post


1 ...516 517 518 519 520 521 522 523 524 525 526 ...1588
UP