Skip to content

feat(kaggle-client): add kaggle-bench CLI entry point#98

Open
gastondana627 wants to merge 6 commits intoKaggle:cifrom
gastondana627:feat/kaggle-bench-cli
Open

feat(kaggle-client): add kaggle-bench CLI entry point#98
gastondana627 wants to merge 6 commits intoKaggle:cifrom
gastondana627:feat/kaggle-bench-cli

Conversation

@gastondana627
Copy link
Copy Markdown

Summary

Adds a kaggle-bench CLI entry point that wraps the BenchmarkNotebookClient
SDK introduced in PR #90, allowing users to publish and retrieve benchmark
notebooks directly from the terminal without writing Python boilerplate.

This addresses the open discussion in PR #90 / the broader request to integrate
benchmark management into a CLI tool.

New Commands

Run a benchmark:

Fork an existing benchmark for local editing:

Changes

  • src/kaggle_benchmarks/kaggle_client/cli.py — CLI entry point with run and fork subcommands
  • pyproject.toml — registers kaggle-bench as an installable script
  • tests/kaggle_client/test_cli.py — 5 unit tests covering argument parsing and correct delegation to BenchmarkNotebookClient

Notes

dolaameng and others added 6 commits March 24, 2026 17:14
Adds a kaggle-bench CLI with two subcommands:
- run: publish and run a local benchmark script on Kaggle
- fork: pull an existing Kaggle benchmark notebook for local editing

Extends the BenchmarkNotebookClient SDK from PR Kaggle#90 with a
command-line interface so users can trigger benchmark runs
directly from the terminal without writing Python boilerplate.

Tests: 5 new unit tests covering help output, argument
parsing, and correct delegation to BenchmarkNotebookClient.
@dolaameng
Copy link
Copy Markdown
Collaborator

@gastondana627 Thanks for the contribution! We will most likely implement the command line in kaggle-cli like this.

Also we will update the Python SDK here because we are implementing some enhanced new web tier for benchmarks. Please stay tuned.

@gastondana627
Copy link
Copy Markdown
Author

@gastondana627 Thanks for the contribution! We will most likely implement the command line in kaggle-cli like this.

Also we will update the Python SDK here because we are implementing some enhanced new web tier for benchmarks. Please stay tuned.

Nice sounds good, I'll review the cli later, and nice you got to love python. I'll be sure to stay tuned.
Thx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants