/code-genie

convert text descriptions into python callable

Primary LanguagePythonMIT LicenseMIT

code-genie

This library is your copilot for jupyter notebooks

Latest version: 0.4.0

Documentation

Installation

pip install code_genie

Access Token

You need your unique access token to use this library. You can get your access token by signing up here here

Usage

Setting environment variables

On the top of your notebook, set an environment variable called CODE_GENIE_TOKEN as your access token. This can be done in a couple of ways:

Using env magic

%env CODE_GENIE_TOKEN=xxxkeyxxx

Using dotenv

You can use the python-dotenv package.

from dotenv import load_dotenv
load_dotenv("path-to-.env-file")