Owen Lamont's Avatar

Owen Lamont

@owen7ba.bsky.social

Coder into Python and Rust. Interested in all things software engineering, data science, and computer graphics.

181 Followers  |  568 Following  |  57 Posts  |  Joined: 23.11.2024  |  1.724

Latest posts by owen7ba.bsky.social on Bluesky

Preview
PEP 810: Explicit lazy imports Dear PEP 810 authors. The Steering Council is happy to unanimously[1] accept β€œPEP 810, Explicit lazy imports”. Congratulations! We appreciate the way you were able to build on and improve the previ...

Wooo, unanimous acceptance of 810!

Python is getting lazy imports!

So excited about this!

discuss.python.org/t/pep-810-ex...

03.11.2025 16:36 β€” πŸ‘ 53    πŸ” 14    πŸ’¬ 0    πŸ“Œ 2
Preview
karpetrosyan - Overview Watching how bytes move... karpetrosyan has 38 repositories available. Follow their code on GitHub.

One more bug fix release for uv-secure, now at 0.14.4 on PyPi. Apologies to everyone for the error and lockup issues its had over the last week, had some teething issues with the new version of hishel but big thanks to github.com/karpetrosyan for addressing that so quickly. #python

04.11.2025 11:29 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Made a couple of quick fire releases of uv-secure to PyPi:

- 0.14.2 to fix a breaking change with dependency hishel.
- 0.14.3 to declare #Python 3.14 support.

Regarding the hishel update the cache format has changed so please clear out your ~/.cache/uv-secure directory before upgrading.

29.10.2025 10:41 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

It's finally here. Zed is available on Windows.

Built from scratch, and rendering at 1 million pixels/millisecond.

Download it today πŸ‘‡

15.10.2025 16:31 β€” πŸ‘ 238    πŸ” 50    πŸ’¬ 8    πŸ“Œ 11
Example of uv-secure json output

Example of uv-secure json output

I released uv-secure 0.14.1 to PyPi. This release add a --format json option for json output (in addition to the previous/default --format columns). It also make skipped non-PyPi dependencies more explicit. #Python

02.10.2025 13:11 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Visualise/highlight lines with missing branch coverage Β· Issue #25236 Β· microsoft/vscode-python I'm not sure if this was already on the roadmap (I didn't see any obvious existing issues with titles that matched) but I was writing to request a change the coverage gutter highlights to show line...

PyCharm can visualise missing test branch coverage but the VS Code Python extension only visualises line coverage, not branch coverage. I raised this issue with the VS Code #Python extension team a while back, but it needs πŸ‘ upvotes to persist (if you want this too).

github.com/microsoft/vs...

20.09.2025 20:31 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

I used this to ban my coworkers from using cast which I viewed as a typing crime. Not sure they're happy about that, but I do like strong typing. πŸ˜›

17.09.2025 12:41 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
I'm Getting the BIOS Flavor News and announcements from the Python community for the week of Sep 8th, 2025

πŸŽ™οΈ Python Bytes 448: I’m getting the BIOS Flavor
pythonbytes.fm/episodes/sho...
with @brianokken.bsky.social and @mkennedy.codes
#Python news and headlines

09.09.2025 13:41 β€” πŸ‘ 10    πŸ” 5    πŸ’¬ 0    πŸ“Œ 0

Zed looks appealing for an editor being built from the ground/GPU up. I'm still waiting for it to land on Windows... hopefully soon.

08.09.2025 21:38 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Tried prek out a little... had slightly funky/wrong looking formatting when installing the linters. But the issue was just aesthetic. They did all install and run fine and it did work as a drop in replacement for pre-commit.

06.09.2025 10:47 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
GitHub - j178/prek: ⚑ Better `pre-commit`, re-engineered in Rust ⚑ Better `pre-commit`, re-engineered in Rust. Contribute to j178/prek development by creating an account on GitHub.

Hi @mkennedy.codes / @brianokken.bsky.social - here's another dev tool you might want to talk about on @pythonbytes.fm : prek github.com/j178/prek which is pre-commit reimplemented in #rust I haven't tried it yet but am keen too, being a heavy pre-commit user myself.

05.09.2025 12:32 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0
Code diagram showing usage of functools.Placeholder.
Full code:

from functools import Placeholder as _P, partial
import string

remove_punctuation = partial(
    str.translate,
    _P,
    str.maketrans("", "", string.punctuation),
)

remove_punctuation("Hello, world!")
# 'Hello world'

Code diagram showing usage of functools.Placeholder. Full code: from functools import Placeholder as _P, partial import string remove_punctuation = partial( str.translate, _P, str.maketrans("", "", string.punctuation), ) remove_punctuation("Hello, world!") # 'Hello world'

A good example of what `functools.Placeholder` from Python 3.14 allows.

31.08.2025 15:46 β€” πŸ‘ 21    πŸ” 4    πŸ’¬ 2    πŸ“Œ 0
Python: The Documentary | An origin story
YouTube video by CultRepo (formerly Honeypot) Python: The Documentary | An origin story

Our Python doc is officially out in the wild! 🐍

Thanks to everyone who joined the premiere πŸ™Œ such a good vibe.

Here’s the link so you can watch it on repeat youtu.be/GfH4QL4VqJ0

29.08.2025 00:00 β€” πŸ‘ 77    πŸ” 35    πŸ’¬ 5    πŸ“Œ 4

GitHub Copilot now supports AGENTS.md for agent-specific instructions.
Yay for everyone getting along and picking a filename!
https://github.blog/changelog/2025-08-28-copilot-coding-agent-now-supports-agents-md-custom-instructions/

29.08.2025 06:36 β€” πŸ‘ 12    πŸ” 5    πŸ’¬ 2    πŸ“Œ 0
Preview
The State of Python 2025 | The PyCharm Blog Discover the latest Python trends and predictions backed by a survey of over 30,000 developers.

Check out this deep article I wrote on the "State of Python 2025" based on lots of analysis of the PSF / @pycharm.dev / @jetbrains.com survey data. It includes 6 personal actions to take advantage of these trends at the end. #python

blog.jetbrains.com/pycharm/2025...

20.08.2025 14:36 β€” πŸ‘ 19    πŸ” 4    πŸ’¬ 0    πŸ“Œ 1

Nice! I used to use markdownlint with markdownlint-cli for pre-commit which functionally was near identical, but they were slower and heavier Node.js tools. rumdl has worked well for me as a drop in replacement.

20.08.2025 18:23 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
GitHub - nyudenkov/pysentry: 🐍 Scan your Python dependencies for known security vulnerabilities with Rust-powered scanner 🐍 Scan your Python dependencies for known security vulnerabilities with Rust-powered scanner - nyudenkov/pysentry

Hi @mkennedy.codes / @brianokken.bsky.social - here's another very new #Rust made #Python dev tool you might want to talk about on @pythonbytes.fm github.com/nyudenkov/py...

Disclaimer: Haven't tried it myself, but looks like it has potential to replace pip-audit and my own uv-secure tool.

18.08.2025 13:35 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Screenshot showing one of the new forbid status flags for uv-secure

Screenshot showing one of the new forbid status flags for uv-secure

I released uv-secure 0.13.0 to PyPi. This release adds new flags to warn against dependencies with some of the new PEP 792 statuses (archived, deprecated, quarantined) that you might not want. #Python

18.08.2025 13:27 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Be sad to see you go @brianokken.bsky.social Glad you'll still be on @pythonbytes.fm

16.08.2025 07:41 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
238: So Long, and Thanks for All the Fish A farewell to a fun 10 years.Also, I should have tested it better. :)In...

πŸŽ™οΈ Just published a new episode of Test & Code: 238: So Long, and Thanks for All the Fish. Have a listen:

15.08.2025 20:20 β€” πŸ‘ 15    πŸ” 4    πŸ’¬ 3    πŸ“Œ 0
Preview
PyPI now serves project status markers in API responses - The Python Package Index Blog PyPI has implemented PEP 792, and is now serving project status markers in its standard HTML and JSON APIs.

PyPI now serves PEP 792 project statuses in its APIs. that means you can now programmatically check if a package is archived, quarantined, etc.!

blog.pypi.org/posts/2025-0...

14.08.2025 19:23 β€” πŸ‘ 17    πŸ” 6    πŸ’¬ 0    πŸ“Œ 1
Preview
GitHub - rvben/rumdl: A Markdown Linter written in Rust A Markdown Linter written in Rust. Contribute to rvben/rumdl development by creating an account on GitHub.

Hi @brianokken.bsky.social / @mkennedy.codes - I don't think you covered this tool on Python Bytes yet... github.com/rvben/rumdl is a markdown linter written in Rust but with a PyPi package wrapper. Supports uv install, pre-commit, pyproject.toml and implements most markdownlint rules. #python #rust

27.07.2025 05:27 β€” πŸ‘ 5    πŸ” 1    πŸ’¬ 1    πŸ“Œ 1
Graph titled "TIOBE Programming Community Index" and subtitled "Source: www.tiobe.com", showing difference colored lines rising and falling. The left hand column shows "Ratings %" and the bottom row shows years, 2002 through 2024. Underneath, there is a line listing different programming languages, including Python. Underneath, there is a small chart showing Python as #1 with a rating of 26.98% and an increase of 10.85%.

Graph titled "TIOBE Programming Community Index" and subtitled "Source: www.tiobe.com", showing difference colored lines rising and falling. The left hand column shows "Ratings %" and the bottom row shows years, 2002 through 2024. Underneath, there is a line listing different programming languages, including Python. Underneath, there is a small chart showing Python as #1 with a rating of 26.98% and an increase of 10.85%.

Python jumped 10%+ on the TIOBE index this month πŸ€©πŸπŸ“ˆ thanks to the entire #Python communityβ€”maintainers, educators, contributors, and usersβ€”for helping make Python what it is today!

www.tiobe.com/tiobe-index/

22.07.2025 13:52 β€” πŸ‘ 38    πŸ” 12    πŸ’¬ 1    πŸ“Œ 3
uv-secure terminal error when run on unpinned requirements.txt dependencies

uv-secure terminal error when run on unpinned requirements.txt dependencies

I released uv-secure 0.12.2 to PyPi. This is a small release to enable uv-secure to run on requirements.txt files not generated by uv (requirements.txt still need to be fully pinned and only contain PyPi dependencies). Please let me know if breaks for any of your use cases. #Python

22.07.2025 11:17 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Screenshot of example terminal error message for unparsable uv.lock file

Screenshot of example terminal error message for unparsable uv.lock file

I just released uv-secure 0.12.1 to PyPi. This bugfix release adds explicit error messages for unparsable uv.lock / requirements.txt / pylock.toml files (which weren't properly handled before) and also adds more retries for temporarily unreadable files. #Python

20.07.2025 07:49 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Screenshot showing uv-secure parsing a pylock.toml file

Screenshot showing uv-secure parsing a pylock.toml file

I just released uv-secure 0.12.0 to PyPi. This version adds support for PEP751 pylock.toml files. Note, at present pylock.toml files aren't compatible with the check direct dependency arguments so all dependencies will be treated as direct dependencies in pylock.toml files. #Python

13.07.2025 03:05 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
GitHub - owenlamont/ruff_adoption: Analyses of Ruff Adoption via GitHub pre-commit-configs Analyses of Ruff Adoption via GitHub pre-commit-configs - owenlamont/ruff_adoption

Code is here: github.com/owenlamont/r... if anyone is interested

12.07.2025 08:42 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Plot showing the growing adoption of Ruff in Python GitHub repos using pre-commit over time.

Plot showing the growing adoption of Ruff in Python GitHub repos using pre-commit over time.

I did an analysis of growing Ruff adoption back in Nov 2023, just updated it again to the end of June 2025 and happy to see adoption is still going strong. Hope to see ty on this plot in the near future. I'm a big fan of Astral tools. #Python

12.07.2025 08:40 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Anyone else having quality control issues with PyCharm? Just seems so many issues (latest being PyCharm being a resource glutton eating using 100% CPU and heaps of RAM). I get testing an IDE must be hard, with all the possible repo and config combinations, but I'm tired of doing rollbacks. #Python

11.07.2025 10:09 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Screenshot of uv-secure's new --ignore-pkgs argument

Screenshot of uv-secure's new --ignore-pkgs argument

I released uv-secure 0.11.0 to PyPi. This release adds the option and config to ignore packages by name and optionally version specifiers from being checked for vulnerability and maintenance issues. Minor breaking changes to CLI arguments - please see GitHub release notes for details. #Python

06.07.2025 05:15 β€” πŸ‘ 2    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

@owen7ba is following 20 prominent accounts