Fredrik Sjöstrand's Avatar

Fredrik Sjöstrand

@fronkan.bsky.social

Software engineering, ML and data in general, but python in particular! very occasional blogging at: http://fronkan.hashnode.dev. Storing code at: http://github.com/Fronkan.

63 Followers  |  143 Following  |  65 Posts  |  Joined: 20.11.2024  |  1.8458

Latest posts by fronkan.bsky.social on Bluesky

While I built multiple applications and packages at home and work, this is the first time I pushed something to pypi!🥳

It was inspired by this episode of @pythonbytes.fm: pythonbytes.fm/episodes/sho...
Where Michael said someone should build a package based on a blog post covered. Well here we go!

07.10.2025 08:22 — 👍 1    🔁 0    💬 0    📌 0
Preview
GitHub - Fronkan/testionary: Inspectable dictionaries for testing in Python Inspectable dictionaries for testing in Python. Contribute to Fronkan/testionary development by creating an account on GitHub.

Testionary (test-dictionary) is a tiny package that provides a dictionary subclass that allow you to track which keys has been accessed and modified.
Available on pypi.org/project/test...

github.com/Fronkan/test...

07.10.2025 08:14 — 👍 0    🔁 0    💬 0    📌 1

I think this is a really good point from @jamellebouie.net. I find outsourcing the formation of my view on a topic to an LLM a scary proposition. This is also why I'm a bit wary around coding assistants. When am I outsourcing so much of my thinking that it impacts my understanding of the problem?

18.06.2025 09:35 — 👍 1    🔁 0    💬 0    📌 0

Here is an image of the editor I live coded in 7 minutes using #textual with it's own source code open.

03.06.2025 11:47 — 👍 1    🔁 0    💬 0    📌 0

I'm currently trying to internalise this:

02.06.2025 23:22 — 👍 1    🔁 0    💬 0    📌 0

A post based on a lightning talk I had at work a while ago at this point. I live coded a text editor with syntax highlighting in 7 minutes, using Python and Textual.

fronkan.hashnode.dev/writing-a-te...

02.06.2025 23:19 — 👍 0    🔁 0    💬 0    📌 1

While I have published any blog posts in quite a while, I have been drafting a few posts. I hope to start pressing publish a bit more.

02.06.2025 23:16 — 👍 0    🔁 0    💬 1    📌 0

Passing this note along for others. I wrote down some thoughts on how to write better workarounds through comments and tesring a couple of years ago, fronkan.hashnode.dev/tips-tricks-....

31.05.2025 16:00 — 👍 3    🔁 1    💬 0    📌 0
Preview
What’s next? Some years ago I had the opportunity to work fulltime on project of mine. This was at a time where I fully intended to take a year off, but being able to make a living off a project of your own creati...

Thanks to @willmcgugan.bsky.social and the textualize team for this time. Textual seems to be a TUI library that is second to none, python or otherwise. I'm sad that the company didn't work out, but glad that you gave it a go as textual made me fall in love with the terminal applications

28.05.2025 00:09 — 👍 13    🔁 3    💬 2    📌 0

Well, maybe it's more the immutability 🤔

07.05.2025 05:33 — 👍 0    🔁 0    💬 0    📌 0

When writing elixir, it still feels strange to code without for loops

06.05.2025 23:10 — 👍 0    🔁 0    💬 0    📌 1
Preview
PEP 735 – Dependency Groups in pyproject.toml | peps.python.org This PEP specifies a mechanism for storing package requirements in pyproject.toml files such that they are not included in any built distribution of the project.

Seeing PEP-735, Dependency Groups,
included in the latest version pip makes me really happy!
With both uv and pip supporting them I'm pretty sure I can move away completely from requirements.txt 🥳

01.05.2025 06:19 — 👍 0    🔁 0    💬 0    📌 0

I would generally agree with this perspective on LLMs. To me the aggressive stance against there usefulness looks more like a counter reaction against the hype. Are they as useful as the hype-side tries to tell you, absolutely not. Are they useless, also no.

25.04.2025 14:44 — 👍 3    🔁 0    💬 0    📌 0
Man Survives 100 Days With Titanium Heart Transplant
YouTube video by ColdFusion Man Survives 100 Days With Titanium Heart Transplant

With everything going on and the virality of bad news it's easy to miss the progress happening. Like a person had a mechanical heart for 100 days as a temporary solution until getting a heart transplant. Even being discharged from hospital during that time 🤯

youtu.be/f7cuOS7nmDY?...

02.04.2025 08:03 — 👍 1    🔁 0    💬 0    📌 0

😂

01.04.2025 22:46 — 👍 0    🔁 0    💬 0    📌 0
Preview
Developer Voices Deep-dive discussions with the smartest developers we know, explaining what they're working on, how they're trying to move the industry forward, and what we can learn from them.You might find the solu...

After listening to the latest episode of Developer Voices (pod.link/developer-vo...), I installed Nixos in WSL. It looks quite interesting. Also, I love how I can run both ubuntu and Nixos in WSL at the same time.

01.04.2025 22:42 — 👍 1    🔁 0    💬 0    📌 0

Tried out asdf yesterday, mainly to manage erlang and elixir. Feels like it would have been nice if plugins could manage build dependencies for you. Copy-pasting the install commands from the readme obviously wasn't hard, but increased the friction slightly

28.03.2025 08:17 — 👍 0    🔁 0    💬 0    📌 0

Beside the changing table we have a box of baby socks. I found 3 socks, non of which where equal to the others. Looking around I found another one, which obviously didn't match the other 3. I gave up and started on a new pair, guess I will find 5 non-matching socks the next time ¯⁠\⁠_⁠(⁠ツ⁠)⁠_⁠/⁠¯

21.03.2025 11:11 — 👍 0    🔁 0    💬 0    📌 0

I am very annoyed by LLMs highjacking the term AI

20.03.2025 16:51 — 👍 0    🔁 0    💬 0    📌 0
Preview
GitHub - nvim-lua/kickstart.nvim: A launch point for your personal nvim configuration A launch point for your personal nvim configuration - nvim-lua/kickstart.nvim

Been vim-curios for a while. Seems like #neovim with Kickstart(github.com/nvim-lua/kic...) is what I needed to get going😁

15.03.2025 10:35 — 👍 0    🔁 0    💬 0    📌 0

"follow and pin" might be the bluesky equivalent of YouTubes "subscribe and ring the bell". Likeing it will put it in your liked list, but if really want to see it you should pin it as well.

14.03.2025 08:32 — 👍 0    🔁 0    💬 0    📌 0

Not doing much serveless stuff, but it sounds interesting. I have been playing around with duckdb for some larger than memory data and it's been pretty great.

Was running queries over piles of parquet files 😁

14.03.2025 07:05 — 👍 2    🔁 0    💬 0    📌 0

I checked out the repo and I would say that pyproject.toml or setup.cfg is the preferred way to configure setuptools now a days. Generally, using static information instead of a build script makes packages safer and more easily introspected. Personaly, I prefer pyproject.toml as it's standardized

14.03.2025 06:54 — 👍 1    🔁 0    💬 1    📌 0

I would for example use `pyproject.toml` for the package information rather than `setup.cfg` and defently avoid `setup.py`. `setup.py` is powerful but we try to use static information now a days. Pyproject.toml is the latest and most standardised way, making it easier to try other build systems.

14.03.2025 06:47 — 👍 0    🔁 0    💬 0    📌 0

Now a day's we have a lot of options for building packages, but, for a long time setuptools was more or less the only option. It's been around for a long time and things has changed quite a bit during that time. So if you use it, just make sure to see what current practice is.

14.03.2025 06:47 — 👍 0    🔁 0    💬 1    📌 0
Flit 3.11.0 — Flit 3.11.0 documentation

Built a few packages using setuptools but never published anything to pypi. Just company internal stuff.

I don't know how uv shakes things up but, previously I have heard good things about flit (flit.pypa.io/en/latest/in...) for pure python packages.

13.03.2025 21:26 — 👍 0    🔁 0    💬 1    📌 0

its amazing how chatgpt knows everything about subjects I know nothing about, but is wrong like 40% of the time in things im an expert on. not going to think about this any further

08.03.2025 00:13 — 👍 12439    🔁 3121    💬 88    📌 108

🐍 Calling all Python data engineers!

I’m looking to chat with Python developers working in data engineering—whether you’re building pipelines, wrangling data, or just figuring things out as you go.

Details 👇

09.03.2025 01:35 — 👍 46    🔁 14    💬 5    📌 1

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....

23.02.2025 01:45 — 👍 15    🔁 14    💬 5    📌 1

This is absolutely mind-blowing! 🤯

22.02.2025 19:37 — 👍 1    🔁 0    💬 0    📌 0

@fronkan is following 20 prominent accounts