charmcraftcache
Fast first-time builds for charmcraft
Decision gist · record as of 2026-08-14
Yes, if you build charms regularly and want faster first-time builds. The tool is actively maintained, has low install friction, and solves a real pain point in charmcraft workflows. The unclear license is a minor concern to verify before production use. Not relevant for non-charmcraft users.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires charmcraft.yaml to use multi-base shorthand notation syntax (e.g., 'ubuntu@22.04:amd64'); build-on/build-for syntax is not supported.
- Python >= 3.10 required.
- Low friction install via pipx.
License · maintenance · safety
(unclear) — License status is unclear—no SPDX identifier or raw license text is available in the package metadata. Verify the actual license before use in proprietary or restricted contexts.
last release 2026-04-06 (130 days) · last repo commit 2026-04-06 · 3 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 135,975 downloads/mo, #11,411 on PyPI
Alternatives
Verify before relying
pipx install charmcraftcache
ccc add
ccc pack- Whether the pre-built wheel cache is kept up-to-date for new charm releases and dependencies.
- Performance improvement magnitude compared to standard charmcraft builds in typical CI scenarios.
- Compatibility with charms using C extensions beyond pyyaml.
What it is and what it does
charmcraftcache addresses a specific bottleneck in charmcraft builds: by default, charmcraft builds Python package wheels from source rather than downloading pre-built wheels, which is slow on first build. The package works by downloading pre-built wheels from a centralized hub (maintained separately) and populating charmcraft's pip cache before packing, so subsequent builds reuse those wheels.
It is a CLI tool installed via pipx that wraps charmcraft's pack command. It requires charmcraft.yaml to use multi-base shorthand notation (where build-on and build-for are identical), and it works within charmcraft's LXC container model. The tool is most useful in CI environments and on fresh machines where the pip cache is empty.
Use it for
- Speed up CI charm builds by pre-populating the pip wheel cache with source-built wheels from a shared hub.
- Reduce build time when contributing to a charm on a new development machine.
- Cache wheels across multiple charm platform variants (e.g., ubuntu@22.04:amd64, ubuntu@24.04:arm64) in a single operation.
- Avoid repeated source builds of the same Python dependencies across multiple charm projects.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you build charms regularly and want faster first-time builds.
The tool is actively maintained, has low install friction, and solves a real pain point in charmcraft workflows. The unclear license is a minor concern to verify before production use. Not relevant for non-charmcraft users.
Install
charmcraftcache on PyPI
Before you install
Low friction install via pipx. Active maintenance with recent commits and no known vulnerabilities. Depends on common, stable packages (packaging, pyyaml, requests, rich, typer).
Requires charmcraft.yaml to use multi-base shorthand notation syntax (e.g., 'ubuntu@22.04:amd64'); build-on/build-for syntax is not supported. Python >= 3.10 required.
License in practice
License status is unclear—no SPDX identifier or raw license text is available in the package metadata. Verify the actual license before use in proprietary or restricted contexts.
Quickstart
pipx install charmcraftcache
ccc add
ccc pack
Verify before relying
- Whether the pre-built wheel cache is kept up-to-date for new charm releases and dependencies.
- Performance improvement magnitude compared to standard charmcraft builds in typical CI scenarios.
- Compatibility with charms using C extensions beyond pyyaml.
Package facts
| License | Not declared unclear |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 5 packagespackagingpyyamlrequestsrichtyper |
| Maintenance | Actively maintained 130 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 135,975 / month, #11,411 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Programming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14 |
Evidence: charmcraftcache-0.8.5-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “charmcraft build cache”
- charmcraftcacheAccelerates charmcraft builds by pre-downloading and caching Python…
- charmcraftlocalPacks Juju charms with local Python package dependencies by copying…
- sccachesccache is a compiler caching wrapper that stores compilation results…
Give your agent the search over MCP, or paste the wish link into any chat.
More Build Tools packages
Provides reusable utilities for Python packaging interoperability, including version handling, specifiers, markers, requirements, tags, and metadata parsing according to standards like PEP 440 and PEP 425.
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
pip is the standard installer for Python packages, enabling you to download and install packages from the Python Package Index and other indexes into your Python environment.
Hatchling is a standards-compliant Python build backend that handles packaging, metadata, and distribution of Python projects when configured in a project's pyproject.toml file.
Generates Python gRPC service stubs and message classes from Protocol Buffer definitions, enabling developers to build gRPC clients and servers.
pre-commit is a framework for installing and running git hooks written in any language before commits are made, automating code quality and validation checks across multi-language projects.
Install it if your team needs consistent, automated validation at commit time.
See also charmcraftlocal · charm-refresh-build-version · cibuildwheel · soldr · nodejs-wheel · vercel-cache · nodejs-wheel-binaries · pyston-autoload · ops · charmlibs-pathops