home.social

#python — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #python, aggregated by home.social.

  1. I’ve knitted a pair of socks for the Auction @ 2026! They fit a US women’s 7.5-9 shoe or men’s 6-7.5 (about 23.8-25.1 cm foot length, depending on width/instep etc.).

    The yarn is composed of:

    52% Silk
    24% Mohair
    20% Merino
    4% Viscose

    The cat’s paws and tail are not included; she’s still using them.

  2. Made it to Long Beach just in time for the start of !! I can't wait to see all of my friends and colleagues!! This is always my favorite meeting.

    Tomorrow @pyOpenSci will host its first at 3pm in room 202A! Join us to talk about and the impact they are having on . We have some research lined up and want to problem-solve with the community together. I hope to see you all there!!

  3. Have you met our first speaker for 2026? Now you have!

    We're thrilled to welcome Carol Willing to join us in July. On top of being a PSF Fellow, a Python Core Developer, a Jupyter contributor, and serving 3 times on the Python Steering Council, Carol has a long list of achievements, and is just an overall lovely person. We can't wait to hear her speak!
    pyohio.org/2026/program/speake

  4. Hello #PyConUS! Do you want to come Ponder the Orbs?

    The Orb Pondering open space, covering #Tarot, #Astrology, and beyond, is going to be in room 102C (that's the floor with registration in the main building) at 4pm tomorrow (Friday).

    Come learn about making order from randomness, with paper and #Python!

  5. THE PSF BOOTH OPENS SOON! 3... 2... 1...

    Snakes in space are GO for launch on the expo floor at @pycon US 2026! Come say hi, grab stickers, play games, and join us for astronomical fun 🌌

  6. Hey PyConners! Here is the latest update of the interactive PyConUS schedule. gist.github.com/ptmcg/d851232d
    Now supports searching by time frames, such as "Saturday 3pm-4pm". Also now includes the plenary sessions. Look for me there and get your "Python in a Nutshell 4th Ed" badge pin - quantities limited!

  7. gh-profiler 0.4.0 supports the `--concise` flag. This generates a condensed summary, with just one line for each main section of output.

    I'm going to try to write a GH action that writes this info as a comment on each new issue and PR in the repo. The concise output is much more appropriate for that application.

  8. The PSF booth is hosting Meet & Greet sessions with @pycon US 2026 keynotes and community groups 🤝🐍

    Come connect with some of the people who make the Python community awesome 💫

  9. The #Python Steering Council is collecting questions for the PyCon US 2026 Keynote this Sunday. If you have things you'd like the Steering Council to answer in public -- interesting or enganging or fun or ridiculous questions all welcome -- please fill out this form. bit.ly/pysc-2026

  10. I 3D printed some #Python logo keychain charms to give away at #PyConUS!

    Most of them will be at the local community booth 726 in the Expo Hall, where @pybeach, @socalpython, San Diego Python, and Inland Empire Python Users Group will be hanging out, but I’ll also have some on me throughout the conference.

    Come say hi to whomever is at the booth to grab yours, or say hi to me wherever you see me. 😁

  11. @intrepidhero

    I had to start using #python recently, and while having heard how good it was, my expectations were high.

    I was totally blindsided by the environmental shenanigans.

  12. v2.23.0 is now available, with some cache control, some extra cache usage, and auto-reload for pages in the browser when in serve mode.

    blog.davep.org/2026/05/14/blog

  13. #BlogMore v2.23.0 is now available, with some cache control, some extra cache usage, and auto-reload for pages in the browser when in serve mode.

    blog.davep.org/2026/05/14/blog

    #python #programming #ssg #blogging #writing

  14. #BlogMore v2.23.0 is now available, with some cache control, some extra cache usage, and auto-reload for pages in the browser when in serve mode.

    blog.davep.org/2026/05/14/blog

    #python #programming #ssg #blogging #writing

  15. #BlogMore v2.23.0 is now available, with some cache control, some extra cache usage, and auto-reload for pages in the browser when in serve mode.

    blog.davep.org/2026/05/14/blog

    #python #programming #ssg #blogging #writing

  16. #BlogMore v2.23.0 is now available, with some cache control, some extra cache usage, and auto-reload for pages in the browser when in serve mode.

    blog.davep.org/2026/05/14/blog

    #python #programming #ssg #blogging #writing

  17. At current pace, there will be 65 CVEs that affect the #python package ecosystem this year.

    This is easily 3x-4x previous years.

    One response to this is PEP-811: defining a Python security response team, membership and responsibilities (peps.python.org/pep-0811/)

    This makes it easier to add more members and spread the load.

    One result already in place: a formal vulnerability report response framework, uniting Github security policies and docs and the security response team.

    #PyConUS #PyCon

  18. At current pace, there will be 65 CVEs that affect the #python package ecosystem this year.

    This is easily 3x-4x previous years.

    One response to this is PEP-811: defining a Python security response team, membership and responsibilities (peps.python.org/pep-0811/)

    This makes it easier to add more members and spread the load.

    One result already in place: a formal vulnerability report response framework, uniting Github security policies and docs and the security response team.

    #PyConUS #PyCon

  19. At current pace, there will be 65 CVEs that affect the #python package ecosystem this year.

    This is easily 3x-4x previous years.

    One response to this is PEP-811: defining a Python security response team, membership and responsibilities (peps.python.org/pep-0811/)

    This makes it easier to add more members and spread the load.

    One result already in place: a formal vulnerability report response framework, uniting Github security policies and docs and the security response team.

    #PyConUS #PyCon

  20. At current pace, there will be 65 CVEs that affect the #python package ecosystem this year.

    This is easily 3x-4x previous years.

    One response to this is PEP-811: defining a Python security response team, membership and responsibilities (peps.python.org/pep-0811/)

    This makes it easier to add more members and spread the load.

    One result already in place: a formal vulnerability report response framework, uniting Github security policies and docs and the security response team.

    #PyConUS #PyCon

  21. At current pace, there will be 65 CVEs that affect the #python package ecosystem this year.

    This is easily 3x-4x previous years.

    One response to this is PEP-811: defining a Python security response team, membership and responsibilities (peps.python.org/pep-0811/)

    This makes it easier to add more members and spread the load.

    One result already in place: a formal vulnerability report response framework, uniting Github security policies and docs and the security response team.

    #PyConUS #PyCon

  22. @gotofritz Maybe I should have been a bit more specific. I am looking for recommendations by people who used a course or tutorial to learn #python
    I have already searched for resources and also looked on the official python site. But since there are so many courses/ books/ tutorials out there I wanted to get some feedback from people what was useful to them.

  23. I just finished giving my talk at the education summit, "Vibe teaching: training in the age of AI."

    What fun!

    I've uploaded the slides: speakerdeck.com/reuven/vibe-te

  24. #Matrix is that chat protocol that provides so many secure ways of verifying devices and sessions, and yet not a single one works with its most popular #Python library (matrix-nio).

    Implementing your own encryption routine using a recovery key seems to be the way to go.

    And, of course, copying recovery keys around configuration files or environment variables defeats the whole purpose of secure verification.
  25. #Matrix is that chat protocol that provides so many secure ways of verifying devices and sessions, and yet not a single one works with its most popular #Python library (matrix-nio).

    Implementing your own encryption routine using a recovery key seems to be the way to go.

    And, of course, copying recovery keys around configuration files or environment variables defeats the whole purpose of secure verification.
  26. #Matrix is that chat protocol that provides so many secure ways of verifying devices and sessions, and yet not a single one works with its most popular #Python library (matrix-nio).

    Implementing your own encryption routine using a recovery key seems to be the way to go.

    And, of course, copying recovery keys around configuration files or environment variables defeats the whole purpose of secure verification.
  27. #Matrix is that chat protocol that provides so many secure ways of verifying devices and sessions, and yet not a single one works with its most popular #Python library (matrix-nio).

    Implementing your own encryption routine using a recovery key seems to be the way to go.

    And, of course, copying recovery keys around configuration files or environment variables defeats the whole purpose of secure verification.
  28. #Matrix is that chat protocol that provides so many secure ways of verifying devices and sessions, and yet not a single one works with its most popular #Python library (matrix-nio).

    Implementing your own encryption routine using a recovery key seems to be the way to go.

    And, of course, copying recovery keys around configuration files or environment variables defeats the whole purpose of secure verification.
  29. @ClemensPitschke

    if you just follow the #python tags there are plenty people posting beginners courses, tips, etc

  30. Python Tip #134 (of 365):

    Use looping helpers

    Python's "for" loops are simple: they loop over an iterable one item at a time.

    That's all they can do.

    Because our "for" loops are so simple and iterable-centric, looping helpers are a VERY big deal in Python.

    We use enumerate to count upward while looping, reversed to loop in the reverse direction, and zip to loop over multiple iterables at the same time.

    🧵 (1/2)

    #Python #DailyPythonTip

  31. Is python disintegrating?

    $ pip3 install mypy
    error: externally-managed-environment

    × This environment is externally managed
    ╰─> To install Python packages system-wide, try ...
    blurb bla bla burb bla

    WTF. Previously it just installed in ~/.local/lib/python-my-shit-version. Now its blathering two long paragraphs about how to jump through hoops.

    JUST USE MY FUXCKING LOCAL, BITCH.😡 🤯

    Compare java:
    - aunpack jdk-version.tgz.
    - Repoint PATH
    - Done.

    #python #pip #debian

  32. Hey programmers of the Fediverse.
    What are good resources to start learning #Python ?
    I want to generate sepctrogram videos with a Mel scale from audio files and it seems python with some special packages is the best solution here.
    So far I am using ffmpeg for spectrogram generation but you can only choose between logarithmic and linear for the frequency scale which isn't ideal.
    So any advice where to get started?

    #fedihelp #programming #beginner #learning

  33. So the young peoples #STEM club I run has access to a load of chromebooks... tonight I've dived into the "Crostini" stuff (like a #Linux in VM) and got @freecad @inkscape and #thonny up and running so far. At last the chromebooks might be useful! #freecad #inkscape #python

  34. Как я сделал “Авиасейлз для логистики”: агрегатор заявок из 16+ источников

    В логистике проблема часто не в том, что нет данных. Проблема в том, что данные разбросаны по разным местам. Одни заявки лежат во внутренней системе, другие — в закрытых кабинетах грузоотправителей, третьи — на тендерных площадках, четвёртые приходят через Excel-выгрузки, пятые доступны только через веб-интерфейс. Где-то есть нормальный HTTP-обмен, где-то данные спрятаны за фронтендом, где-то приходится читать DOM-таблицу, а где-то сначала кажется, что всё просто, пока не выясняется, что цена приходит в копейках, маршрут состоит из трёх точек, а тип кузова записан как “тент 20т, верхняя загрузка”. Для менеджера всё это выглядит не как единый рынок грузов, а как набор вкладок в браузере. Открыть один кабинет. Потом второй. Потом третий. Проверить направление. Сравнить цену. Посмотреть дату. Понять, где реф, где тент, где просто “20 тонн”. Не забыть про аукцион, у которого скоро истекает время. Потом всё равно перенести результат в таблицу или открыть внутреннюю панель. В какой-то момент стало понятно: нам нужен не ещё один парсер, а единая витрина. Так появился внутренний агрегатор заявок — условный “Авиасейлз для логистики”.

    habr.com/ru/articles/1035316/

    #логистика #автоматизация #парсинг_данных #агрегатор_заявок #ETL #PostgreSQL #Python #Google_Sheets #FastAPI

  35. Day 10/75: Sliding window - variable size

    Today's note was about using a stable invariant so sliding window - variable size feels like a process instead of a trick. I kept coming back to the same checks: name the exact window, prefix, or pointer region each variable owns, reuse prior work instead of recomputing the same range each iteration, and test boundary sizes first because they expose weak invariants quickly.

    The failure mode worth watching is moving boundaries before stating what region they actually represent. If that happens, the implementation usually looks busy while the invariant is already gone.

    #Python #DSA #Algorithms

  36. Day 10/75: Sliding window - variable size

    Today's note was about using a stable invariant so sliding window - variable size feels like a process instead of a trick. I kept coming back to the same checks: name the exact window, prefix, or pointer region each variable owns, reuse prior work instead of recomputing the same range each iteration, and test boundary sizes first because they expose weak invariants quickly.

    The failure mode worth watching is moving boundaries before stating what region they actually represent. If that happens, the implementation usually looks busy while the invariant is already gone.

    #Python #DSA #Algorithms

  37. Day 10/75: Sliding window - variable size

    Today's note was about using a stable invariant so sliding window - variable size feels like a process instead of a trick. I kept coming back to the same checks: name the exact window, prefix, or pointer region each variable owns, reuse prior work instead of recomputing the same range each iteration, and test boundary sizes first because they expose weak invariants quickly.

    The failure mode worth watching is moving boundaries before stating what region they actually represent. If that happens, the implementation usually looks busy while the invariant is already gone.

    #Python #DSA #Algorithms

  38. Day 10/75: Sliding window - variable size

    Today's note was about using a stable invariant so sliding window - variable size feels like a process instead of a trick. I kept coming back to the same checks: name the exact window, prefix, or pointer region each variable owns, reuse prior work instead of recomputing the same range each iteration, and test boundary sizes first because they expose weak invariants quickly.

    The failure mode worth watching is moving boundaries before stating what region they actually represent. If that happens, the implementation usually looks busy while the invariant is already gone.

    #Python #DSA #Algorithms