kubesplit
Split a multidoc YAML file of Kubernetes descriptors into a set of single-resource files — one file per resource, nicely formatted and grouped by namespace.
If you just want an opinionated YAML formatter, have a look at yamkix.
Documentation
📖 Full documentation: https://looztra.github.io/kubesplit/
It follows the Diátaxis framework:
- Getting started tutorial
- How-to guides (install, split, organize output, control quotes, Kustomize/Helm)
- CLI reference and file naming rules
- How kubesplit works
Quick start
# Install (see the docs for pip / Docker / mise alternatives)
uv tool install kubesplit
# Split a file into an output directory
kubesplit --input all-in-one.yml --output out
# Or read from STDIN (compose with kustomize / helm)
kustomize build overlays/prod | kubesplit -q -i - -o generated/prod
Contributing
See the contributing guide.
Credits
- Kubesplit uses the awesome ruamel.yaml library and the yamkix formatter.
Metadata
Release files for kubesplit 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kubesplit-0.6.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / kubesplit-0.6.0-py3-none-any.whl
| Download URL | kubesplit-0.6.0-py3-none-any.whl |
|---|---|
| Size | 11.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bf6da280ee1b83450cb146bcfabf30c7fd443f6b68990741e077793e8c12a721
|
|
BLAKE2b-256 checksum How to use checksums |
1590a65236a715caa0c758c5bc9fecfb5aec6c3060dfde27206ca2aa1be6e651
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.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.
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 Jul 5, 2026.
Transparency log