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.14.6.tar.gz (23.5 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.14.6-py3-none-any.whl (43.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for poetry_polylith_plugin-1.14.6.tar.gz
Algorithm Hash digest
SHA256 8866a6760143f8740dcb87b8c190ab8fb71b3cd30d8bb3d93f19186c7dc63f9e
MD5 0ded94f64ceab7263e26e6abbe92ee56
BLAKE2b-256 b9843f82564889c5d2f7b54737bb03854a60461978e666aee8a5eb5ae7894150

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for poetry_polylith_plugin-1.14.6-py3-none-any.whl
Algorithm Hash digest
SHA256 6e5b2e341ee4facc5da3dce32b2490ce976085cad1b7280a8e062975bbd523ee
MD5 31ae6dc5c4838c50aa76cf734dfe8693
BLAKE2b-256 a585083c8f154c2713e41f98a3589338eeadbf863bf912e9007d293514104ac8

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