GithubHelp home page GithubHelp logo

classicvalues / jupyterlab-kite Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kiteco/jupyterlab-kite

1.0 1.0 0.0 4.22 MB

Kite Autocomplete Extension for JupyterLab

License: Other

R 0.02% CSS 1.58% JavaScript 0.94% Python 13.22% Shell 0.06% TypeScript 73.41% Jupyter Notebook 10.78%

jupyterlab-kite's Introduction

Kite Autocomplete Extension for JupyterLab

Kite is an AI-powered programming assistant that helps you write Python code inside JupyterLab. Kite helps you write code faster by saving you keystrokes and showing you the right information at the right time. Learn more about how Kite boosts your JupyterLab editor's capabilities at https://kite.com/integrations/jupyter/.

At a high level, Kite provides you with:

  • 🧠 Line-of-Code Completions powered by machine learning models trained on the entire open source code universe
  • πŸ” Instant documentation for the symbol underneath your cursor so you save time searching for Python docs

Requirements

  • JupyterLab >=2.2.0,<4.0.0a0
  • Kite Engine
  • Python 3.6+ with pip

Use another editor? Check out Kite’s other editor integrations.

Installation

Installing the Kite Engine

The Kite Engine needs to be installed in order for the extension to work properly. The extension itself provides the frontend that interfaces with the Kite Engine, which performs all the code analysis and machine learning 100% locally on your computer (no code is sent to a cloud server).

macOS Instructions

  1. Download the installer and open the downloaded .dmg file.
  2. Drag the Kite icon into the Applications folder.
  3. Run Kite.app to start the Kite Engine.

Windows Instructions

  1. Download the installer and run the downloaded .exe file.
  2. The installer should run the Kite Engine automatically after installation is complete.

Linux Instructions

  1. Run bash -c "$(wget -q -O - https://linux.kite.com/dls/linux/current)" from the terminal.
  2. The installer should run the Kite Engine automatically after installation is complete.

Installing the Kite Extension for JupyterLab

If you're using JupyterLab 3.0.x, simply run:

pip install "jupyterlab-kite>=2.0.2"

If you're using JupyterLab 2.2.x, run:

pip install "jupyter-kite<2.0.0"
jupyter labextension install "@kiteco/jupyterlab-kite"

⚠️ JupyterLab 2.2.x requires NodeJS to be installed

Learn more about why you should use Kite with JupyterLab.

Usage

The following is a brief guide to using Kite in its default configuration.

Tutorial

When starting JupyterLab with the Kite Assistant for the first time, you'll be guided through a tutorial that shows you how to use Kite.

tutorial

This tutorial will only be displayed once. You can show it again at any time by running the command Kite: Tutorial from JupyterLab's command palette.

Autocompletions

Simply start typing in a saved Python file or Jupyter notebook and Kite will automatically suggest completions for what you're typing. Kite's autocompletions are all labeled with the πŸͺ symbol.

completions

Completion documentation

Kite's completions come with documentation to help you remember how each completion works.

Completion docs

Instant Documentation

Kite can show you documentation for the symbols in your code in the separate Copilot application.

To do so, open Kite's Copilot (visit the URL kite://home in your browser), ensure that the button labeled "Click for docs to follow cursor" in the upper right corner is enabled, and then simply position your cursor over a symbol.

Copilot

Commands

Kite comes with several commands that you can run from JupyterLab's command palette.

commands

Command Description
Kite: Open Copilot Open the Copilot
Kite: Engine Settings Open the settings for the Kite Engine
Kite: Tutorial Open the Kite tutorial file
Kite: Help Open Kite's help website in the browser
Kite: Toggle Docs Panel Toggle the docs panel

Troubleshooting

Visit our help docs for FAQs and troubleshooting support.

Happy coding!


About Kite

Kite is built by a team in San Francisco devoted to making programming easier and more enjoyable for all. Follow Kite on Twitter and get the latest news and programming tips on the Kite Blog. Kite has been featured in Wired, VentureBeat, The Next Web, and TechCrunch.

jupyterlab-kite's People

Contributors

andaag avatar bollwyvl avatar classicvalues avatar dependabot[bot] avatar edzkite avatar krassowski avatar mend-bolt-for-github[bot] avatar metalogical avatar plungg avatar ryantberg avatar tonycheang avatar yunair avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.