Repository navigation
feat: add rp catalog for gpu and cpu pricing and stock - #637
Merged
Merged
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
Cloud-tier handling and repeated CUDA constraints can produce misleading catalog results.
3 open issues
What changed in this PR
Adds rp catalog for REST v2 hardware pricing and regional stock searches, supported by shared CLI utilities.
Changes:
- Adds GPU, CPU, data-center, and serverless pool searches.
- Introduces shared hardware resolution, API, and terminal-output helpers.
- Adds shell completion and automated tests.
| File | Description |
|---|---|
| tests/test_cli/test_compute.py | Tests hardware resolution and catalog requests. |
| tests/test_cli/test_cli_output.py | Tests rendering and interactive helpers. |
| tests/test_cli/test_cli_api.py | Tests pagination and error handling. |
| tests/test_cli/test_catalog_command.py | Tests catalog commands and completion. |
| runpod/rp_cli/output.py | Adds shared output and interaction helpers. |
| runpod/rp_cli/main.py | Registers catalog and shell completion commands. |
| runpod/rp_cli/compute.py | Adds catalog access and hardware resolution. |
| runpod/rp_cli/catalog.py | Implements catalog filtering and presentation. |
| runpod/rp_cli/api.py | Adds pagination and CLI error handling. |
Review effort: Balanced
deanq
reviewed
Oct 27, 2026
deanq
approved these changes
Oct 28, 2026
Promptless documentation updates
|
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.

Adds GPU and CPU pricing, regional stock, and serverless pool search through REST v2. Shared hardware resolution, REST access, and terminal output keep resource commands consistent.