Feb-26-2024, 02:03 PM
Hi everyone! How do you organize your code? I like to separate everything into directories, preferably in the form of a monorepo. Custom libraries, services, etc. I then import everything using Poetry. An alternative is to keep either all scripts in one directory or in directories with the main script. I don't like this way of organizing, but unfortunately, my method (monorepo) causes a significant increase in memory usage. Each library and service has its own virtual environment, and many dependencies are repeated. Isn't there a better way?