#PythoN

Python PeakPythonPeak
2026-03-05

Turbocharge Stop Missing Trick Plot With Python

Math.sin plots a rhythm

Leverages the sine function to create a smooth wave traced with a single character per column.

youtube.com/watch?v=6Ju8-pxAy2Y

JCONjcon
2026-03-05

Excited for EUROPE 2026? See Michal Broz & Don Bourne at in Cologne giving a about 'Think is Only for ? Think Again. A Hands-On AI Workshop That Will Change Your Mind!'

Are you ready to

🎟️ 2026.europe.jcon.one/tickets
Free for members

Python Software FoundationThePSF@fosstodon.org
2026-03-05

How do you use Python and its related technologies? Let us know in the 2026 Python Developers Survey! 🐍 #python #pythondevsurvey
surveys.jetbrains.com/s3/pytho

Trey Hunner 🐍treyhunner
2026-03-05

Python Tip #64 (of 365):

Ensure your classes all have a sensible __repr__ method.

A __repr__ method controls the default string representation of your class instances.

Pretty much every object should have a nice string representation.

For every class you make, either:

1. create a __repr__ method
2. use a tool (like the dataclass decorator) to create a __repr__ method
3. inherit from a class that has a useful __repr__ method method.

pym.dev/customizing-string-rep

🧵 (1/2)

2026-03-05

Одна функция, которая заменила аналитика

Финансовый директор Алексей каждый понедельник тратил несколько часов на анализ продаж. Сейчас — 4 минуты 30 секунд. Рассказываю, как Python + Claude API превращают немые таблицы в диалог: задаёшь вопрос — получаешь ответ с цифрами и выводом. Без BI, без SQL, без аналитика в цепочке. ~75 строк кода, реальные грабли с 1С и контекстным окном.

habr.com/ru/articles/1006938/

#Claude #Python #pandas #автоматизация #данные #LLM #Excel

Johan van der Knijffbitsgalore@digipres.club
2026-03-05

Maintainer of #chardet, a widely used #Python character encoding detector library, replaces entire existing codebase with #AI-generated code, and changes the license in the process. The original author isn't pleased:

github.com/chardet/chardet/iss

#vibecoding #opensource 😱

2026-03-05

Turns out I do like pre-commit checks when I use prek prek.j178.dev/ #python

Florian Haasxahteiwi
2026-03-05

If you are a tox user, do you use {/} when specifying paths in your tox.ini or pyproject.toml or tox.toml?

It's the portable path separator, and it really only matters to Windows users as the path separator is / on practically all other platforms.

Boosts for reach appreciated!

Reference: tox.wiki/en/stable/reference/c

2026-03-05

Обзор книг для анализа данных

Я аналитик данных и люблю бумажный формат книг (если есть сомнения, сначала пробую электронную версию, но если книга заходит всегда потом беру бумажную). В этой статье честный обзор, без рекламы, тех книг, которые я купила не так давно в бумажном формате.

habr.com/ru/articles/1007024/

#анализ_данных #алгоритмы #python #книги_для_аналитика #data_science #data_analysis #обзор_книг #грокаем #грокаем_алгоритмы #аналитика

Seth Larsonsethmlarson
2026-03-05

I got too excited about "set-and-forget" relative dependency cooldowns coming to that I hacked them together using cron and a script that calculates uploaded-prior-to in pip.conf 👀

sethmlarson.dev/pip-relative-d

2026-03-05

📢 Clustertreffen CC Authority Files and Community-driven Vocabularies

🎯 Thema: „#Bauwerke in der #GND

📅 11.3.2026 | 13 Uhr

Im Projekt #GND4C wurden teilautomatische Workflows zur Batch-Einspielung in die GND entwickelt.

🔍 Michael Marchert (#ThULB) berichtet, wie Thüringer Kirchenbauten mithilfe von #Python & #OpenRefine für die GND vorbereitet wurden, inkl. Lessons Learned & Herausforderungen.

💻 Zoom (ohne Anmeldung):
dainst-org.zoom.us/j/944733105

#Normdaten #NFDI #Vokabulare

Riverfount :python_logo:riverfount@bolha.us
2026-03-05

🐍 Um dos posts mais lidos do blog continua fazendo sucesso — e faz sentido, porque esse problema acontece em todo projeto Python que escala.
Você já otimizou o lugar errado porque "achava" que era ali? Intuição é um método caro. Profiling é o antídoto.
No post eu cubro a abordagem que funciona na prática:
🔍 cProfile — identifica onde o tempo está sendo gasto, linha a linha de chamada de função. Está na stdlib, não precisa instalar nada, e é suficiente pra 90% dos casos.
📊 pstats — filtra e interpreta os resultados. Ideal pra integrar em scripts de CI e comparar versões.
💾 memory_profiler — quando o problema não é tempo, é RAM. Mostra incremento de memória linha a linha. Aquele f.readlines() inocente que aloca 264 MB? Ele aparece.
A metodologia é simples: reproduza o problema de forma isolada → meça → encontre o culpado nos dados → corrija → meça de novo.
Sem dados, você otimiza o que parece lento. Com profiling, você sabe.
👉 riverfount.dev.br/posts/profil
#Python #SoftwareEngineering #Performance #Profiling #BackendDev

mastodon.raddemo.hostadmin@mastodon.raddemo.host
2026-03-05

How to Run Self-Hosted Link-in-Bio Tool with #LinkStack on #AlmaLinux #VPS

This article provides a guide for how to run self-hosted Link-in-Bio tool with LinkStack on AlmaLinux VPS.
🛠️ How to Run Self-Hosted Link-in-Bio Tool with LinkStack on AlmaLinux VPS
This guide walks you through installing and running LinkStack, a free and open-source alternative to Linktree, on an ...
Continued 👉 blog.radwebhosting.com/how-to- #selfhosted #composr #laravel #opensource #python #letsencrypt #selfhosting

RaccoNetmopicmp
2026-03-05

Python Tip: Generator Expressions

# Memory-efficient: processes one item at a time
total = sum(x**2 for x in range(1_000_000))
# vs list comprehension that creates full list in memory

Generator expressions use constant memory regardless of input size. Essential for large data...

raccoonette.gumroad.com/l/Pyth

RaccoNetmopicmp
2026-03-05

Python Tip: Unpacking with *

first, *middle, last = [1, 2, 3, 4, 5]
# first=1, middle=[2,3,4], last=5

Star unpacking captures multiple values into a list. Works with any iterable.

raccoonette.gumroad.com/l/Pyth

Maarten van Gompel (proycon)proycon@social.anaproy.nl
2026-03-05

If anybody wants to be my direct colleague: we have an open vacancy for a full-stack research software engineer in our "Team Text" at the KNAW Humanities Cluster (Amsterdam): vacatures.knaw.nl/job/Amsterda

Great for people who have an affinity with text, language, annotations, science, the humanities and open-source technology! Aside from front-end-skills, #python and #rust skills are much appreciated, as are generic linux and devops skills.

#rse #researchsoftware #nlproc #knaw #fedihire

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst