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.1.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.1-py3-none-any.whl (28.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lazyllama-0.14.1.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.1.tar.gz
Algorithm Hash digest
SHA256 d670adfd7b60c927a5bd1650c7c7a355a81944f0ee57aa60e41335bb05f250e8
MD5 d3dbccd84479b6fdf21ad417b2e6ea61
BLAKE2b-256 ed2f0c2d476312170d2bc3782920b2c30a83e8b4630ba7b72119087961e45be5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lazyllama-0.14.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 30986a0b1a82bf7230a34b94c0647e896f014ae9b5c1451ced958308c9761e86
MD5 a7784c27b86b380321eb900131b76c4e
BLAKE2b-256 766a4a252355c7f8eb1a2d120a84d33637c8addfabe8a73654fc834557b990b7

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