Just released #TypedSettings 26.0.0. 🎉 It doesn't contain everything that I intended to include – but a release with fewer features better than no release at all. ;-) The biggest improvement is support for JSON and YAML files. typed-settings.readthedocs.io/en/latest/ch...
Stefan Scherfke
Stefan Scherfke
@stefan.sofa-rockers.org
Python engineer at energy & meteo systems, maintainer of Typed Settings
42 followers31 following36 posts
In case you're wondering why I haven't been as active here lately and why there hasn't been a new #TypedSettings release in a while, I've shifted my priorities a bit and have been spending more time outdoors: pixelfed.de/p/sscherfke/... But I’m planning to do a release with some nice features soon.
Stefan Scherfke reposted
Stefan Scherfke reposted
Stefan Scherfke reposted
Sehr wichtiges Video eines Russen darüber, wie Propaganda in Wirklichkeit funktioniert. Hört euch mal die 10 Minuten an (englisch) und dann lauscht aufmerksam in euch hinein. Wir sind mitten drin.
Just released #TypedSettings 25.3.0 🎉 Changes - Extract attribute docstrings and use them as CLI help texts (thx to a snippet from @davidism.bsky.social). - Support dotenv (.env) files - detect competing usages of the Click context object typed-settings.readthedocs.io/en/latest/ch...
Stefan Scherfke reposted
I finally manged to get working winbars in #neovim that only appear in actual files (but not in quickfix or term) and which also show LSP breadcrumps if available. And they are also slightly dimmed for inactive buffers. gitlab.com/sscherfke/do... #neovim #lualine #lspsaga #lsp
Stefan Scherfke reposted
pytest 9.0 just released! Notable changes: * subtests support * Native TOML configuration * Progress output in the terminal taskbar And others. Check the changelog: docs.pytest.org/en/stable/ch...
Just released #TypedSettings 25.2.0! 🎉 It no longer needs to call `os.chdir()` to resolve relative paths, which could lead to problems under specific (but rare) conditions. It also drops support for Python 3.9. typed-settings.readthedocs.io/en/latest/ch...
🎉 Just released #TypedSettings 25.1.0 🎉 It now uses field aliases of defined and adds support for new types: re.Pattern/re.compile(), Path subtypes, Literal and TS’s Secret type. It also officially supports #Python 3.14. Thanks to all contributors! typed-settings.readthedocs.io/en/latest/ch...
Using "typed_settings.Secret" strongly decreases the risk of accidentally leaking secrets and is one measure recommended by the following article: allan.reyes.sh/posts/keepin...
Stefan Scherfke reposted
Another highlight from #PyConUK! Katie Bickford gives a junior's perspective on doing difficult things. Contains advice for both junior developers *and* (importantly) the senior developers working with them! This is a topic that doesn't normally get enough airtime. youtu.be/7yfGMMei0b8?...
See gitlab.com/sscherfke/do... for how to do something similar with SQLAlchemy "text()" calls and SQL strings.
🎉 I just released #TypedSettings 25.0.0 – the first release this year and since last November. It adds support for "Mapping", "IntEnum", and "StrEnum", increases flexiblity and documentation of nested settings, and, finally, improves error handling. typed-settings.readthedocs.io/en/latest/ch...
Stefan Scherfke reposted
Almost 4 months later, here it finally is: uv: Making Python Local Workflows Fast and Boring in 2025 youtube.com/watch?v=TiBI... 1/3
Stefan Scherfke reposted
Replying to @hugovk.dev
Just released: Python 3.14.0 beta 2! 🚀🐍 🥧 Deferred type annotation evaluation! 🥧 T-strings! 🥧 Zstandard! 🥧 Syntax highlighting in the REPL! 🥧 Colour in unittest, argparse, json and calendar CLIs! 🥧 UUID v6-8! 🥧 And much more! discuss.python.org/t/python-3-1... #Python #CPython #Python314 #release
Stefan Scherfke reposted
Stefan Scherfke reposted
Stefan Scherfke reposted
Among the many oddities in YAML is the variety of string formatting options. Here's a site that explains them: yaml-multiline.info
Stefan Scherfke reposted
Stefan Scherfke reposted
Tell me your team is entirely comprised of over-confident twenty-somethings without telling me your team is entirely comprised of over-confident twenty-somethings
NEW: DOGE is planning to migrate the Social Security Administration codebase to a new programming language. This would normally take years. DOGE wants it done in months. That could put benefits for millions of Americans at risk. Scoop from @makenakelly.bsky.social www.wired.com/story/doge-r...
Stefan Scherfke reposted
#neovim 0.11 is out! - List of notable changes since 0.10: neovim.io/doc/user/new... - Summary blog post: gpanders.com/blog/whats-n... - Release binaries: github.com/neovim/neovi... Thank you all for the support! More things to come in 0.12!
Stefan Scherfke reposted
Finally, here's attrs 25.2.0: vroom–vroom edition! attrs always had impressive runtime performance because we generate optimal code for your configuration. But now @tinche.bsky.social also made this code gen 30–50% faster! This is the last version to support Python 3.8. github.com/python-attrs...
Stefan Scherfke reposted
Hi everyone, Just to announce that the handle bsky.app/profile/nico... is not Bruno, but an impersonator. That account has already been reported. Bruno can be reached at bsky.app/profile/soli....
Stefan Scherfke reposted
Stefan Scherfke reposted
sybil 9.1.0 released! It's a #python tool for testing examples in documentation and source code: sybil.readthedocs.io/en/latest/
Stefan Scherfke reposted
https://codspeed.io is pretty cool and class creation will be 38–52% faster in attrs 25.2.0 https://github.com/python-attrs/attrs/pull/1407
Stefan Scherfke reposted
My brother is raising funds for establishing a partnership between Luckau (Wendland), Germany and Faléa, Mali. Most of the expenses are already covered but they need some extra money for the initial trip to Africa. You can find more info here: www.gofundme.com/f/luckau-falea Thank you ❤️
Stefan Scherfke reposted
“Celebrated are the minimal dependencies, the humble function that just quietly does the job, the code that doesn't need to be touched for years because it was done right once.” lucumr.pocoo.org/2025/1/24/bu...
Stefan Scherfke reposted
Stefan Scherfke reposted
Stefan Scherfke reposted
I think this is the best outcome for the moment. We don't fully understand the problem of lockfiles in Python yet and a universal standard would come too early. bsky.app/profile/snar...
No one is getting a lock file standard for Christmas, but you may get a standardized `requirements.txt` file before April Fools. At this point there's no chance of a single lock file format all the major workflow tools will use directly, but there will at least be something they can all export to.
Stefan Scherfke reposted
#neovim Development News The 0.11 version will allow fuzzy matching in built-in Insert mode completion (like <C-x><C-n> and friends). Add "fuzzy" flag to 'completeopt' option. PR (a ported Vim patch): - github.com/neovim/neovi...
Stefan Scherfke reposted
Stefan Scherfke reposted
First blog post after a very long time: Publishing to PyPI with a Trusted Publisher from GitLab CI/CD 🦊 stefan.sofa-rockers.org/2024/11/14/g... #GitLab #PyPI #PyPA
Thanks to @wbolster.nl for proofreading and for suggestions for improvement. ❤️
Stefan Scherfke reposted
sybil 9.0.0 released! It's a #python tool for testing examples in documentation and source code: sybil.readthedocs.io/en/latest/