4 ms·
> It's easy to install if you have pip. (Available at service-ping-sping on PyPi) Consider rewriting the program in Go, then you’ll have a statically linked bi
by guessmyname 1y ago
> It's easy to install if you have pip. (Available at service-ping-sping on PyPi)
Consider rewriting the program in Go, then you’ll have a statically linked binary that’s much easier to install (less dependencies) and will be much faster too.
- Cthulhu_ 1y agoIf that is the objective, there's a few options available; a more pragmatic one is to use a tool that bundles a Python runtime and the application into a single executable, there's a few options there. Rewriting in a different language should always be a last resort given the time investment required.
- kunley 1y ago> Rewriting in a different language should always be a last resort given the time investment required. ..or, a refreshing and exciting experience.
- guessmyname 1y ago> Rewriting in a different language should always be a last resort given the time investment required. Makes no sense. This is a relatively small program that can easily be rewritten by a large large model like ChatGPT, Claude, Gemini, etc. in a day session.
- akx 1y agoThese days, once you have https://docs.astral.sh/uv/ https://docs.astral.sh/uv/ installed, `uvx --from service-ping-sping sping` is pretty much zero effort to run this software.
- 1718627440 1y agoExcept if you don't like pulling random programs from the internet.
- import 1y agoNot here to advise rewriting from scratch but I found myself considering using go/rust/c stuff instead of Python in the last few years. Less headache and more predictable
- zorlack 1y agoYou're certainly right that statically linked binary is the most optimal expression of this goal. Especially for use in a secure environment. Alas, this is just a python tool :)