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.22.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8eea78b1c2c369d89bcb8853cdbb115ee61e60d5cec1f4196563c559177e3a80 |
|
MD5 | b41a83467e6513a7c1b6622aecc29d40 |
|
BLAKE2b-256 | 1110c3c4d56dcc48b557dd80a66bb12e62b094c93b106533974d7921a078487e |
Hashes for poetry_polylith_plugin-1.22.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c25c31b662170b22524d409a808f482312025b9a8558ff79c9af436ae409add3 |
|
MD5 | 0964927a22e6e2bcb1e2913b2aedda71 |
|
BLAKE2b-256 | 23bc8c68916e770825bdb74d6e9ad72b894992526e931453162f5bde89ec44ab |