Unofficial CLI and Python client for the Kaizoku.NET API
Project description
kaizoku-client
Unofficial CLI and Python client for the Kaizoku.NET API.
This project is not affiliated with, endorsed by, or maintained by the Kaizoku.NET project.
Naming
- PyPI package:
kaizoku-client - Import package:
kaizoku - CLI command:
kaizoku
Usage
Prerequisite: a running Kaizoku.NET server with its API reachable from your machine. The default
API base URL is http://127.0.0.1:9833.
Run without installing permanently:
uvx --from kaizoku-client kaizoku --help
Install as a persistent CLI tool:
uv tool install kaizoku-client
kaizoku --help
Other install options:
pipx install kaizoku-client
pip install kaizoku-client
Override the API endpoint with --url or KAIZOKU_URL.
KAIZOKU_URL=http://127.0.0.1:9833 kaizoku metrics
kaizoku --url http://127.0.0.1:9833 providers --table
kaizoku --version
CLI Examples
kaizoku --help
kaizoku metrics
kaizoku providers --table
kaizoku search-sources --table
kaizoku search "Absolute Regression" --languages en --table
kaizoku library --table
kaizoku downloads --status waiting --table
Destructive commands are guarded. retry, delete, and cleanup --yes mutate the Kaizoku.NET
server download queue; this CLI does not directly delete local files.
kaizoku delete "<download-id>" --yes
kaizoku cleanup --status completed
kaizoku cleanup --status completed --yes
cleanup is a dry run unless --yes is passed. Cleaning up running downloads requires
--force-running.
Python Client
from kaizoku import KaizokuClient
client = KaizokuClient()
print(client.metrics())
Pass a custom base URL explicitly:
from kaizoku import KaizokuClient
client = KaizokuClient("http://127.0.0.1:9833")
Development
uv run kaizoku --help
uv run --group dev ruff check .
uv run --group dev ruff format --check .
uv run --group dev mypy
uv run --group dev pytest
uv build
Release
Releases are published from GitHub Actions with trusted publishing.
Before running the release workflow, manually bump version in pyproject.toml, run uv lock,
update CHANGELOG.md, and commit those changes. The release workflow publishes exactly the version
already committed to pyproject.toml; it does not bump versions automatically.
The workflow fails if the version already exists as a git tag, GitHub Release, TestPyPI release, or PyPI release.
Configure these GitHub environments before the first release:
testpypipypi
Configure trusted publishers for .github/workflows/release.yml on both TestPyPI and PyPI.
The release workflow publishes to TestPyPI first, verifies an install with uvx, then publishes
the same artifacts to PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kaizoku_client-0.1.0.tar.gz.
File metadata
- Download URL: kaizoku_client-0.1.0.tar.gz
- Upload date:
- Size: 43.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.18 {"installer":{"name":"uv","version":"0.11.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
19f282be13df7bfd752a54713fe61dfdfcf5520c3400fe0e113a79c019694591
|
|
| MD5 |
af3023f3e8718301a788b06214fffeec
|
|
| BLAKE2b-256 |
18570423f95a8148ac59bf2a72d8d89318b4876850d80a42316657aad32cdeaf
|
File details
Details for the file kaizoku_client-0.1.0-py3-none-any.whl.
File metadata
- Download URL: kaizoku_client-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.18 {"installer":{"name":"uv","version":"0.11.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4acdfaf6c1618e476a9078cf7e704df27aebc3bdae05c310eeebde5d3e9c48b8
|
|
| MD5 |
ff83979bb50da18a48ac562ca4fe7e21
|
|
| BLAKE2b-256 |
f4b4d153658a93ef4259c38283dacf7a020f4827ae4e13d02a058f31553fea48
|