Skip to main content

PDM Build Hook for a Polylith workspace

A plugin for PDM and the Polylith Architecture.

This build hook is making the virtual environment aware of a Polylith Workspace.

When running pdm install it will add an additional pth file to the virtual environment, including paths to the bases and components folders.

Usage

PDM has already a configuration option called project-dir, that is meant for defining a custom path to the Python source code. But it only allows one directory.

The code in a Polylith workspace is organized into two folders (bases, components), and that is the reason for using this hook.

Installation

[build-system]
requires = ["pdm-backend", "pdm-polylith-workspace"]
build-backend = "pdm.backend"

This is only needed in the Polylith workspace pyproject.toml, and not in the individual projects.

Polylith documentation

the Python tools for the Polylith Architecture

Metadata

Release files for pdm-polylith-workspace 1.3.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pdm-polylith-workspace 1.3.11
File Size Uploaded Provenance Actions
pdm_polylith_workspace-1.3.11.tar.gz 8.1 kB Without provenance Details for pdm_polylith_workspace-1.3.11.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pdm-polylith-workspace 1.3.11
File Interpreter ABI Platform Actions
pdm_polylith_workspace-1.3.11-py3-none-any.whl Python 3 none any Details for pdm_polylith_workspace-1.3.11-py3-none-any.whl

Total release size: 23.5 kB

Release files / pdm_polylith_workspace-1.3.11.tar.gz

Download URL pdm_polylith_workspace-1.3.11.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
8e71e4e91e6bb3651435a4579eaf4a6c49f8c794c22da69015d14f646ee12574
BLAKE2b-256 checksum
How to use checksums
cecc18bc73c4f86fa21651f82c9d0880d42d785c98f253a564347a7b46b6e661
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / pdm_polylith_workspace-1.3.11-py3-none-any.whl

Download URL pdm_polylith_workspace-1.3.11-py3-none-any.whl
Size 15.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
57e8c1424534b6a183ac45d4e2f320411dda3fb8d849bf1c309dffae16b1add4
BLAKE2b-256 checksum
How to use checksums
28f649075b100893a6a6e7468b76a0cb643ec757a37262a8dc5dae5a5bcd5686
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Security for pdm-polylith-workspace 1.3.11

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page