Run a IPython interpreter in the LLM virtual environment
Project description
llm-jupyter
Run a IPython interpreter in the LLM virtual environment
Installation
Install this plugin in the same environment as LLM.
llm install llm-jupyter
Usage
This plugin adds a new ipython
command to LLM. This executes IPython in the same virtual environment as LLM itself.
You can use this to check the Python version
llm ipython --version
# Should output '8.20.0' or similar
Or to start a IPython shell. In that shell you can import llm
and use it to interact with models:
llm ipython
Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
git clone git@github.com:lucasrcezimbra/llm-jupyter.git
cd llm-jupyter
python3 -m venv .venv
source .venv/bin/activate
Now install the dependencies and test dependencies:
llm install -e '.[test]'
To run the tests:
pytest
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
llm_jupyter-0.0.1.tar.gz
(6.4 kB
view hashes)
Built Distribution
Close
Hashes for llm_jupyter-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8e9528be6929cb9f37e2b5cf5b797d67896b7bd8ed19b8c421114da06785e76 |
|
MD5 | fee5575943a61c020b156c97f0c1fdeb |
|
BLAKE2b-256 | 5716f759a1831a274272953fa2b2c062fe6a66d93f5d0b00e95947ac9996c842 |