feat(kaggle-client): add kaggle-bench CLI entry point#98
Open
gastondana627 wants to merge 6 commits intoKaggle:cifrom
Open
feat(kaggle-client): add kaggle-bench CLI entry point#98gastondana627 wants to merge 6 commits intoKaggle:cifrom
gastondana627 wants to merge 6 commits intoKaggle:cifrom
Conversation
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.
Collaborator
|
@gastondana627 Thanks for the contribution! We will most likely implement the command line in Also we will update the Python SDK here because we are implementing some enhanced new web tier for benchmarks. Please stay tuned. |
Author
Nice sounds good, I'll review the cli later, and nice you got to love python. I'll be sure to stay tuned. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a
kaggle-benchCLI entry point that wraps theBenchmarkNotebookClientSDK 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 withrunandforksubcommandspyproject.toml— registerskaggle-benchas an installable scripttests/kaggle_client/test_cli.py— 5 unit tests covering argument parsing and correct delegation toBenchmarkNotebookClientNotes
BenchmarkNotebookClient) being merged firstnotebook_api.py