Library User Guide

This guide provides information on how to use fastsandpm to manage RTL and design verification library dependencies.

Installation

To install fastsandpm, use uv:

uv add fastsandpm

Or with pip:

pip install fastsandpm

Command Line Interface

FastSandPM provides the fspm command for quick dependency management:

# Install dependencies from proj.toml
fspm

# Install to a custom directory
fspm --output ./vendor

# Install with optional dependencies
fspm --optional dev,test

See Command Line Interface for the complete CLI reference.

Python API

For programmatic usage, fastsandpm provides a Python API:

import pathlib
import fastsandpm

# Load a manifest
manifest = fastsandpm.get_manifest("./my-project")

# Resolve dependencies
resolved = fastsandpm.dependencies.resolve(manifest)

# Build the library
fastsandpm.build_library(resolved, pathlib.Path("lib"))