-
|
I have a monorepo consisting of several independent projects that I would like to unify under a common top-level name. I would like each of the projects to be publishable and importable separately, but I am wondering if there is some way to have them all share the import myproject.client
import myproject.server
import myproject.assistantAn alternative is to simply publish them under separate names like this: import myproject_client
import myproject_server
import myproject_assistantI am fine with this, but would like to understand if there is a pattern or convention for publishing things as Is there a way to do this using Poetry? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
It is possible to share the name. This is called namespace packages. |
Beta Was this translation helpful? Give feedback.
It is possible to share the name. This is called namespace packages.
poetryandpoetry-corethemselves are namespace packages. (poetry-coreis imported viapoetry.core.)