Chris Jackson@programming.devtoPython@programming.dev•Lazy self-installing Python scripts with uv
1·
6 days agoI’ve been working on a SquashFS based deployment system in Python, the issue I came across was the fact that the permission system relied on tomllib
, which is only available on Python 3.11 only the latest LTS Linux distros have that version or above.
But uv
and that shebang trick
, has helped me get round the limitations with ease and elegant.
I’d say hat off to that, thank you for sharing that! =)
I’ve been working on my own version of Rest API test client, it relies on self executing TOML files, that can be save into a git repository, it currently has unlimited API requests, will be under a 0BSD license.
It currently does not do batch script or data import from spreadsheet or csv, but I can work that feature in, that should be easy to do in Python.
It currently supports arguments and pipelining http responses into a http request. I suppose I could use the pipelining system to do the data import!
It relies on adapters, those will take care of authentication like oAuth and provide the header to merge into the request.
It will be broken down into edition to keep it easy to maintain, current working on JSON edition, but will do XML edition sometime in the future. I really want to stay close to the Unix philosophy!
I did it out of frustration of Postman and other Electron based counterparts. But also I’m doing it because it fun 😁