npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

jupyterlab-codeium

v0.1.1

Published

A JupyterLab extension to get AI code completions with Codeium

Downloads

51

Readme

jupyterlab-codeium

Github Actions Status lite-badge

JupyterLab extension to get AI code completions with Codeium.

https://github.com/jtpio/jupyterlab-codeium/assets/591645/7ec0a6fa-9c51-49a8-89b4-77b431f4bda9

[!WARNING] This extension is still very much experimental. It is not an official Codeium extension.

✨ Try it in your browser ✨

  1. Follow the instructions in the Usage section to get your API key.
  2. Open https://jtpio.github.io/jupyterlab-codeium in your browser

Requirements

  • JupyterLab >= 4.1.0

[!NOTE] This extension is also compatible with JupyterLite >= 0.3.0

Install

To install the extension, execute:

pip install jupyterlab-codeium

Usage

[!WARNING] Setting up the extension requires a Codeium API key. This part might still be challenging as retrieving the key requires a few manual steps at the moment. This might later be improved by providing a better auth flow.

  1. Go to the Codeium website and sign up for an account: https://codeium.com/
  2. Install the browser extension: https://codeium.com/chrome_tutorial
  3. Open the settings for the chrome extension and click on "Get Token"

Get Token

  1. Right click on the extension window and select "Inspect" to open the dev tools for the extension. Then click on "Network"
  2. Copy the token and paste it the input area, and then press "Enter Token"
  3. This should log a new API request in the network tab. Click on "Preview" to get the API key.

Enter Token

  1. Go to the settings to paste the API key:

Settings

  1. You should now be able to use the extension. Open a Python file and start typing to see the completions.

Completions

Contributing

Packaging and releasing the extension

See RELEASE

Credits

Many thanks to the codemirror-codeium project for the inspiration and the initial implementation of the Codeium integration with CodeMirror 6: https://github.com/val-town/codemirror-codeium

The protobuf files were copied from that repo and reused as is in this project.