python

Back Open Paginator
05.03.2026 16:01
bitsgalore (@bitsgalore@digipres.club)

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 😱




Show Original Post


05.03.2026 15:52
stchris (@stchris@mas.to)

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




Show Original Post


05.03.2026 15:47
xahteiwi (@xahteiwi@mastodon.social)

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

I do use {/}
I don't bother with {/}, and just use /
Although I do use tox, I didn't know {/} existed




Show Original Post


05.03.2026 15:42
habr (@habr@zhub.link)

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

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

habr.com/ru/articles/1007024/

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




Show Original Post


05.03.2026 14:57
sethmlarson (@sethmlarson@mastodon.social)

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




Show Original Post


05.03.2026 14:46
nfdi4objects (@nfdi4objects@nfdi.social)

📢 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





Show Original Post


05.03.2026 14:45
riverfount (@riverfount@bolha.us)

🐍 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




Show Original Post


05.03.2026 14:42
emilyselect (@emilyselect@mastodon.social)

プログラミング力を上げるオススメの勉強法

emilyselect.com/%e3%83%97%e3%8

...





Show Original Post


05.03.2026 13:50
mopicmp (@mopicmp@mastodon.social)

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




Show Original Post


05.03.2026 13:49
mopicmp (@mopicmp@mastodon.social)

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




Show Original Post


05.03.2026 13:31
gny026 (@gny026@hsnl.social)

@Radio_Azureus I've been a regular user of #pandoc for years. I'm a heavy user of all things open source but #pandoc is probably in the Top 10. Combined with #python, #jinja, some custom #css and of course #weasyprint I have an extreamly versatile publishing workflow.




Show Original Post


05.03.2026 13:25
proycon (@proycon@social.anaproy.nl)

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




Show Original Post


1 ...377 378 379 380 381 382 383 384 385 386 387 ...1592
UP