Python Forum
Organization of project directories
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Organization of project directories
#1
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?
Reply


Messages In This Thread
Organization of project directories - by wotoko - Feb-26-2024, 02:03 PM
RE: Organization of project directories - by wotoko - Feb-29-2024, 04:57 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Listing directories (as a text file) kiwi99 1 873 Feb-17-2023, 12:58 PM
Last Post: Larz60+
  Virtual Environments - Organization (VS Code) JaysonWonder 11 1,977 Jan-26-2023, 11:34 PM
Last Post: Larz60+
  rename same file names in different directories elnk 0 738 Nov-04-2022, 05:23 PM
Last Post: elnk
  I need to copy all the directories that do not match the pattern tester_V 7 2,526 Feb-04-2022, 06:26 PM
Last Post: tester_V
  Python create directories within directories mcesmcsc 2 2,248 Dec-17-2019, 12:32 PM
Last Post: mcesmcsc
  Accessing files in various directories and folders ccuny 2 2,203 May-08-2019, 12:11 PM
Last Post: ccuny
  Creating directories from two lists QueenSveta 2 2,813 Jun-22-2018, 09:33 AM
Last Post: volcano63
  search file extention in sub directories mr_byte31 1 2,440 Feb-12-2018, 01:30 PM
Last Post: DeaD_EyE
  Decompressing bz2 in multiple sub-directories kiton 29 18,542 Apr-14-2017, 10:01 AM
Last Post: Ofnuts

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020