Skip to main content

A pdm-backend plugin that vendors remote skill repositories into wheels.

Project description

pdm-build-bub

pdm-build-bub is a pdm-backend build hook that downloads skill repositories declared in pyproject.toml and vendors them into the built wheel under bub_skills/.

Installation

Add the plugin to the project that produces the wheel:

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

Configuration

Declare sources in pyproject.toml:

[tool.bub]
skills = [
    "PsiACE/skills",
    { git = "https://github.com/PsiACE/skills.git", ref = "v1.0.0", include = ["python*"] },
    { git = "vercel-labs/agent-skills", subpath = "skills/find-skills" },
]

Supported source formats:

  • Full Git URLs such as https://github.com/PsiACE/skills.git
  • GitHub shorthand in OWNER/REPO form such as PsiACE/skills

Discovery roughly follows the npm skills package:

  • If the selected path itself contains SKILL.md, it is treated as one skill.
  • Otherwise it searches common skill roots such as skills/, skills/.curated/, .codex/skills/, .claude/skills/, .agents/skills/ and similar agent-specific locations.
  • If nothing is found in standard locations, it falls back to a bounded recursive search.

include filters by discovered skill directory name with standard shell-style globs.

If you need to point at a specific directory inside a repository, use the table form with subpath.

When the wheel already contains files under bub_skills/, files coming from the plugin override matching paths.

This downloads the configured skills into ./bub_skills. Use --output /path/to/dir to choose another directory.

Development

Run tests with:

python -m pytest

Build the package with:

python -m build

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pdm_build_bub-0.1.0a1.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

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

pdm_build_bub-0.1.0a1-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file pdm_build_bub-0.1.0a1.tar.gz.

File metadata

  • Download URL: pdm_build_bub-0.1.0a1.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pdm_build_bub-0.1.0a1.tar.gz
Algorithm Hash digest
SHA256 a4586ee71831a0284973f0acb4d8107ae0ff3c6899c11ce4cefbc76941caec0a
MD5 a4f03ec7f684a9c8166cd88ba020900c
BLAKE2b-256 7a04ce6ff9aee99ab7d3b04c483b39235f35785c544b116497a7466b932b6633

See more details on using hashes here.

Provenance

The following attestation bundles were made for pdm_build_bub-0.1.0a1.tar.gz:

Publisher: release.yml on frostming/pdm-build-bub

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pdm_build_bub-0.1.0a1-py3-none-any.whl.

File metadata

File hashes

Hashes for pdm_build_bub-0.1.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 04316069871a493a65737d0b8e7f9e5205cf830ee1c6e6d384d534d173cba655
MD5 94712b57de075675a660efc8815a72e7
BLAKE2b-256 868507261ed5c7a3eaf9876380c34aabc11f5c671b27c4031f408d8b3c3e68af

See more details on using hashes here.

Provenance

The following attestation bundles were made for pdm_build_bub-0.1.0a1-py3-none-any.whl:

Publisher: release.yml on frostming/pdm-build-bub

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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