Skip to content
Discussion options

You must be logged in to vote

Hi @tjweitzel225, I am happy that you have found Polylith and trying it out!

Yes, the main use case is to have all Python code in the monorepo and reuse the code for the features of the services or apps that are developed. It's also possible to package code into libraries, as you write. In fact, the Polylith tooling itself is bulit that way (currently 5 different things such as the CLI, a Poetry plugin and hooks for Hatch and PDM).

Adding the custom top-namespace is good (and probably necessary) if you plan to package several libraries and distribute them publicly. This is to avoid namespace collissions in case a user would install two packages of different versions or decide to remove on…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@tjweitzel225
Comment options

@DavidVujic
Comment options

Answer selected by tjweitzel225
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