Skip to main content

Kagitch — switch Kaggle accounts and keep your flow

kagitch add · kagitch switch · kagitch check


Install

pip install kagitch
kagitch init        # interactive setup wizard (one time)

Requires pip install kaggle and Python 3.8+.

Windows / PowerShell: kagitch init detects $PROFILE for both PowerShell 5.1 and 7+. Run kagitch init -r to print a . $PROFILE reload command.

Config path: %APPDATA%\kagitch\accounts.json on Windows, ~/.config/kagitch/accounts.json on Linux/macOS.


Quick start

kagitch add work      # OAuth login — opens browser
kagitch add personal  # or: kagitch add personal ~/kaggle.json (legacy key)
kagitch 2             # switch to account 2
kagitch check         # check quota for all accounts
kaggle quota          # kaggle CLI follows the switched account
kaggle push kernels -p . # push current folder as a Kaggle kernel
$ kagitch

╭─────────────────── Dashboard ───────────────────╮
│   Active  #1 account1                           │
│                                                 │
│   Run kagitch switch to choose another account. │
╰─────────────────────────────────────────────────╯
┏━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┓
┃   # ┃ Name         ┃  Auth    ┃ Path                         ┃ Status   ┃
┡━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━┩
│   1 │ account1     │   OAuth  │  ~/.kaggle-account1          │ ● active │
│   2 │ account2     │   OAuth  │  ~/.kaggle-account2          │          │
│   3 │ account3     │   OAuth  │  ~/.kaggle-account3          │          │
└─────┴──────────────┴──────────┴──────────────────────────────┴──────────┘

Commands

Command Aliases What it does
kagitch Show dashboard + active account
kagitch list ls List accounts
kagitch <N|name> Switch to account
kagitch switch [N|name] Prompt or switch to account
kagitch current cur, . Show active account
kagitch add <name> login Add account via OAuth
kagitch add <name> <file> Add account via legacy API key
kagitch remove <N|name> rm Remove an account (deletes credentials)
kagitch rename <N> <name> Rename an account
kagitch patch [path] Patch kernel-metadata.json id
kagitch kernel init Create kernel-metadata.json interactively
kagitch kernel logs [kernel] Stream kernel logs (interactive browse, follow)
kagitch kernel output [owner/slug] Download kernel outputs (interactive tree picker, or -a for all)
kagitch check Check quota & auth for all accounts
kagitch doctor System diagnostics
kagitch update Pull latest version from git
kagitch init Interactive setup wizard (7 steps)
kagitch init -r Print shell reload command
kagitch completions <sh> Print shell completion script
kagitch help -h, --help Show help
kagitch version -v, --version Show version

Kernel commands

kagitch kernel init                      # create kernel-metadata.json interactively
kagitch kernel logs <owner/slug>         # stream kernel logs (no ref = interactive browse)
kagitch kernel output <owner/slug>       # download outputs: pick files on the tree
kagitch kernel output <owner/slug> -a    # download every output file
kagitch kernel output <owner/slug> -p out -f   # target dir + overwrite existing

kagitch kernel output shows the kernel's output structure as an interactive tree with per-file sizes, lets you pick individual files or whole directories (space toggles, a selects/deselects all, arrow keys navigate), streams downloads with a live progress bar, and finishes with a summary card. The kernel picker supports type-to-filter and color-coded statuses. Requires kaggle>=2.2.4 (bundles kagglesdk>=0.1.33).


How it works

Each account lives in ~/.kaggle-<name>/.

The shell wrapper sets KAGGLE_CONFIG_DIR when you switch.

Config stored at:

  • Windows: %APPDATA%\kagitch\accounts.json
  • Linux/macOS: ~/.config/kagitch/accounts.json

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kagitch-1.5.3.tar.gz (129.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kagitch-1.5.3-py3-none-any.whl (67.4 kB view details)

Uploaded Python 3

File details

Details for the file kagitch-1.5.3.tar.gz.

File metadata

  • Download URL: kagitch-1.5.3.tar.gz
  • Upload date:
  • Size: 129.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for kagitch-1.5.3.tar.gz
Algorithm Hash digest
SHA256 1c0c9a21939c385e656f41d125e29d44c3dcea0686506e31447bd91349eef350
MD5 f4413164c82db1b62962a2095659482f
BLAKE2b-256 bc29df9271069f3258980c5df215f1cba48d19ea86ee5a4afb9bbde3e5ba4172

See more details on using hashes here.

File details

Details for the file kagitch-1.5.3-py3-none-any.whl.

File metadata

  • Download URL: kagitch-1.5.3-py3-none-any.whl
  • Upload date:
  • Size: 67.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for kagitch-1.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1ec4444a0586996eb2911c97e35832606f6ac6a4f944cc7116e0df921e90ecea
MD5 c1a9445c634495d9f69491222ecb0ef2
BLAKE2b-256 1874f3a25c8f1d6ca9e33a6d7635ce943192270a03bd6f00810c305ed3c3a3b1

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.5.3 This release

2 files

1.5.2

2 files

1.5.1

2 files

1.4.1

2 files

1.4.0

2 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