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 built wheel and editable artifacts 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.0a2.tar.gz (8.3 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.0a2-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pdm_build_bub-0.1.0a2.tar.gz
  • Upload date:
  • Size: 8.3 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.0a2.tar.gz
Algorithm Hash digest
SHA256 0512889dcc75081499850406b784e3abc55a2edfedf83fb8b97a966718c43008
MD5 3df3b4d448e1e5983a8324e07633aea1
BLAKE2b-256 4ceb656337f61b01ec09075be2aa6a6b35efa6f0c05e91abf00620a14d781ba7

See more details on using hashes here.

Provenance

The following attestation bundles were made for pdm_build_bub-0.1.0a2.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.0a2-py3-none-any.whl.

File metadata

File hashes

Hashes for pdm_build_bub-0.1.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 783d7e4f0de7db4b9da68a0dc771d50ab801b9de6d0d4998003fc1f017357e0c
MD5 8a69dbab802d8a1a7e4277a52d3b0c4f
BLAKE2b-256 fe31dd2d420016754e19e91080ec034278878b82836779372d3717c3bbb06623

See more details on using hashes here.

Provenance

The following attestation bundles were made for pdm_build_bub-0.1.0a2-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