Skip to main content

KubeWhisper

License Python Versions

KubeWhisper is a CLI tool designed to generate kubectl commands from natural language queries, providing an efficient way to manage Kubernetes resources.

Table of Contents

Installation

Install KubeWhisper via pip:

pip install kubewhisper

This will make the kubewhisper command available globally.

Setup

To use KubeWhisper, you’ll need an API token for authentication. Follow these steps to set it up:

  1. Register: Start by registering with your email and password.

    kubewhisper --register <email> <password>
    

    Check your email for a verification code.

  2. Verify: Use the verification code sent to your email to complete the registration.

    kubewhisper --verify <email> <code>
    
  3. Authenticate: After verification, authenticate with your credentials.

    kubewhisper --login <email> <password>
    

Once authenticated, your credentials will be securely stored for future use.

Usage

Query Commands

To generate a kubectl command, simply provide your query as an argument:

kubewhisper "create a pod called my-pod"

This will return the suggested kubectl command based on your query.

Auto-complete Execution

To directly execute the generated kubectl command, use the -a or --auto-complete flag:

kubewhisper "list all pods in dev namespace" --auto-complete

If the query is valid, the command will be automatically executed.

History

Retrieve a history of past queries and responses:

kubewhisper --history

Features

  • Natural Language Queries: Generate Kubernetes commands using everyday language.
  • Authentication: Register and authenticate with the KubeWhisper API for secure access.
  • Auto-complete: Option to auto-complete and execute suggested commands.
  • Query History: View past queries and responses.

Licensing and API Access

KubeWhisper CLI is open-source software licensed under the AGPL-3.0 license. This license allows you to freely use, modify, and distribute the CLI, but it requires that any modifications or public hosting of the CLI also follow the AGPL-3.0 terms.

API Access: Access to the KubeWhisper API is available through a paid subscription. By using the API, you agree to our API Terms of Service. For more information on subscription plans, visit API Pricing.

Contributing

We welcome contributions! To contribute:

  1. Fork the repository.
  2. Create a feature branch.
  3. Commit your changes.
  4. Open a pull request.

License

This project is licensed under the GNU Affero General Public License v3.0 - see the LICENSE file for details.

Metadata

Release files for kubewhisper 2.0.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 kubewhisper 2.0.0
File Size Uploaded
kubewhisper-2.0.0.tar.gz 24.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for kubewhisper 2.0.0
File Interpreter ABI Platform
kubewhisper-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 48.3 kB

Release files / kubewhisper-2.0.0.tar.gz

Download URL kubewhisper-2.0.0.tar.gz
Size 24.7 kB
Tags Source
SHA-256 checksum
How to use checksums
842667b1dc2398275b753d99f3d4323a2030a53be22cc998c31b298fc796691a
BLAKE2b-256 checksum
How to use checksums
5736ca5a288f19fd0679199dd2501ca4a6c063b6199ba5e6840bf76b1737a592
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.13

Release files / kubewhisper-2.0.0-py3-none-any.whl

Download URL kubewhisper-2.0.0-py3-none-any.whl
Size 23.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2750cfcc698073180f0fdb9dd3598690cda44e14d671b16475a3d717bd279e6a
BLAKE2b-256 checksum
How to use checksums
7d949bfd55c7b2a5ab6295f386ceb12f20200ddee1132a510c38e0a92796799b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.13

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files

1.0.7

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

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