Elektrine lite

← Feed

@im_fine_sandy@nord.pub

2026-10-22 05:05 UTC

I have lots of experience with node and a little with python. Python seems great for working with large data sets and I really like jupyter notebooks. The available libraries are really great. However, the thought of installing a Python CLI app makes me twitchy. I suspect that node has all the same problems and that I’m used to working around them, but all the Python environment stuff is a nightmare.

Replies (5)

  • @esc@piefed.social 2026-10-22 05:17

    Yeah, absolute nightmare of writing pipx install programname.

    Open ##5193898

  • @grue@lemmy.world 2026-10-22 05:20

    Python environment/packaging sucks, but at least the language itself doesn’t.

    Open ##5193912

  • Python is great for standalone scripts/CLIs with standard system dependencies. For actual apps you want venvs, probably managed by uv these days. I’ve written 1000s of python CLIs/scripts over the years, typically wrapping APIs for otherwise shitty enterprise and SaaS software (also many one-off scripts for ETL). Nowadays, AI writes these scripts in a fraction of the time (and reads the shitty API docs / otherwise figures it out) and my CLI toolkit is better than ever (with $0 ongoing cost). Calling MCPs from CLIs is also interesting, as some vendors never had usable APIs before now.

    Open ##5194856

  • @nil@piefed.ca 2026-10-22 08:24

    uv is a fantastic tool if you didn’t know

    Open ##5195572

  • @MangoCats@feddit.it 2026-10-22 12:31

    The available libraries are the ONLY excuse for Python. When you need tools more sophisticated (and labor intense) than your tool to make your tool functional, it’s time to re-examine your choice of toolchain.

    Open ##5198308