News for hackers. Stuff that matters.
Re:Litecli: CLI for SQLite Databases with auto-completion an... by rented_mule on Tuesday September 10, 2024 @03:33AM (#41498163)
If you install https://github.com/astral-sh/uv (it's really just two binaries... uv and uvx), then you can run many Python CLIs, and it will manage everything for you. This means resolving and downloading dependencies without touching your system Python. In this case, you'd type `uvx litecli`. If uvx can't find a suitable Python already installed, it will do its best to download a privately managed version. And it's very fast at doing all this.
Re:Litecli: CLI for SQLite Databases with auto-completion an... by synergy20 on Tuesday September 10, 2024 @08:58AM (#41500343)
I assume it works like pipx, caches the download until a new reboot
Re:Litecli: CLI for SQLite Databases with auto-completion an... by rented_mule on Tuesday September 10, 2024 @12:45PM (#41502814)
Yes, uvx's behavior is a lot like pipx, but much faster to start up programs (just as uv is much faster than pip), whether cached or not.
Re:Litecli: CLI for SQLite Databases with auto-completion an... by darkteflon on Wednesday September 11, 2024 @09:04AM (#41510963)
Huh, I’m a big rye user but had no idea that uvx was a drop-in replacement for pipx. Thanks!