Skip to main content

Local models management utility

Project description

lazyllama

Local models management utility - discovers and lists models from HuggingFace, Ollama, and LM Studio.

alt text

Installation

pip install lazyllama

Usage

CLI Commands

Basic Usage

# Default simple overview
lazyllama

# Different display modes
lazyllama --mode simple     # Compact overview (default)
lazyllama --mode detailed   # Show filenames and comprehensive info
lazyllama --mode tree       # Hierarchical tree view

# Output only specific information
lazyllama --dirs            # Print model directories only
lazyllama --list            # Tab-separated list (name, source, size, path)
lazyllama --summary         # Show only summary statistics
lazyllama --json            # Output raw scanned data as JSON
lazyllama --raw             # Output raw scanned data in plain format

Custom Directories

# Include a custom scan directory for the current command
lazyllama --add-dir lmstudio /path/to/custom/models
lazyllama --add-dir huggingface /custom/hf/cache

Raw Data Output

# JSON format - structured data for programmatic use
lazyllama --json > models.json

# Plain text format - human-readable raw data
lazyllama --raw > models.txt

The --json flag outputs complete model information in structured JSON format including:

  • Model metadata (name, source, size, file count, etc.)
  • File details (path, size, format, type, quantization, etc.)
  • Timestamps and cache information
  • All discovered model attributes

The --raw flag outputs the same comprehensive data in a plain text format that's easier to read and parse manually.

Complete Command Reference

lazyllama [OPTIONS]

Options:
  -h, --help                Show help message
  -m, --mode MODE           Display mode: simple, detailed, tree (default: simple)
  --add-dir CACHE DIR       Add custom directory to model cache
  --dirs                    Print model directories only
  --list                    Tab-separated list output
  --summary                 Show only summary statistics
  --json                    Output raw scanned data as JSON
  --raw                     Output raw scanned data in plain format
  --debug                   Show debug info (cache dirs, scan timing)

Examples:
  lazyllama                              # Simple overview
  lazyllama --mode detailed              # Detailed view with filenames
  lazyllama --mode tree                  # Full hierarchical tree
  lazyllama --summary                    # Summary statistics only
  lazyllama --json                       # Raw data as JSON
  lazyllama --raw                        # Raw data in plain format
  lazyllama --debug                      # Debug info only
  lazyllama --debug --list               # Debug + parsable output
  lazyllama --add-dir lmstudio /my/path  # Add custom directory

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

lazyllama-0.14.2.tar.gz (20.1 kB view details)

Uploaded Source

Built Distribution

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

lazyllama-0.14.2-py3-none-any.whl (28.3 kB view details)

Uploaded Python 3

File details

Details for the file lazyllama-0.14.2.tar.gz.

File metadata

  • Download URL: lazyllama-0.14.2.tar.gz
  • Upload date:
  • Size: 20.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for lazyllama-0.14.2.tar.gz
Algorithm Hash digest
SHA256 634f83c9e8286f835fbfb69e8ed2983859f1387dc56fc9c0131229438d66ea21
MD5 7fec00e344ce849084219b484953a1fb
BLAKE2b-256 af488411bb0892f9feeac51a195b0f7d35eb8d94554e15b0b1c9491312d6f7d4

See more details on using hashes here.

File details

Details for the file lazyllama-0.14.2-py3-none-any.whl.

File metadata

  • Download URL: lazyllama-0.14.2-py3-none-any.whl
  • Upload date:
  • Size: 28.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for lazyllama-0.14.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0a3afb4cda3c367a45a9342598de09805a45ea7c60d073932748c7ff3be5b0ae
MD5 e90f73e1761cb137e3d1339f480450fb
BLAKE2b-256 e4242a88fbf285a1765b4ee3d124624521345e770c1d4914b63ded09ab97c3df

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