Skip to main content

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

poetry_polylith_plugin-1.49.1.tar.gz (38.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

poetry_polylith_plugin-1.49.1-py3-none-any.whl (70.7 kB view details)

Uploaded Python 3

File details

Details for the file poetry_polylith_plugin-1.49.1.tar.gz.

File metadata

  • Download URL: poetry_polylith_plugin-1.49.1.tar.gz
  • Upload date:
  • Size: 38.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.1

File hashes

Hashes for poetry_polylith_plugin-1.49.1.tar.gz
Algorithm Hash digest
SHA256 89e8d921d50bd69edf04f20dcb5780e6df76d734add4600517ee0959fa7c282b
MD5 8945ca573bd1b7b11d7e63c9a6bac8a4
BLAKE2b-256 9db7cda8987a0d49c14584940d4792343e40269c33c62a7fd468cee3109470ef

See more details on using hashes here.

File details

Details for the file poetry_polylith_plugin-1.49.1-py3-none-any.whl.

File metadata

File hashes

Hashes for poetry_polylith_plugin-1.49.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c24c45510528808eeabe5f753d8b39d2cde85bd5116d00a098b0633e65241277
MD5 0ef36fbd2e53c08c62fc35c1a1654b23
BLAKE2b-256 72f8349edd275220b172880ec3959977bfcf2adf08e6653094a70a1689f0d2ee

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page