Skip to main content

Run a IPython interpreter in the LLM virtual environment

Project description

llm-jupyter

PyPI Changelog Tests License

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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

llm_jupyter-0.0.1-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file llm_jupyter-0.0.1.tar.gz.

File metadata

  • Download URL: llm_jupyter-0.0.1.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for llm_jupyter-0.0.1.tar.gz
Algorithm Hash digest
SHA256 14cd67e15ff62b62666268deefc291a5be37c2eca5028f17f736ec6cabac7b71
MD5 1ede87a7e2323a5bb3b0b40e6f9955e5
BLAKE2b-256 3b7798e6232744688233a4e1951e5935af0ec316143b4acc71252d83c5b39093

See more details on using hashes here.

File details

Details for the file llm_jupyter-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: llm_jupyter-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for llm_jupyter-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b8e9528be6929cb9f37e2b5cf5b797d67896b7bd8ed19b8c421114da06785e76
MD5 fee5575943a61c020b156c97f0c1fdeb
BLAKE2b-256 5716f759a1831a274272953fa2b2c062fe6a66d93f5d0b00e95947ac9996c842

See more details on using hashes here.

Supported by

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