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 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

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.1.tar.gz (101.5 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.1-py3-none-any.whl (57.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kagitch-1.5.1.tar.gz
  • Upload date:
  • Size: 101.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for kagitch-1.5.1.tar.gz
Algorithm Hash digest
SHA256 68899ed4aee284678a567b54280dcf606aab7ff829e486a08c50eea3f2e33ddf
MD5 be6cad9b08036abe7e5b84c3f8b1deb1
BLAKE2b-256 5d6400a1f34b0fc2c91de4576371b4dd5b862679029f3f615e9fac77fed6b477

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kagitch-1.5.1-py3-none-any.whl
  • Upload date:
  • Size: 57.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for kagitch-1.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8bd73f8dfffbffaa116605c2adbf9a527a34582d1b3e4e9c8242acbff66f00b2
MD5 66f3a5e43745321a35aac01da5c931b0
BLAKE2b-256 964d60558094b35561cebcb69b213b231907bfb8da0bcd3a38cbaf510d14f265

See more details on using hashes here.

Release history Release notifications | RSS feed

1.5.3

2 files

1.5.2

2 files

This release

1.5.1 This release

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