Skip to main content

A utility package that fills functionality gaps in the Colab extension for VS Code. It provides helper functions for tasks not natively supported, including simplified Kaggle authentication, direct file uploads from Colab to Kaggle, and downloading small files from a Colab runtime to the local VS Code environment.

Project description

Colab-VsCode-Bridge

A Python package to complete functionalities missing from the VS Code Colab extension.

Overview

This package fills the gaps in VS Code's Colab extension by providing:

  • Upload files from localhost to Colab kernel
  • Download smaller files from Colab kernel to local PC
  • Authenticate to Kaggle
  • Upload from kernel to Kaggle datasets

Features

  • Upload local files to Colab kernel while connected via VS Code
  • Download files from Colab kernel to local machine
  • Kaggle authentication integration
  • Upload datasets from Colab to Kaggle
  • Control dataset visibility (public/private)

Installation

pip install colab-vscode-bridge

Quick Start

from colab_vscode_bridge import upload_to_colab, download_from_colab, authenticate_kaggle, upload_to_kaggle

# Upload local file to Colab
upload_to_colab(destination_folder='/content/data.csv')

# Download from Colab to local
ColabFileDownloader("data/my_plot.png")

# Authenticate Kaggle
authenticate_kaggle()

# Upload to Kaggle
upload_to_kaggle(
    file_path=file_path,
    dataset_slug="kaggle-dataset-slug",
    dataset_title="kaggle-dataset-title",
    public=False,
)

Requirements

  • Python >= 3.8
  • VS Code with Colab extension
  • Active connection to Colab kernel in VS Code
  • Kaggle API credentials (for Kaggle features)

Usage

Upload Files to Colab

(Coming soon - detailed usage instructions)

Download Files from Colab

(Coming soon - detailed usage instructions)

Kaggle Authentication

(Coming soon - detailed usage instructions)

Upload to Kaggle

(Coming soon - detailed usage instructions)

Roadmap

  • Upload files from localhost to Colab kernel
  • Download files from Colab kernel to local PC
  • Kaggle authentication
  • Upload from kernel to Kaggle
  • Batch file operations
  • HuggingFace integration
  • Google Drive support
  • Compression for large files

Contributing

This is an early-stage project. Bug reports and feature requests are welcome via GitHub issues.

License

MIT License

Author

ranidzkellou


Note : This is v0.1.0 - early release bridging VS Code Colab extension gaps.

Project details


Download files

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

Source Distribution

colab_vscode_bridge-0.1.0.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

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

colab_vscode_bridge-0.1.0-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file colab_vscode_bridge-0.1.0.tar.gz.

File metadata

  • Download URL: colab_vscode_bridge-0.1.0.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.13.9 Windows/11

File hashes

Hashes for colab_vscode_bridge-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4fe18c931e81c2c7fd06a37d4d0717d5c74d714fd13443e3c4a0cfd05c10a45a
MD5 9f2e631a1e3e6e87ce1fa5c096a55a8f
BLAKE2b-256 a81f2a3af2ef40e5ca63ca4ebaa89cf1d2d7874c96431198eca0c2e35966375d

See more details on using hashes here.

File details

Details for the file colab_vscode_bridge-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for colab_vscode_bridge-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 194c8a945880840e86b316070559f9ce1bf88e1cd5216cbf698e3ed3b2f9e181
MD5 b268905d377ef3b2e2146879718487fa
BLAKE2b-256 2dff88099ea601b0d93402bde60e70272e97789cac603ea306de83042ac7951f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page