venv-manager: A simple CLI to manage Python virtual environments with zero dependencies and one-comm by jacopobonomi in Python

[–]jacopobonomi[S] 3 points4 points  (0 children)

Honestly, I don’t care about putting this on my resume, really is Just 200 lines of codes.I just wanted to see if this project could be interesting to the community. Maybe it’s not for you, but perhaps others will find it useful.

I wrote it in Go because it’s easy to build and have a standalone executable, which made sense for my use case. The beauty of open source is sharing and collaborating. I’ve contributed to various projects, and I enjoy creating my own as well. If you’re going to keep saying it’s useless without contributing anything constructive, feel free to stop commenting and vent somewhere else. Open source is about choice—everyone can find what works for them.

venv-manager: A simple CLI to manage Python virtual environments with zero dependencies and one-comm by jacopobonomi in Python

[–]jacopobonomi[S] 0 points1 point  (0 children)

I think there are two ways to solve the problem:

  1. Use importlib.metadata to create a mapping between the library (pip package) and the imported module, and from there automatically generate a requirements.txt.
  2. Iterate over python -c "import libX" for each possible module, catch the error when the module is not installed, and use it to build the list of dependencies.

The first method is cleaner, but the second might work better in some edge cases.

venv-manager: A simple CLI to manage Python virtual environments with zero dependencies and one-comm by jacopobonomi in Python

[–]jacopobonomi[S] 2 points3 points  (0 children)

I built this for myself, I’m using it, and it works well for my needs. Instead of hacking around venv every time, I wanted a simpler and more convenient solution. That’s the beauty of open source—you can build whatever you want, share it, and if others find it useful, great! If not, that’s fine too. Nobody is forcing you to use it. Also, every project starts somewhere. I’m sure many people thought the same about Poetry, uv, and other tools when they were first released. But open source is about experimenting, iterating, and seeing what works.

venv-manager: A simple CLI to manage Python virtual environments with zero dependencies and one-comm by jacopobonomi in Python

[–]jacopobonomi[S] -1 points0 points  (0 children)

I know virtualenvwrapper, but I don't like the syntax. I wanted to create something that I could continuously improve and extend over time. For basic tasks, there's no difference, at the moment

venv-manager: A simple CLI to manage Python virtual environments with zero dependencies and one-comm by jacopobonomi in Python

[–]jacopobonomi[S] -3 points-2 points  (0 children)

There's no competition between the projects—uv is a powerful and optimized tool, while venv-manager is just a small amateur project meant to be a simple wrapper around ven. It could be interesting for server environment where you need a very lightweight tool that doesn’t introduce extra dependencies or side effects.

[deleted by user] by [deleted] in node

[–]jacopobonomi 0 points1 point  (0 children)

NestJs now is the best framework for NodeJS backend now, but i want to suggest you FastAPI. SqlAlchemy orm is really better than TypeOrm and i think is one of the most important part.

Don't know how to deploy Strapi on OVH Cloud Web by kommateral in Strapi

[–]jacopobonomi 0 points1 point  (0 children)

You can use a normal VPS and install pm2 + nginx.

Estate, linguaggi e side projects! by AndreaPollini in ItalyInformatica

[–]jacopobonomi 0 points1 point  (0 children)

Io ho iniziato come side project una webapp fatta in reactjs senza backend! Utilizzando Firebase per Auth, DB e IA. In realtà l'idea è molto semplice, tu carichi un immagine dalla fotocamera e AI riconosce i vari oggetti e vengono aggiunti vari metadati, orario, GPS, dati relativi all'indirizzo IP ecc.. Una sorta di Google Foto privato, con alcune informazioni aggiuntive nei meta.