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
python -m venv .venv
source .venv/bin/activate
pip install -e .[test]

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.2.tar.gz (6.5 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.2-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: llm_jupyter-0.0.2.tar.gz
  • Upload date:
  • Size: 6.5 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.2.tar.gz
Algorithm Hash digest
SHA256 b34ba266a9340eca44fd773388449c058b8a2bd86a26242a38f456e7a88b9efa
MD5 79d97c35948314a1ee4e4de3f1770f9b
BLAKE2b-256 2042273a66c04c674ead0e36b3ee25e76ee38bf2ee681d4dc49ae7de7a7956c1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: llm_jupyter-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 6.7 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ad0873c63808969b975ed8d98b88de6f3cb308f1200d67071496290dc1517e16
MD5 a2785ed66c58f6c1eabb4e26f321cd48
BLAKE2b-256 122ab8a1c89f9a9ef2a5c3d6d7bc79e432e136bbf1ab38b8a2bdbdaded2d230b

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