A Poetry plugin that adds tooling support for the Polylith Architecture
Project description
Poetry Polylith Plugin
This is a Python Poetry
plugin, adding CLI support for the Polylith Architecture.
Documentation
Have a look at the documentation. You will find installation, setup, usage guides and more.
Quick start
With the Poetry
version 1.2 or later installed, you can add plugins.
Make sure that you have Poetry
1.2 or later installed.
Add the Multiproject plugin, that will enable the very important workspace support (i.e. relative package includes) to Poetry.
poetry self add poetry-multiproject-plugin
Add the Polylith plugin:
poetry self add poetry-polylith-plugin
Create a directory for your code, initialize it with git and create a basic Poetry setup:
git init
poetry init
Next: create a Polylith workspace, with a basic Polylith folder structure.
poetry poly create workspace --name my_namespace --theme loose
Time to start coding. Add components, bases and projects:
poetry poly create component --name my_component
poetry poly create base --name my_example_endpoint
poetry poly create project --name my_example_project
For details, have a look at the documentation. There, you will find guides for setup, migration, packaging, available commands, code examples and more.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for poetry_polylith_plugin-1.17.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1adf116bf2a5905636980dd829964623c573de95184e6f4c72869ff496ff294 |
|
MD5 | 6420c468ec309870b55375bd0709dc35 |
|
BLAKE2b-256 | 1dbf456d797ad00e9ccb5f053d649c1074361b0be399e24c342910581d3c825d |
Hashes for poetry_polylith_plugin-1.17.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd236bbb9e33814e236b2365f518ef48740d316f417f50433429b6d5db338e6d |
|
MD5 | d0919cf62ce501cd3dfdd95757771962 |
|
BLAKE2b-256 | b740aa20ceeb172869a0568e9b2e8b792a54dd2f420b204a07acbae5f4d0fb33 |