Skip to main content

Python library to help with AI usage in wordslab-notebooks

Project description

wordslab-notebooks-lib

Introduction

wordslab-notebooks-lib is a companion library for wordslab-notebooks.

wordslab-notebooks is a one click install of all the tools you need to learn, explore and build AI applications on your own machine. - Recent and compatible versions of the best open source tools - Optimized work environment to save disk space and memory - Options to leverage your own machines at home or to rent more powerful machines in the cloud - Documentation to guide you in your AI learning and exploration journey

3 main applications - A rich chat interface (text, images, voice) : Open WebUI - A notebooks platform (text & code) : JupyterJab + Jupyter AI extension - A development environment (code) : Visual Studio Code + Continue.dev extension + Aider terminal agent

Fully integrated AI environment with - A visual dashboard to help you navigate all applications and manage your machine resources - Optimized inference engines to run AI models : Ollama + vLLM

wordslab-notebooks-lib is meant to be used in Jupyterlab notebooks or python programs running inside the wordslab-notebooks environment.

It provides many helper functions to easily access and use all the applications and resources of the environment.

Getting started

Installation

$ pip install wordslab_notebooks_lib

Documentation

Please read the documentation to discover all the features of the library:

https://wordslab-org.github.io/wordslab-notebooks-lib/

First steps

The WordslabNotebooks class is the main entrypoint to discover all wordslab-notebooks resources.

from wordslab_notebooks_lib.core import *

wlnb = WordslabNotebooks()

wordslab-notebooks version

wlnb.version
'2025-11'

wordslab-notebooks external urls

wlnb.url_dashboard
'http://192.168.1.197:8888'
wlnb.url_userapp1
'https://192.168.1.197:8883'

wordslab-notebooks internal ports

wlnb.port_ollama
11434
wlnb.port_userapp1
'8883'

wordslab-notebooks install directories

wlnb.dir_scripts
'/home/wordslab-notebooks-2025-11'
wlnb.dir_workspace
'/home/workspace'

wordslab-notebooks applications data directories

wlnb.dir_openwebui_data
'/home/workspace/.openwebui'
wlnb.dir_jupyterlab_data
'/home/workspace/.jupyter'

wordslab-notebooks models directories

wlnb.dir_models_ollama
'/home/models/ollama'
wlnb.dir_models_vllm
'/home/models/huggingface'

wordslab-notebooks default models

wlnb.default_model_chat
'gemma3:27b'
wlnb.default_model_code
'qwen3:30b'

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

wordslab_notebooks_lib-0.0.12.tar.gz (38.8 kB view details)

Uploaded Source

File details

Details for the file wordslab_notebooks_lib-0.0.12.tar.gz.

File metadata

  • Download URL: wordslab_notebooks_lib-0.0.12.tar.gz
  • Upload date:
  • Size: 38.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for wordslab_notebooks_lib-0.0.12.tar.gz
Algorithm Hash digest
SHA256 f47dbd8cef116740c75fae1fc5ba2b1899399e27cbaefa7b9c2394932287f1db
MD5 6613184382658d30665e94d249578fc3
BLAKE2b-256 3d186d3e8ea6c76ffd5d330d679a75bf41651b76cd165cb69285a3298991e0f8

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