python

Back Open Paginator
21.01.2025 06:00
gtronix (@gtronix@defcon.social)

Ruff: Python linter and code formatter written in Rust

Article URL:github.com/astral-sh/ruffComme URL:news.ycombinator.com/item?id=4: 116# Comments: 55

github.com/astral-sh/ruff

#Python




Show Original Post


21.01.2025 05:50
gihyo (@gihyo@rss-mstdn.studiofreesia.com)

Python in Excel実践プラクティスの紹介
gihyo.jp/article/2025/01/month

#gihyo #技術評論社 #gihyo_jp #Python #Excel #Python_in_Excel




Show Original Post


21.01.2025 05:26
alltechpacks (@alltechpacks@mastodon.social)

github.com/TheAlgorithms/Python





Show Original Post


21.01.2025 05:18
alltechpacks (@alltechpacks@mastodon.social)





Show Original Post


21.01.2025 05:15
mgorny (@mgorny@pol.social)

Jestem wyjątkowo uprzedzony do projektów, które używają domyślnych komunikatów do zatwierdzeń gita z GitHuba, tj. "Update setup.py", "Update <inny-plik>", bez jakiegokolwiek użytecznego komentarza.

Ale podejrzewam, że moje uprzedzenie niewiele znaczy, bo przecież już musiałem trafić na coś problematycznego, skoro zajrzałem w historię projektu. Coś w stylu założenia, że `X in os.environ or True` może zwrócić fałsz.

No i tak, oczywiście, że to całkiem popularna paczka. W "najpopularniejszych 2000" na PyPI.

#Gentoo #GitHub #Python




Show Original Post


21.01.2025 05:14
htg2025 (@htg2025@mastodon.social)

Created a ~100 line Python program that worked just fine, and then some evil force possessed my soul 😈

"Hmm, maybe I'll do a little functional decomposition on it."
"Oooh, that should really be a class instead."
"Those should really be factored out into their own modules."

Wow: ~643 lines spread across 4 files now. 😩

Remembered and searched the web for "Evolution of a Programmer".
Now back to the orginal ~100 line Python program.

😄




Show Original Post


21.01.2025 05:13
mgorny (@mgorny@social.treehouse.systems)

I am extremely prejudiced against projects that use default #GitHub commit messages, i.e. all their commit history is "Update setup.py", "Update <some other file>", with zero meaningful comments.

That said, I suppose prejudice means little, given that I already needed to have something bad to report to see these commit messages. Something like the author assuming `X in os.environ or True` may actually return False.

And yes, it's quite a popular package. One from PyPI's "top 2000".

#Gentoo #Python




Show Original Post


21.01.2025 03:37
Jeffrey04 (@Jeffrey04@hachyderm.io)

Advent of Code Day 11 had a clever misdirection! I even used my FSM library, Genstates, to model the transformations. Blog post explains all! Open to Python dev roles. 😉 kitfucoda.medium.com/finally-a #AdventOfCode #Python #Genstates #FSM #fedihire #opentowork




Show Original Post


21.01.2025 03:08
bloody_albatross (@bloody_albatross@chaos.social)

Made a primitive system to draw simple scalable #flags on the #terminal just for fun. github.com/panzi/python-term-f #Python





Show Original Post


21.01.2025 03:03
dev_classmethod (@dev_classmethod@rss-mstdn.studiofreesia.com)

HypothesisでProperty-Based Testingを始めてみた
dev.classmethod.jp/articles/pb

#dev_classmethod #Test #pytest #Python #UnitTest #テスト自動化 #ツール




Show Original Post


21.01.2025 03:00
hn50 (@hn50@social.lansky.name)

Ruff: Python linter and code formatter written in Rust

Link: github.com/astral-sh/ruff
Discussion: news.ycombinator.com/item?id=4

#rust #python




Show Original Post


21.01.2025 02:23
python_discussions (@python_discussions@mastodon.social)

Magnetron is a minimalist machine learning framework built entirely from scratch.

github.com/MarioSieg/magnetron

Discussions: discu.eu/q/https://github.com/




Show Original Post


1 2 3 4 5 6 ...845
UP