python

Back Open Paginator
08.01.2026 18:49
teixi (@teixi@mastodon.social)

Python Package Guru by Fabrizio Damicelli

pypkg.guru

search over
faster than on pypi.org and interactively

discover packages based on their capabilities (eg, try out "fast dataframe")




Show Original Post


08.01.2026 18:40
sergi (@sergi@floss.social)

How uv got so fast: nesbitt.io/2025/12/26/how-uv-g

"uv is fast because of what it doesn’t do, not because of what language it’s written in."

#python #PythonPackaging #uv #pip #rust




Show Original Post


08.01.2026 18:16
gaby_wald (@gaby_wald@framapiaf.org)

*"Développeur Backend (Python/Java/Bash) : je construis des APIs et microservices robustes pour des systèmes scalables. Parlons code, performance et innovation ! #Backend #DevOps #Python #Bash #Java"*
linkedin.com/posts/gabriel-cha





Show Original Post


08.01.2026 17:57
davep (@davep@fosstodon.org)

Because I take a lot of notes with #Obsidian and I've also been dabbling with #NotebookLM for doing various bits of research I got to thinking it might be handy to dump a vault into it as a source.

So I wrote a tool: obs2nlm.davep.dev/

So far it's proving to be really quite handy.

#python #llm #notetaking




Show Original Post


08.01.2026 17:30
Reuven (@Reuven@fosstodon.org)

Playing NYT Spelling Bee? Use #Python to see if your word only uses allowed letters (ignoring length + center):

letters = set('ygoanik') # From Mon, Jan 5

With sets, <= checks "subset or equal":

set('again') <= letters # True
set('garage') <= letters # False (r + e)




Show Original Post


08.01.2026 17:22
frank (@frank@frankwiles.social)

Once you introduce real world database operations most web framework comparisons become rounding errors. async isn't always the answer folks. #python #django





Show Original Post


08.01.2026 17:06
oneloop (@oneloop@mastodon.xyz)

Just finished typing a codebase and adding mypy to CI. Total number of bugs found: zero. #python




Show Original Post


08.01.2026 16:52
15r10nk (@15r10nk@fosstodon.org)

I'm working on the docs for the next version of inline-snapshot and I think you will love the new possibilities to create your snapshots.
#python





Show Original Post


08.01.2026 16:48
vivekanandanks (@vivekanandanks@mstdn.social)

@agowa338
It's probably the popular python setup mistake everyone does.
First of all,
Instead of venv use flake directly. Coz nix is like venv but ecosystem agnostic, so people don't do venv with nix.

This video is a really good start:
youtube.com/watch?v=6fftiTJ2vuQ

#nix #python #nixos #project #environment #setup




Show Original Post


08.01.2026 16:18
reddit_tech_vn_bot (@reddit_tech_vn_bot@mastodon.maobui.com)

Khảo sát Python Typing 2025 từ JetBrains, Meta và cộng đồng cho thấy chất lượng mã và tính linh hoạt là lý do hàng đầu để áp dụng typing. Cuộc khảo sát cung cấp cái nhìn toàn diện về hệ thống kiểu và công cụ phát triển Python hiện nay.

#Python #Typing #CodeQuality #LậpTrình #CôngNghệ

reddit.com/r/programming/comme




Show Original Post


08.01.2026 16:17
devto_vn_bot (@devto_vn_bot@mastodon.maobui.com)

**🎮 Tạo nhân vật trong game 2D với Pyxel (Phần 5)**

Hướng dẫn tạo nhân vật (sprites) bằng lớp trong Pyxel! 🚀
- Sử dụng `BaseSprite` làm lớp cơ sở.
- `ShipSprite` kế thừa để tạo nhân vật chính.
- Cấu trúc code gọn gàng, dễ tái sử dụng.

💡 Mẹo: Ôn lại **Chương 12: Lớp trong Python** nếu cần nhé!

#Pyxel #GameDev #Python #LậpTrìnhGame #2DGame #VietnameseDev #CodeHọc

dev.to/sdkfz181tiger/getting-s




Show Original Post


08.01.2026 16:02
treyhunner (@treyhunner@mastodon.social)

RE: mastodon.social/@treyhunner/11

Python Tip #8 (of 365):

Use De Morgan's Law to make more readable Boolean expressions.

Per De Morgan:

- "not (A or B)" is the same as "(not A) and (not B)"
- "not (A and B)" is the same as "(not A) or (not B)"

In other words:
> You can distribute a "not" into (or out of) a Boolean expression as long as you flip "and" and "or".

This holds as long as the expressions don't use short-circuiting to avoid an exception (recall tip #6).

(1/3)🧵




Show Original Post


1 ...689 690 691 692 693 694 695 696 697 698 699 ...1583
UP