Skip to content
Discussion options

You must be logged in to vote

I'm curious about what you mean with repetitive, maybe I misunderstand something? If you view it from a single-repo perspective, you'll have the code in an app folder or a similar name. You access the entire code base by typing from app import something, or using relative imports. That's exactly how the Polylith structure works. This is just plain Python, and Polylith doesn't do anything different there. You can also view the bases and components as equivalents to a src directory.

The bricks aren't the same thing as libraries, in Polylith you are encouraged to organize the code in much smaller units than a library (that's the LEGO brick metaphor). That means (even if you can) it is not re…

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@fraser-langton
Comment options

@DavidVujic
Comment options

@fraser-langton
Comment options

@DavidVujic
Comment options

Answer selected by DavidVujic
@fraser-langton
Comment options

@DavidVujic
Comment options

@fraser-langton
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #374 on September 02, 2025 09:04.