Kaggle multi-account manager — switch between Kaggle accounts with one command.
Project description
kagitch add · kagitch switch · kagitch check
Install
pip install git+https://github.com/TQuang122/Kagitch.git
kagitch init # interactive setup wizard (one time)
Requires
pip install kaggleand Python 3.8+.Windows / PowerShell:
kagitch initdetects$PROFILEfor both PowerShell 5.1 and 7+. Runkagitch init -rto print a. $PROFILEreload command (noos.execv()on Windows).
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:
~/.config/kagitch/accounts.json
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kagitch-1.4.0.tar.gz.
File metadata
- Download URL: kagitch-1.4.0.tar.gz
- Upload date:
- Size: 92.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
93edcc58f967fea4f8ceb13a0d1baa059ccf4a87886e307eb517fb94194882f7
|
|
| MD5 |
cc53ae685981e8981bccf02eb8990e43
|
|
| BLAKE2b-256 |
4ed84f7e471cf13f056a0a52d0af10425d91bfba1e9a24cbcbbd7e304f098b7b
|
File details
Details for the file kagitch-1.4.0-py3-none-any.whl.
File metadata
- Download URL: kagitch-1.4.0-py3-none-any.whl
- Upload date:
- Size: 54.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fbbc350c8ac5fce345e59d9233f09c91396ea226f9ff0193f4be733905b32fe6
|
|
| MD5 |
e46077981c9711fee14c0593a0f0b417
|
|
| BLAKE2b-256 |
b676be3a6eb813f03f2fecbf283e52fe0ee4de6f7d142faee94e10e297e9512d
|