Skip to main content

kaizoku-client

CI PyPI Python Versions License: MIT

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:

  • testpypi
  • pypi

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.

Metadata

Release files for kaizoku-client 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kaizoku-client 0.1.0
File Size Uploaded Provenance Actions
kaizoku_client-0.1.0.tar.gz 43.2 kB Without provenance Details for kaizoku_client-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for kaizoku-client 0.1.0
File Interpreter ABI Platform Actions
kaizoku_client-0.1.0-py3-none-any.whl Python 3 none any Details for kaizoku_client-0.1.0-py3-none-any.whl

Total release size: 53.4 kB

Release files / kaizoku_client-0.1.0.tar.gz

Download URL kaizoku_client-0.1.0.tar.gz
Size 43.2 kB
Tags Source
SHA-256 checksum
How to use checksums
19f282be13df7bfd752a54713fe61dfdfcf5520c3400fe0e113a79c019694591
BLAKE2b-256 checksum
How to use checksums
18570423f95a8148ac59bf2a72d8d89318b4876850d80a42316657aad32cdeaf
Upload date
Uploaded using Trusted Publishing?
What is 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}

Release files / kaizoku_client-0.1.0-py3-none-any.whl

Download URL kaizoku_client-0.1.0-py3-none-any.whl
Size 10.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4acdfaf6c1618e476a9078cf7e704df27aebc3bdae05c310eeebde5d3e9c48b8
BLAKE2b-256 checksum
How to use checksums
f4b4d153658a93ef4259c38283dacf7a020f4827ae4e13d02a058f31553fea48
Upload date
Uploaded using Trusted Publishing?
What is 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}

Security for kaizoku-client 0.1.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page