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.12

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.12
File Size Uploaded Provenance Actions
pdm_polylith_workspace-1.3.12.tar.gz 8.1 kB Without provenance Details for pdm_polylith_workspace-1.3.12.tar.gz

Built distribution (wheel)

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

Total release size: 23.5 kB

Release files / pdm_polylith_workspace-1.3.12.tar.gz

Download URL pdm_polylith_workspace-1.3.12.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c636965a8fc8d01ef259958583f5491fc7ed9e3c9d13e7e60aeaa5d24524b85b
BLAKE2b-256 checksum
How to use checksums
592b38750e606a58ad49523b417ff8b513bb35817f6bb0c908d3b8906c19dcd2
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.12-py3-none-any.whl

Download URL pdm_polylith_workspace-1.3.12-py3-none-any.whl
Size 15.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5535a9042cfe6ee7be53f1be4e997b1000a01a124b6a9265f9ca3a8c84cafe92
BLAKE2b-256 checksum
How to use checksums
64810297f4d1ed3f3221c43a98ff594dcaac5527f5070b3743bd9164c54c322a
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.12

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