Skip to main content

pychub-poetry-plugin

This pychub plugin is part of the pychub-build-plugins project. If you are here, you should already be familiar with pychub. If not, please read the pychub documentation. You can find it on github, or on pypi. The information located in those locations will describe the operation of pychub. This document will describe how to use pychub in a pyproject.toml file when building with poetry.

Prerequisites

You should already have a pyproject.toml file that builds a wheel of your project with the poetry build backend. Once you have completed that, you can continue by adding the pychub-poetry-plugin to your pyproject.toml file.

Using the Plugin

Usage of the plugin is straightforward, and only requires the addition of the plugin to your pyproject.toml file, and the standard pychub configuration.

Adding the Plugin To Your pyproject.toml File

Amend or add the plugin to the [tool.poetry.requires-plugins section to let poetry know about the plugin and its version:

[tool.poetry.requires-plugins]
pychub-poetry-plugin = "^0.1.0"

Configuring the Plugin

Add the pychub configuration to your pyproject.toml file according to the pychub documentation. Here is an example:

[tool.pychub.package]
name = "test-proj"
version = "0.0.1"
wheel = "dist/test_pkg-0.0.1-py3-none-any.whl"
includes = [
  "includes/README.md::docs/",
  "includes/test.cfg::conf/",
  "includes/info.txt::etc/other.txt",
  "includes/test.txt"
]

[tool.pychub.package.scripts]
pre  = ["scripts/pre_script.sh"]
post = ["scripts/post_script.sh"]

[tool.pychub.package.metadata]
maintainer = "you@example.com"
test = "poetry"

Plugin Execution

Once you have configured the plugin, you can run poetry build and the plugin will execute. Your dist directory will contain the wheel and the pychub file.

Metadata

Release files for pychub-poetry-plugin 1.0.4

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

Source distribution (sdist)

Source distribution for pychub-poetry-plugin 1.0.4
File Size Uploaded Provenance Actions
pychub_poetry_plugin-1.0.4.tar.gz 2.4 kB With provenance Details for pychub_poetry_plugin-1.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pychub-poetry-plugin 1.0.4
File Interpreter ABI Platform Actions
pychub_poetry_plugin-1.0.4-py3-none-any.whl Python 3 none any Details for pychub_poetry_plugin-1.0.4-py3-none-any.whl

Total release size: 5.6 kB

Release files / pychub_poetry_plugin-1.0.4.tar.gz

Download URL pychub_poetry_plugin-1.0.4.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
6d8392ff790bd7084838923bc5d5d8c8a98df85d2f8ad9033bd29ad0a2767186
BLAKE2b-256 checksum
How to use checksums
1c39da40a996c2742ee360f2e47aa50c60bba32e0ba588c86699342a3564c494
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 29, 2025.

Transparency log

Release files / pychub_poetry_plugin-1.0.4-py3-none-any.whl

Download URL pychub_poetry_plugin-1.0.4-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3d45ae3eb4b5805a1a13daa08b337f2738cf884a853506e28c492e7e5d1186fc
BLAKE2b-256 checksum
How to use checksums
fb03ca0f2c3402a430cc57593a7147b808340151a1eebed452863d3455388d70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 29, 2025.

Transparency log

Security for pychub-poetry-plugin 1.0.4

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pychub_poetry_plugin-1.0.4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 29, 2025.

Transparency log

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.

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