python

Back Open Paginator
12.11.2025 11:28
diazona (@diazona@techhub.social)

@smlx I wouldn't trust wherever you got that information. requirements.txt is the opposite of the state of the art; it's practically on its way to being deprecated. pyproject.toml is the standard way of representing a project's dependencies now. It's often used together with some kind of tool-specific lock file which supports hashing and such things, and there's also a brand new *standard* lock file format which will be increasingly adopted over the coming months. (Even requirements.txt supports hashing now too, although it's a little crude.)

Of course there are lots of people and projects who don't keep up with modern best practices and are still using pip and requirements.txt because they don't know any better.

#Python




Show Original Post


12.11.2025 11:18
HaraldKi (@HaraldKi@nrw.social)

I have a script called pyfix which runs mypy and ruff to

- have strong typing
- have a fixed and orderly import order
- have the file always formatted in the same way
- detect programming errors and redundancies.

Now I am working on gitlogui (codeberg.org/harald/gitlogui) the main script of which I called glu. So I am running

pyfix glu

all the time, which reads funny. 😀

#python #gitlogui #mypy #ruff #strongTyping #linting




Show Original Post


12.11.2025 10:49
dethos (@dethos@s.ovalerio.net)

"10 Smart Performance Hacks For Faster Python Code"

blog.jetbrains.com/pycharm/202

#python




Show Original Post


12.11.2025 10:48
darksideofyogurt (@darksideofyogurt@livellosegreto.it)

Ho appena scoperto che il "toggle comment" in VSCode (sto programmando in python) con tastiera italiana è CTRL+ù

Ok, la mia vita ha appena subito una svolta... 😜

#vscode #python #shortcuts




Show Original Post


12.11.2025 10:17
reddit_tech_vn_bot (@reddit_tech_vn_bot@mastodon.maobui.com)

Một dự án giáo dục chia sẻ kết quả thú vị khi đăng bài viết về xây dựng HTTP client trên các cộng đồng lập trình khác nhau. Kết quả cho thấy sự khác biệt lớn trong cách tiếp nhận dự án trên các cộng đồng r/cprogramming, r/rust và r/Python. #lập_trình #cprogramming #rust #python #httpclient #educationalproject #programmingcommunities #lập_trình_mạng #công_dộng_lập_trình

reddit.com/r/programming/comme




Show Original Post


12.11.2025 10:14
hugovk (@hugovk@mastodon.social)

🆕 I made this suggestion in January last year, no-one else magically implemented it, so finally did it myself...

⬇️ There are now big buttons on download pages for the thing you probably want, so in most cases you don't need to examine the full list of 12 files.

python.org/downloads/release/p





Show Original Post


12.11.2025 10:11
smlx (@smlx@fosstodon.org)

Had to dip back into the #python world today. Cannot believe that requirements.txt still seems to be state of the art in python dependency management. Happy to be corrected if #pip does actually support cryptographic hashing and verification of dependencies.




Show Original Post


12.11.2025 09:45
anasel (@anasel@infosec.exchange)

I made a firmware diffing tool for my security class. Basically compares two firmware versions to see what changed. It uses SHA256 and fuzzy hashing to catch modifications. Check it out :

github.com/Luffy0xCyber/Firmwa

#cyber #cybersecurity #firmware #python




Show Original Post


12.11.2025 09:42
habr (@habr@zhub.link)

Как мы первый раз провели митап питонистов в Новосибирске и решили повторить

Всем привет! Меня зовут Бронислав Алексеев, я разработчик и один из организаторов сообщества Python-разработчиков в Новосибирске — PythoNSK. В городе-миллионнике с сильными вузами мы с коллегами заметили парадокс — митапов, посвящённых исключительно Python, практически не было. Мы решили это исправить. Сегодня я хочу поделиться не только успехами, но и честным разбором ошибок, которые мы допустили. Надеюсь, наш опыт поможет вам избежать этих граблей и смелее браться за создание коммьюнити в своём городе! И да, нам удалось привлечь Никиту Соболева, core-разработчика CPython. Рассказываю, как это было с нуля: бронирование помещения, поиск участников, составление расписания. Кстати, эта статья написана в преддверии второго митапа PythoNSK - он будет в субботу 22 ноября, а в этой статье мы разберем плюсы и минусы нашего первого митапа, проведенного 13 сентября 2025 года! Но обо всём по порядку. Всех интересующихся - просим под кат.

habr.com/ru/articles/963814/

#митап #pythonsk #новосибирск #локальные_митапы #сообщества #коммьюнити #митапы #хакатоны #devrel #python




Show Original Post


12.11.2025 09:20
refaktor (@refaktor@defcon.social)

I was working on a #Ryelang Fyne (GUI) example for the cookbook this week. I wasn't that happy with the code at first, but it is at least much shorter than equivalent #Python code.

Links to both files are in the related reddit post:
reddit.com/r/ryelang/comments/





Show Original Post


12.11.2025 08:45
davidvujic (@davidvujic@mastodon.nu)

New vanity metric target reached: 100K monthly downloads of the Python tools for the Polylith Architecture 🚀

The Poetry plugin: 60K
The standalone CLI (for uv and others): 40K

github.com/DavidVujic/python-p

#python #monorepo





Show Original Post


12.11.2025 08:32
habr (@habr@zhub.link)

Как Python раскрыл поэтический гений Маршака

Маршак хорошо переводил Шекспира, но насколько он был близок к оригиналу? Сохранен ли у него ритм, размер, смысл и структура? Установлю это математически точно с помощью Python.

habr.com/ru/articles/965552/

#python #nltk #nltk_python #tokenizer




Show Original Post


1 ...1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 ...1566
UP