Skip to main content

A ChatGPT front-end for Jupyter notebooks (Copilot for Jupyter notebooks).

Project description

# Copilot, for your Jupyter Notebook

%plz is a Jupyter magic command that generates programs from human-readable descriptions in Jupyter notebooks.

https://user-images.githubusercontent.com/11509740/210084133-61f2cb2d-9968-4b01-8a67-85fcb92eb312.mov

## Installation

You can install plz in your Python virtual environment by running the following command in your terminal:

`bash pip install plz `

## Usage

plz uses [GPT-3](https://beta.openai.com/). To use it, you’ll need to:

`bash export OPENAI_API_KEY='sk-XXXXXXXX' `

Once you have configured your environment, run plz followed by (optionally, the desired output format) and what you want to do. Example:

`bash %plz "create a function that generates a random walk in the form of an array." `

Or markdown guides:

`bash %plz --markdown "Provide a step-by-step guide on how to identify anomalies in a list of numbers." `

## Credit

This tool is inspired by [plz-cli](https://github.com/m1guelpf/plz-cli) (designed for the command line).

## License

This project is open-sourced under the MIT license. See [the License file](LICENSE) for more information.

History

0.1.0 (2022-12-30)

  • First release on PyPI.

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

jupyter_plz-0.1.1.tar.gz (11.8 kB view hashes)

Uploaded Source

Supported by

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