@leodevian.bsky.social
2 followers 25 following 19 posts
Posts Media Videos Starter Packs
leodevian.bsky.social
I share the feeling. Thanks!
leodevian.bsky.social
Mind sharing the pattern for your state machine ? I’m used to subclassing an ABC for states and having it take the context as an attribute and I’m genuinely interested in your approach.
leodevian.bsky.social
@nedbat.com The latest release of Coverage feels like a Christmas present! The native support for Python subprocesses is so good! Thank you for all of it 🙏🏻
leodevian.bsky.social
Feels good to develop in Python in 2025. Thanks for the awesome tools!
Reposted
crmarsh.com
The uv build backend is now stable, and considered ready for production use.

An alternative to setuptools, hatchling, etc. for pure Python projects, with a focus on good defaults, user-friendly error messages, and performance.

When used with uv, it's 10-35x faster.
leodevian.bsky.social
Wait I’m not supposed to install structlog[dev,docs,tests,typing]??
Reposted
vscode.dev
Today, we're announcing plans to make VS Code an open source AI editor.

We believe AI development should stay true to VS Code's core principles: open, collaborative, and community-driven. Let's build the future of software development together.

aka.ms/open-source-...
A thumbnail that reads "Your open source AI editor Powered by GitHub Copilot" with the VS Code logo and a blue gradient background
Reposted
crmarsh.com
Today, we’re announcing the preview release of ty, an extremely fast type checker and language server for Python, written in Rust.

In early testing, it's 10x, 50x, even 100x faster than existing type checkers. (We've seen >600x speed-ups over Mypy in some real-world projects.)
Reposted
mitsuhiko.at
Little Python quiz. What does list(f()) return for these:

def one():
return [1]
yield

def two():
return (yield 1)

And why :)
leodevian.bsky.social
I have got one! What does ˋlist(three())` print?

def three()
x = (yield from one())
print(x)
Reposted
nedbat.com
Sad to see an AI suggest these entries for a [tool.coverage.run] section:
omit =
tests/*,
*/__init__.py,
*/__main__.py,
*/cli.py,
*/setup.py,
*/__pycache__/*,
*/test_*.py

nedbatchelder.com/blog/202008/...
You should include your tests in coverage
This seems to be a recurring debate: should you measure the coverage of your tests? In my opinion, definitely yes.
nedbatchelder.com
leodevian.bsky.social
Do you know if a pylock parser is in the works? I’ve been searching on GitHub but I could not find one. I’m willing to contribute, if needed.
leodevian.bsky.social
I discovered uv thanks to an article of yours and I am so grateful for it. It enabled proper dependency management for beginners and helped so much in learning about the Python packaging ecosystem.
leodevian.bsky.social
Never heard of this podcast, instant subscribe, thanks !
leodevian.bsky.social
En pleurer car la France sans le nucléaire c’est un désastre écologique similaire à celui de l’Allemagne
leodevian.bsky.social
I look forward to use your framework when I have some free time, it looks so great!
leodevian.bsky.social
I’m blowing the mind of my coworkers with this exact command 😂 It’s unreal to people who never used TUIs
leodevian.bsky.social
Had this question but could not bring myself to ask it, looking forward to watch it!
leodevian.bsky.social
Okay I’m trying this out tonight 🥲
leodevian.bsky.social
Merry Christmas and thanks!
Reposted
baggiponte.bsky.social
How I am going about my days lately (cc @crmarsh.com)
A four-panel comic strip titled 'The Jenkins Comic.'

1. In the first panel, a character in a blue shirt introduces himself to another character in a yellow shirt, saying, 'Hi! My name is Jason.'
2. In the second panel, the character in the yellow shirt responds, 'Ah! Nice to meet you, Jason.'
3. In the third panel, the character in the yellow shirt is shown with a thought bubble. Inside the bubble, there are labels for 'Friends,' 'Family,' and 'Python Packaging,' with 'Python Packaging' highlighted prominently.
4. In the fourth panel, the character in the blue shirt asks the character in the yellow shirt, 'Say Jarvis, have you ever heard of uv?' The character in the yellow shirt looks puzzled.

Generate with Mistral Large 202411