Skip to content

Installation

Requirements

  • Python 3.10 or higher
  • uv (recommended) or pip

Install from PyPI

pip install lcra

Or using uv:

uv pip install lcra

Install as a CLI Tool

To install as a standalone CLI tool (recommended for command-line usage):

uv tool install lcra

This installs the lcra command globally without affecting your project's dependencies.

Install from Source

  1. Clone the repository:
git clone https://github.com/lancereinsmith/lcra.git
cd lcra
  1. Install dependencies:

Using uv:

uv sync

Using pip:

pip install -e .

Development Installation

For development, install with dev dependencies:

uv sync --group dev

Or:

pip install -e ".[dev]"

Verify Installation

Check that the CLI is available:

lcra --help

Or test the Python import:

from scraper import LCRAFloodDataScraper