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.
## 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:
Activate billing on your OpenAI [account](https://beta.openai.com/account/billing/overview).
Grab an API key from [your dashboard](https://beta.openai.com/).
Provide the API key to the jupyter_plz package upon request inside your notebook.
Once you have configured your environment, you can run the plz magic command in your notebook. 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
Built Distribution
File details
Details for the file jupyter_plz-0.1.6.tar.gz
.
File metadata
- Download URL: jupyter_plz-0.1.6.tar.gz
- Upload date:
- Size: 11.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1117086d48837c744fd38f1fb8d3306f4f1c7c54bad41be7573ab0a5b9a72195 |
|
MD5 | 35aedbe4e3a81458bdf5aa7c98d332e0 |
|
BLAKE2b-256 | faae70f9b0e280b7520db0f71f0d699abf42043a505280596000e92c1f77d882 |
File details
Details for the file jupyter_plz-0.1.6-py2.py3-none-any.whl
.
File metadata
- Download URL: jupyter_plz-0.1.6-py2.py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a74973ba53624466d8d28fb7332bf45331fc5acb785ecdd57652cd874c05b9fa |
|
MD5 | 142989ca4edb5d8aa780ed1abc2f9934 |
|
BLAKE2b-256 | d1f9e00c5443906e1213f6a882bec0a8e94da2a24ed204503d0500928c587213 |