This release is a pre-release and may not be stable for production use.
Kazé
A lightweight terminal UI for queuing and managing VapourSynth encode jobs.
Installation
uv tool install --python 3.15 kazesynth
TUI
uv run kaze
Job files and CLI
kaze template ep01.toml writes a job file with comments that list every field.
script = "ep01.vpy"
[[track]]
node = 0
preset = "x265-slow" # from <config>/presets/x265-slow.toml
options = { crf = 16 } # optional: replaces crf from the preset
[[track]]
node = 1
tool = "flac"
[mux]
output = "Episode 01.mkv"
uv run kaze run ep01.toml # add the job and run the queue until it is idle
uv run kaze run --background # the same, in a background process
uv run kaze add ep02.toml --queue night
uv run kaze jobs
uv run kaze cancel 3
uv run kaze retry 3 # done tasks are skipped
uv run kaze stop # stop the process that runs jobs
kaze --help lists all the commands. Only one Kazé process runs jobs at a time, and the TUI and the other commands talk to it.
Without python in the job, Kazé uses a .venv or venv folder next to the script or in a parent folder.
If it finds none, it tries the last interpreter used for that folder.
After that, it uses default_python from the settings.
Without binary in a track or preset, Kazé uses [tools] from the settings, and then PATH.
- A
binarywith a folder part, liketools/x265.exe, is a path. - A relative path starts at the folder of the file that sets it: the job file, the preset file or the project file.
- A name without a folder, like
x265-mod, is found in PATH.
The settings live in <config>/settings.toml (see src/kazesynth/config.py). To keep all Kazé files in one folder, set KAZE_HOME.
Project presets
A project can have its own presets.
You write them in a kaze.toml file, or in the [tool.kaze] table of pyproject.toml:
# kaze.toml
[presets.x265-show]
tool = "x265"
options = { crf = 15, preset = "slower" }
# the same preset in pyproject.toml
[tool.kaze.presets.x265-show]
tool = "x265"
options = { crf = 15, preset = "slower" }
A project preset can build on a global preset, like a job track can:
[presets.x265-slow]
preset = "x265-slow" # the global preset with the same name, or any other global preset
options = { crf = 20 } # replaces only crf
options replace the options with the same name and extra_args come after the arguments of the global preset.
The base must be a global preset, not another project preset.
A change to the global preset also changes the project presets built on it.
-
A job file uses the project of its own folder, or of the closest parent folder that has one. In one folder,
kaze.tomlwins overpyproject.toml. -
A project preset wins over a global preset with the same name.
-
Project presets are copied into the job when you add it, like global presets. Editing the file later does not change queued jobs.
-
The TUI uses the project of the folder you open it in, for
/presetsand/new./presetsshows where each preset comes from, and you can copy a project preset to a global preset there.To change or delete a project preset, you must edit the file. Kazé never writes to it.
Flags added for x264 and x265
Kazé reads the props of frame 0 and adds these flags:
| Flag | From |
|---|---|
--output-depth |
the bit depth of the clip |
--colormatrix |
_Matrix |
--transfer |
_Transfer |
--colorprim |
_Primaries |
--range |
_Range (tv/pc for x264, limited/full for x265) |
--input-range (x264 only) |
_Range |
--chromaloc |
_ChromaLocation |
--sar |
_SARNum and _SARDen |
- A flag you set yourself always wins.
-Dcounts as--output-depth. - A missing or unspecified prop sends nothing. Kazé never guesses.
- If you set
--input-rangefor x264, Kazé does not send--rangeeither.
Metadata
Release files for kazesynth 0.1.0a0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kazesynth-0.1.0a0.tar.gz | 86.7 kB | With provenance | Details for kazesynth-0.1.0a0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kazesynth-0.1.0a0-py3-none-any.whl | Python 3 | none | any | Details for kazesynth-0.1.0a0-py3-none-any.whl |
Total release size: 203.8 kB
Release files / kazesynth-0.1.0a0.tar.gz
| Download URL | kazesynth-0.1.0a0.tar.gz |
|---|---|
| Size | 86.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b4c29aeea46d337edf35275b896aa304f2f8c33e321964065932b40256026b4c
|
|
BLAKE2b-256 checksum How to use checksums |
bd390bce4ae76c273ab6b337b90c247c81c504777b7decf5c09f23cd6fe7badd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
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 Nov 30, 2026.
Transparency logRelease files / kazesynth-0.1.0a0-py3-none-any.whl
| Download URL | kazesynth-0.1.0a0-py3-none-any.whl |
|---|---|
| Size | 117.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b87710f6ea5e8d881cfba31314eabbc0a4c0bdf3a39d287338690738d2fd74f4
|
|
BLAKE2b-256 checksum How to use checksums |
6ebafb1c0598c11963193eacc5859b8b1b6a93526afe16095442cef21c0140aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
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 Nov 30, 2026.
Transparency logSecurity for kazesynth 0.1.0a0
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
Both files in this release have been uploaded with provenance metadata.
Attestation for kazesynth-0.1.0a0.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 Nov 30, 2026.
Transparency logA 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.